Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001175/0.001175, allocations: 171.4 kB / 16.14 MB, free: 5.652 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.492/1.492, allocations: 205.4 MB / 222.3 MB, free: 9.023 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008995/0.0008993, allocations: 99.78 kB / 270.7 MB, free: 8.238 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.0861/0.0861, allocations: 12.59 MB / 331.5 MB, free: 11.25 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004222/0.0004223, allocations: 8 kB / 392.8 MB, free: 65.76 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08927/0.08971, allocations: 50.38 MB / 443.1 MB, free: 15.33 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1): time 0.001311/0.09107, allocations: 1.207 MB / 444.4 MB, free: 14.11 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003077/0.0914, allocations: 131.6 kB / 444.5 MB, free: 13.98 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.666e-05/0.09148, allocations: 3.938 kB / 444.5 MB, free: 13.97 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.063e-05/0.09152, allocations: 3.984 kB / 444.5 MB, free: 13.97 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001112/0.09164, allocations: 7.938 kB / 444.5 MB, free: 13.96 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002243/0.09187, allocations: 31.97 kB / 444.5 MB, free: 13.93 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.18e-05/0.09195, allocations: 31.92 kB / 444.6 MB, free: 13.9 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.128e-05/0.09205, allocations: 16.22 kB / 444.6 MB, free: 13.88 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.629e-05/0.09208, allocations: 11.98 kB / 444.6 MB, free: 13.87 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.776e-05/0.09211, allocations: 15.86 kB / 444.6 MB, free: 13.86 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.013e-05/0.09214, allocations: 0 / 444.6 MB, free: 13.86 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.058e-05/0.09216, allocations: 0 / 444.6 MB, free: 13.86 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.522e-05/0.09224, allocations: 15.92 kB / 444.6 MB, free: 13.84 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.053e-05/0.09229, allocations: 37.58 kB / 444.7 MB, free: 13.8 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 7.734e-05/0.09237, allocations: 51.69 kB / 444.7 MB, free: 13.75 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.09238, allocations: 4 kB / 444.7 MB, free: 13.74 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.09239, allocations: 3.938 kB / 444.7 MB, free: 13.74 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.096e-06/0.0924, allocations: 0 / 444.7 MB, free: 13.74 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003187/0.09272, allocations: 359.2 kB / 445.1 MB, free: 13.34 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/0.09277, allocations: 8.031 kB / 445.1 MB, free: 13.33 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.787e-05/0.09281, allocations: 30.75 kB / 445.1 MB, free: 13.29 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.6e-05/0.09284, allocations: 8.844 kB / 445.1 MB, free: 13.28 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001462/0.09299, allocations: 193.6 kB / 445.3 MB, free: 13.05 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.386e-05/0.09301, allocations: 4.375 kB / 445.3 MB, free: 13.05 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.313e-05/0.09303, allocations: 8.375 kB / 445.3 MB, free: 13.04 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002142/0.09325, allocations: 121.5 kB / 445.4 MB, free: 12.91 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.09327, allocations: 3.938 kB / 445.4 MB, free: 12.9 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.704e-06/0.09328, allocations: 0 / 445.4 MB, free: 12.9 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.09329, allocations: 0 / 445.4 MB, free: 12.9 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.341e-05/0.09335, allocations: 12 kB / 445.4 MB, free: 12.89 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002198/0.09358, allocations: 269.7 kB / 445.7 MB, free: 12.57 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001165/0.0937, allocations: 134.2 kB / 445.8 MB, free: 12.41 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.598e-05/0.09376, allocations: 33.77 kB / 445.9 MB, free: 12.37 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.995e-05/0.09379, allocations: 0 / 445.9 MB, free: 12.37 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.494e-05/0.09381, allocations: 38.5 kB / 445.9 MB, free: 12.32 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.09382, allocations: 0 / 445.9 MB, free: 12.32 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001833/0.094, allocations: 73.52 kB / 446 MB, free: 12.24 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.004e-05/0.09405, allocations: 85.23 kB / 446.1 MB, free: 12.14 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.613e-05/0.09414, allocations: 133.8 kB / 446.2 MB, free: 12 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.565e-06/0.09415, allocations: 25.7 kB / 446.2 MB, free: 11.97 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.423e-05/0.09419, allocations: 84.14 kB / 446.3 MB, free: 11.88 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.009e-05/0.09421, allocations: 3.906 kB / 446.3 MB, free: 11.88 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.635e-06/0.09422, allocations: 4 kB / 446.3 MB, free: 11.88 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.71e-05/0.09427, allocations: 318.8 kB / 446.6 MB, free: 11.55 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.773e-05/0.0943, allocations: 4 kB / 446.6 MB, free: 11.55 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.005e-05/0.09434, allocations: 39.42 kB / 446.7 MB, free: 11.5 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.372e-05/0.0944, allocations: 39.38 kB / 446.7 MB, free: 11.45 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.09441, allocations: 7.938 kB / 446.7 MB, free: 11.44 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.359e-05/0.09451, allocations: 61.56 kB / 446.8 MB, free: 11.38 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.09453, allocations: 8 kB / 446.8 MB, free: 11.37 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.09455, allocations: 0 / 446.8 MB, free: 11.37 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.09456, allocations: 0 / 446.8 MB, free: 11.37 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.35e-05/0.09458, allocations: 11.92 kB / 446.8 MB, free: 11.36 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.09459, allocations: 0 / 446.8 MB, free: 11.36 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.1e-05/0.09463, allocations: 7.938 kB / 446.8 MB, free: 11.35 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/0.09464, allocations: 4.125 kB / 446.8 MB, free: 11.34 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (step.y,sample.y,assignClock.y,assignClock.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.098e-05/0.09471, allocations: 122.7 kB / 446.9 MB, free: 11.21 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.723e-05/0.09477, allocations: 53.53 kB / 447 MB, free: 11.16 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.392e-05/0.0948, allocations: 7.906 kB / 447 MB, free: 11.14 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.09481, allocations: 0 / 447 MB, free: 11.14 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.09482, allocations: 336 / 447 MB, free: 11.14 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.09483, allocations: 7.984 kB / 447 MB, free: 11.14 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001105/0.09494, allocations: 165.6 kB / 447.1 MB, free: 10.93 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.09495, allocations: 0 / 447.1 MB, free: 10.93 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.266e-06/0.09496, allocations: 7.984 kB / 447.2 MB, free: 10.92 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.09497, allocations: 7.984 kB / 447.2 MB, free: 10.91 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.761e-06/0.09498, allocations: 0 / 447.2 MB, free: 10.91 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.09499, allocations: 4 kB / 447.2 MB, free: 10.91 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.09499, allocations: 0 / 447.2 MB, free: 10.91 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001095/0.09511, allocations: 168.2 kB / 447.3 MB, free: 10.72 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.572e-05/0.09515, allocations: 97 kB / 447.4 MB, free: 10.61 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.274e-05/0.09517, allocations: 0 / 447.4 MB, free: 10.61 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.897e-05/0.09523, allocations: 0 / 447.4 MB, free: 10.61 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.025e-05/0.09526, allocations: 7.984 kB / 447.4 MB, free: 10.6 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.827e-06/0.09527, allocations: 0 / 447.4 MB, free: 10.6 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.141e-05/0.09532, allocations: 103.3 kB / 447.5 MB, free: 10.5 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.09532, allocations: 0 / 447.5 MB, free: 10.5 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002051/0.09553, allocations: 4 kB / 447.5 MB, free: 10.5 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 (step.y,assignClock.u,assignClock.y,sample.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002981/0.09584, allocations: 0.7053 MB / 448.2 MB, free: 9.762 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001115/0.09596, allocations: 27.92 kB / 448.3 MB, free: 9.734 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.09597, allocations: 256 / 448.3 MB, free: 9.734 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.366e-05/0.096, allocations: 8 kB / 448.3 MB, free: 9.727 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003804/0.09639, allocations: 31.95 kB / 448.3 MB, free: 9.695 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008547/0.09725, allocations: 1.313 MB / 449.6 MB, free: 8.273 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001447/0.09741, allocations: 0.6848 MB / 450.3 MB, free: 7.562 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.298e-05/0.09745, allocations: 4 kB / 450.3 MB, free: 7.559 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.833e-05/0.09749, allocations: 19.42 kB / 450.3 MB, free: 7.539 MB / 298.7 MB Notification: Performance of SimCode: time 1.132e-06/0.0975, allocations: 3.938 kB / 450.3 MB, free: 7.535 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01214/0.1096, allocations: 1.242 MB / 451.6 MB, free: 6.289 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001689/0.1099, allocations: 221.7 kB / 451.8 MB, free: 6.035 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.562/1.672, allocations: 0 / 451.8 MB, free: 6.035 MB / 298.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_Sample1_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_Sample1.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1_res.mat does not exist to compare? outputFormat=mat