Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_SteadyState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.Continuous_SteadyState,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_Continuous_SteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.Continuous_SteadyState,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_Continuous_SteadyState",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009529/0.0009529, allocations: 174 kB / 8.742 MB, free: 344 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.385/1.385, allocations: 221.5 MB / 230.7 MB, free: 7.566 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000898/0.0008979, allocations: 98.05 kB / 281.6 MB, free: 5.32 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1862/0.1862, allocations: 44.15 MB / 376.5 MB, free: 3.031 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.854e-05/1.884e-05, allocations: 4 kB / 444.7 MB, free: 15.13 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1449/0.1449, allocations: 61.92 MB / 0.4948 GB, free: 1.148 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4219/0.5669, allocations: 96.03 MB / 0.5885 GB, free: 308 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002431/0.5672, allocations: 67.97 kB / 0.5886 GB, free: 240 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07973/0.6469, allocations: 20.01 MB / 0.6082 GB, free: 12.17 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.495e-06/0.647, allocations: 3.938 kB / 0.6082 GB, free: 12.16 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.985e-05/0.6471, allocations: 20 kB / 0.6082 GB, free: 12.14 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.002551/0.6496, allocations: 0.9545 MB / 0.6091 GB, free: 11.14 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.921e-05/0.6497, allocations: 11.98 kB / 0.6091 GB, free: 11.13 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002447/0.65, allocations: 86.97 kB / 0.6092 GB, free: 11.05 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001385/0.6514, allocations: 0.5512 MB / 0.6097 GB, free: 10.45 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.802e-05/0.6514, allocations: 16 kB / 0.6098 GB, free: 10.44 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001333/0.6516, allocations: 39.91 kB / 0.6098 GB, free: 10.4 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009771/0.6526, allocations: 338.5 kB / 0.6101 GB, free: 10.07 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001155/0.6537, allocations: 0.4901 MB / 0.6106 GB, free: 9.527 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.78e-05/0.6538, allocations: 3.938 kB / 0.6106 GB, free: 9.523 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.524e-05/0.6539, allocations: 4 kB / 0.6106 GB, free: 9.52 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.004e-05/0.6539, allocations: 12 kB / 0.6106 GB, free: 9.508 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00526/0.6592, allocations: 2.573 MB / 0.6131 GB, free: 6.848 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001113/0.6603, allocations: 448.1 kB / 0.6136 GB, free: 6.383 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004581/0.6608, allocations: 182.6 kB / 0.6137 GB, free: 6.195 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.763e-05/0.6609, allocations: 7.984 kB / 0.6137 GB, free: 6.188 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.3e-05/0.6609, allocations: 39.28 kB / 0.6138 GB, free: 6.141 MB / 426.7 MB Notification: Performance of pre-optimization done (n=43): time 5.31e-06/0.6609, allocations: 0 / 0.6138 GB, free: 6.141 MB / 426.7 MB Notification: Performance of matching and sorting (n=44): time 0.002051/0.663, allocations: 0.7744 MB / 0.6145 GB, free: 5.355 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001019/0.6631, allocations: 136.5 kB / 0.6147 GB, free: 5.191 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008299/0.6639, allocations: 499.8 kB / 0.6151 GB, free: 4.699 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.036e-05/0.664, allocations: 25.7 kB / 0.6152 GB, free: 4.668 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003367/0.6644, allocations: 364.6 kB / 0.6155 GB, free: 4.305 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002079/0.6646, allocations: 165.6 kB / 0.6157 GB, free: 4.141 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.817e-05/0.6646, allocations: 0 / 0.6157 GB, free: 4.141 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002359/0.6649, allocations: 394.8 kB / 0.616 GB, free: 3.746 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004496/0.6653, allocations: 185.5 kB / 0.6162 GB, free: 3.566 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006097/0.666, allocations: 341 kB / 0.6165 GB, free: 3.16 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005587/0.6665, allocations: 225.3 kB / 0.6168 GB, free: 2.941 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.6666, allocations: 0 / 0.6168 GB, free: 2.941 MB / 426.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.00169/0.6683, allocations: 0.64 MB / 0.6174 GB, free: 2.297 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00107/0.6693, allocations: 1.752 MB / 0.6191 GB, free: 420 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.622e-05/0.6694, allocations: 4 kB / 0.6191 GB, free: 416 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003275/0.6697, allocations: 60.81 kB / 0.6192 GB, free: 352 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001458/0.6712, allocations: 203.8 kB / 0.6193 GB, free: 148 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001914/0.6731, allocations: 1.451 MB / 0.6208 GB, free: 14.58 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009805/0.6741, allocations: 79.78 kB / 0.6208 GB, free: 14.5 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.281e-05/0.6742, allocations: 24 kB / 0.6209 GB, free: 14.48 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.6742, allocations: 7.938 kB / 0.6209 GB, free: 14.47 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001787/0.676, allocations: 0.5312 MB / 0.6214 GB, free: 13.93 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.975e-05/0.6761, allocations: 8.562 kB / 0.6214 GB, free: 13.93 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002394/0.6763, allocations: 64.72 kB / 0.6215 GB, free: 13.86 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001331/0.6777, allocations: 199.7 kB / 0.6217 GB, free: 13.66 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001982/0.6797, allocations: 1.439 MB / 0.6231 GB, free: 12.11 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00103/0.6807, allocations: 75.7 kB / 0.6231 GB, free: 12.04 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.026e-05/0.6808, allocations: 28 kB / 0.6232 GB, free: 12.01 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 4 (limPID.I.local_reset,pID.I.local_reset,limIntegrator.local_reset,integrator.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 75 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002853/0.6811, allocations: 120.7 kB / 0.6233 GB, free: 11.88 MB / 442.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001228/0.6824, allocations: 444.6 kB / 0.6237 GB, free: 11.44 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002045/0.6826, allocations: 71.11 kB / 0.6238 GB, free: 11.37 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002977/0.6829, allocations: 85.69 kB / 0.6238 GB, free: 11.28 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.165e-06/0.6829, allocations: 4 kB / 0.6238 GB, free: 11.27 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.6829, allocations: 0 / 0.6238 GB, free: 11.27 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.023e-05/0.683, allocations: 3.984 kB / 0.6239 GB, free: 11.27 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001691/0.6847, allocations: 0.7521 MB / 0.6246 GB, free: 10.47 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.715e-06/0.6847, allocations: 4 kB / 0.6246 GB, free: 10.47 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001071/0.6858, allocations: 123.8 kB / 0.6247 GB, free: 10.35 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.678e-06/0.6858, allocations: 0 / 0.6247 GB, free: 10.35 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.857e-05/0.6859, allocations: 11.98 kB / 0.6247 GB, free: 10.34 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.6859, allocations: 4 kB / 0.6247 GB, free: 10.33 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.6859, allocations: 0 / 0.6247 GB, free: 10.33 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001758/0.6877, allocations: 0.9531 MB / 0.6257 GB, free: 9.344 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000377/0.6881, allocations: 196.1 kB / 0.6258 GB, free: 9.133 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001281/0.6882, allocations: 7.984 kB / 0.6259 GB, free: 9.125 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009006/0.6891, allocations: 59.94 kB / 0.6259 GB, free: 9.066 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001503/0.6893, allocations: 39.89 kB / 0.6259 GB, free: 9.027 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.051e-05/0.6893, allocations: 11.98 kB / 0.626 GB, free: 9.016 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0006709/0.69, allocations: 383.2 kB / 0.6263 GB, free: 8.648 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.69, allocations: 0 / 0.6263 GB, free: 8.648 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001385/0.6914, allocations: 172 kB / 0.6265 GB, free: 8.48 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 18 (limPID.I.y,limPID.D.x,transferFunction.x_scaled[1],stateSpace.x[1],stateSpace.x[2],lowpassButterworth.x1[1],lowpassButterworth.x2[1],criticalDamping.x[1],criticalDamping.x[2],integrator.y,limIntegrator.y,derivative.x,firstOrder.y,secondOrder.y,secondOrder.yd,pI.x,pID.I.y,pID.D.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 44 * 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.002106/0.6935, allocations: 1.644 MB / 0.6281 GB, free: 6.801 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00248/0.696, allocations: 0.9863 MB / 0.6291 GB, free: 5.793 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.6961, allocations: 0 / 0.6291 GB, free: 5.793 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005602/0.6966, allocations: 215.8 kB / 0.6293 GB, free: 5.582 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001454/0.6981, allocations: 167.4 kB / 0.6294 GB, free: 5.418 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004064/0.7022, allocations: 1.344 MB / 0.6307 GB, free: 4.031 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008062/0.7031, allocations: 0.9627 MB / 0.6317 GB, free: 3.039 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001279/0.7043, allocations: 191 kB / 0.6319 GB, free: 2.852 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005882/0.705, allocations: 255.3 kB / 0.6321 GB, free: 2.602 MB / 442.7 MB Notification: Performance of SimCode: time 1.473e-06/0.705, allocations: 0 / 0.6321 GB, free: 2.602 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05427/0.7593, allocations: 14.2 MB / 0.646 GB, free: 4.465 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002495/0.7595, allocations: 140.7 kB / 0.6461 GB, free: 4.266 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.45/3.21, allocations: 0 / 0.6461 GB, free: 4.266 MB / 458.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_SteadyState.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_SteadyState.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_SteadyState.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_SteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_SteadyState_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Blocks_Continuous_SteadyState_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Blocks_Continuous_SteadyState.fmu > ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_SteadyState.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_SteadyState_res.mat does not exist to compare? outputFormat=mat