Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.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.RealSignals.Sample1,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_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.002477/0.002483, allocations: 181.1 kB / 13.23 MB, free: 2.086 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.154/2.154, allocations: 205.2 MB / 219 MB, free: 9.195 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.001152/0.001152, allocations: 89.02 kB / 267.1 MB, free: 9.273 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.1091/0.1091, allocations: 12.59 MB / 327.7 MB, free: 12.49 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.64e-05/3.656e-05, allocations: 4 kB / 386.1 MB, free: 69.5 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09692/0.09701, allocations: 50.37 MB / 436.5 MB, free: 19.11 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4788/0.5759, allocations: 78.4 MB / 0.5028 GB, free: 11.82 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000289/0.5763, allocations: 76.3 kB / 0.5029 GB, free: 11.82 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005517/0.5818, allocations: 1.417 MB / 0.5043 GB, free: 11.43 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.5818, allocations: 3.938 kB / 0.5043 GB, free: 11.43 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.214e-05/0.5819, allocations: 3.875 kB / 0.5043 GB, free: 11.43 MB / 330.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.0003815/0.5823, allocations: 349.9 kB / 0.5046 GB, free: 11.07 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/0.5823, allocations: 7.75 kB / 0.5046 GB, free: 11.07 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.198e-05/0.5824, allocations: 36.12 kB / 0.5046 GB, free: 11.03 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.694e-05/0.5824, allocations: 11.69 kB / 0.5047 GB, free: 11.02 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001879/0.5826, allocations: 195 kB / 0.5048 GB, free: 10.82 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.284e-05/0.5827, allocations: 3.953 kB / 0.5048 GB, free: 10.81 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.34e-05/0.5827, allocations: 3.844 kB / 0.5049 GB, free: 10.81 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002837/0.583, allocations: 114.6 kB / 0.505 GB, free: 10.74 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.583, allocations: 4 kB / 0.505 GB, free: 10.74 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.583, allocations: 0 / 0.505 GB, free: 10.74 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.583, allocations: 0 / 0.505 GB, free: 10.74 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.447e-05/0.5831, allocations: 14.59 kB / 0.505 GB, free: 10.73 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004239/0.5835, allocations: 265.5 kB / 0.5052 GB, free: 10.46 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001978/0.5838, allocations: 140.3 kB / 0.5054 GB, free: 10.31 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.958e-05/0.5838, allocations: 32.36 kB / 0.5054 GB, free: 10.3 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.755e-05/0.5839, allocations: 0 / 0.5054 GB, free: 10.3 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.738e-05/0.5839, allocations: 34.5 kB / 0.5054 GB, free: 10.25 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.563e-06/0.5839, allocations: 0 / 0.5054 GB, free: 10.25 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002122/0.5841, allocations: 66 kB / 0.5055 GB, free: 10.21 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.165e-05/0.5842, allocations: 77.11 kB / 0.5056 GB, free: 10.12 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001334/0.5843, allocations: 128.9 kB / 0.5057 GB, free: 10.02 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.266e-05/0.5844, allocations: 25.7 kB / 0.5057 GB, free: 9.992 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.268e-05/0.5844, allocations: 83.7 kB / 0.5058 GB, free: 9.91 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.716e-05/0.5844, allocations: 3.844 kB / 0.5058 GB, free: 9.91 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.002e-06/0.5845, allocations: 3.375 kB / 0.5058 GB, free: 9.91 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.223e-05/0.5845, allocations: 318.2 kB / 0.5061 GB, free: 9.594 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.526e-05/0.5846, allocations: 11.81 kB / 0.5061 GB, free: 9.59 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.664e-05/0.5846, allocations: 27.22 kB / 0.5061 GB, free: 9.555 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.644e-05/0.5847, allocations: 11.31 kB / 0.5062 GB, free: 9.555 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.5847, allocations: 3.234 kB / 0.5062 GB, free: 9.555 MB / 330.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001208/0.5848, allocations: 63.3 kB / 0.5062 GB, free: 9.512 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.5848, allocations: 3.906 kB / 0.5062 GB, free: 9.512 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.5849, allocations: 0 / 0.5062 GB, free: 9.512 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/0.5849, allocations: 3.906 kB / 0.5062 GB, free: 9.512 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001344/0.585, allocations: 8.594 kB / 0.5062 GB, free: 9.512 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.174e-05/0.585, allocations: 8 kB / 0.5062 GB, free: 9.508 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.981e-05/0.5851, allocations: 7.156 kB / 0.5062 GB, free: 9.508 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.104e-05/0.5851, allocations: 7.984 kB / 0.5063 GB, free: 9.504 MB / 330.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: 0 () * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.945e-05/0.5852, allocations: 116.8 kB / 0.5064 GB, free: 9.383 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.18e-05/0.5853, allocations: 51.86 kB / 0.5064 GB, free: 9.344 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.978e-05/0.5854, allocations: 11.16 kB / 0.5064 GB, free: 9.34 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/0.5854, allocations: 0 / 0.5064 GB, free: 9.34 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.5854, allocations: 3.375 kB / 0.5064 GB, free: 9.34 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.5854, allocations: 7.969 kB / 0.5064 GB, free: 9.336 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001732/0.5856, allocations: 166.4 kB / 0.5066 GB, free: 9.145 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.5856, allocations: 0 / 0.5066 GB, free: 9.145 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001042/0.5857, allocations: 18.59 kB / 0.5066 GB, free: 9.141 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.051e-06/0.5858, allocations: 7.875 kB / 0.5066 GB, free: 9.137 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.719e-06/0.5858, allocations: 0 / 0.5066 GB, free: 9.137 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.5858, allocations: 0 / 0.5066 GB, free: 9.137 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.5858, allocations: 0 / 0.5066 GB, free: 9.137 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001574/0.586, allocations: 170.8 kB / 0.5068 GB, free: 8.977 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.403e-05/0.586, allocations: 91.8 kB / 0.5069 GB, free: 8.879 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.048e-05/0.5861, allocations: 7.875 kB / 0.5069 GB, free: 8.875 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.976e-05/0.5862, allocations: 6.719 kB / 0.5069 GB, free: 8.875 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.094e-05/0.5862, allocations: 0 / 0.5069 GB, free: 8.875 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.494e-06/0.5863, allocations: 0 / 0.5069 GB, free: 8.875 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.25e-05/0.5863, allocations: 110 kB / 0.507 GB, free: 8.801 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.5864, allocations: 3.938 kB / 0.507 GB, free: 8.797 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000286/0.5866, allocations: 3.781 kB / 0.507 GB, free: 8.797 MB / 330.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: 0 () * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004072/0.5871, allocations: 0.7773 MB / 0.5078 GB, free: 8.035 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001224/0.5872, allocations: 21.81 kB / 0.5078 GB, free: 8.031 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.5872, allocations: 0 / 0.5078 GB, free: 8.031 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.352e-05/0.5873, allocations: 3.906 kB / 0.5078 GB, free: 8.031 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003374/0.5876, allocations: 25.03 kB / 0.5078 GB, free: 8.027 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005116/0.5881, allocations: 142 kB / 0.5079 GB, free: 7.895 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001731/0.5883, allocations: 0.6935 MB / 0.5086 GB, free: 7.199 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.896e-05/0.5884, allocations: 3.875 kB / 0.5086 GB, free: 7.199 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.567e-05/0.5885, allocations: 16.22 kB / 0.5086 GB, free: 7.191 MB / 330.7 MB Notification: Performance of SimCode: time 1.262e-06/0.5885, allocations: 0 / 0.5086 GB, free: 7.191 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02311/0.6116, allocations: 1.318 MB / 0.5099 GB, free: 6.863 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001904/0.6119, allocations: 168.9 kB / 0.5101 GB, free: 6.641 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.323/2.935, allocations: 0 / 0.5101 GB, free: 6.641 MB / 330.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_Sample1_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_Sample1.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1_res.mat does not exist to compare? outputFormat=mat