Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr MEV_MEV.Test.TestCylinderUnitOnOff.conf.json 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/Complex 4.0.0+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/MEV 1.1.1/package.mo", uses=false) Using package MEV with version 1.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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) Running command: "" <> buildModelFMU(MEV.Test.TestCylinderUnitOnOff,fileNamePrefix="MEV_MEV_Test_TestCylinderUnitOnOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(MEV.Test.TestCylinderUnitOnOff,fileNamePrefix="MEV_MEV_Test_TestCylinderUnitOnOff",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004522/0.004522, allocations: 99.27 kB / 15.73 MB, free: 6.043 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001319/0.001319, allocations: 193.8 kB / 16.67 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.439/1.439, allocations: 205.1 MB / 222.6 MB, free: 4.504 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.008879/0.008879, allocations: 1.935 MB / 271.8 MB, free: 3.238 MB / 222.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002004/0.002004, allocations: 79.88 kB / 377.8 MB, free: 0.9297 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08498/0.08699, allocations: 47.12 MB / 424.9 MB, free: 1.711 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestCylinderUnitOnOff): time 0.1599/0.2469, allocations: 3.386 MB / 428.3 MB, free: 9.945 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001289/0.2483, allocations: 0.8774 MB / 429.1 MB, free: 9.559 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001503/0.2484, allocations: 9.781 kB / 429.2 MB, free: 9.555 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000154/0.2486, allocations: 63.16 kB / 429.2 MB, free: 9.52 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002284/0.2488, allocations: 135.9 kB / 429.3 MB, free: 9.43 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003025/0.2492, allocations: 122.3 kB / 429.5 MB, free: 9.418 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004417/0.2496, allocations: 0.5159 MB / 430 MB, free: 9.285 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002246/0.2498, allocations: 161.6 kB / 430.1 MB, free: 9.25 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001928/0.25, allocations: 183.3 kB / 430.3 MB, free: 9.211 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002361/0.2503, allocations: 205.6 kB / 430.5 MB, free: 9.16 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.164e-05/0.2504, allocations: 41.34 kB / 430.6 MB, free: 9.16 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001113/0.2505, allocations: 54.41 kB / 430.6 MB, free: 9.152 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.168e-05/0.2506, allocations: 90.88 kB / 430.7 MB, free: 9.09 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001859/0.2508, allocations: 220.3 kB / 430.9 MB, free: 8.957 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005407/0.2513, allocations: 474.8 kB / 431.4 MB, free: 8.754 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.2513, allocations: 1.219 kB / 431.4 MB, free: 8.754 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.2513, allocations: 0 / 431.4 MB, free: 8.754 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.209e-05/0.2513, allocations: 0 / 431.4 MB, free: 8.754 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001189/0.2525, allocations: 0.7518 MB / 432.1 MB, free: 8.148 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.2526, allocations: 12.86 kB / 432.1 MB, free: 8.145 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.235e-05/0.2526, allocations: 69.34 kB / 432.2 MB, free: 8.086 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.405e-05/0.2527, allocations: 48.17 kB / 432.3 MB, free: 8.062 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004023/0.2531, allocations: 312.9 kB / 432.6 MB, free: 7.781 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.884e-05/0.2532, allocations: 31.41 kB / 432.6 MB, free: 7.766 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.763e-05/0.2532, allocations: 42.98 kB / 432.6 MB, free: 7.746 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005811/0.2538, allocations: 292.2 kB / 432.9 MB, free: 7.621 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.679e-05/0.2539, allocations: 0 / 432.9 MB, free: 7.621 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.012e-05/0.2539, allocations: 16.23 kB / 432.9 MB, free: 7.609 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.468e-05/0.2539, allocations: 7.25 kB / 432.9 MB, free: 7.609 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005704/0.2545, allocations: 236.9 kB / 433.2 MB, free: 7.535 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00135/0.2558, allocations: 0.9271 MB / 434.1 MB, free: 6.969 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005383/0.2564, allocations: 272.4 kB / 434.4 MB, free: 6.852 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002387/0.2566, allocations: 117.6 kB / 434.5 MB, free: 6.805 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.928e-05/0.2567, allocations: 3.203 kB / 434.5 MB, free: 6.805 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004085/0.2571, allocations: 187.1 kB / 434.7 MB, free: 6.711 MB / 318.1 MB Notification: Performance of pre-optimization done (n=31): time 2.104e-06/0.2571, allocations: 0 / 434.7 MB, free: 6.711 MB / 318.1 MB Notification: Performance of matching and sorting (n=36): time 0.002362/0.2595, allocations: 1.22 MB / 435.9 MB, free: 5.934 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.81e-05/0.2595, allocations: 60.95 kB / 436 MB, free: 5.867 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003148/0.2598, allocations: 307.5 kB / 436.3 MB, free: 5.691 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.581e-05/0.2599, allocations: 40.69 kB / 436.3 MB, free: 5.648 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001066/0.26, allocations: 191.2 kB / 436.5 MB, free: 5.488 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.235e-05/0.2601, allocations: 124.3 kB / 436.6 MB, free: 5.391 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001154/0.2602, allocations: 75.3 kB / 436.7 MB, free: 5.344 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.807e-05/0.2603, allocations: 340.7 kB / 437 MB, free: 5.02 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002765/0.2606, allocations: 118 kB / 437.1 MB, free: 4.973 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002899/0.2609, allocations: 148.6 kB / 437.3 MB, free: 4.898 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005373/0.2614, allocations: 281.1 kB / 437.5 MB, free: 4.742 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.2614, allocations: 4 kB / 437.5 MB, free: 4.738 MB / 318.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006881/0.2621, allocations: 386.5 kB / 437.9 MB, free: 4.555 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.165e-05/0.2622, allocations: 32.52 kB / 438 MB, free: 4.523 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.2622, allocations: 1.188 kB / 438 MB, free: 4.523 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.2622, allocations: 2.875 kB / 438 MB, free: 4.523 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003221/0.2625, allocations: 72.83 kB / 438 MB, free: 4.516 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.2625, allocations: 3.797 kB / 438 MB, free: 4.516 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002363/0.2628, allocations: 28.97 kB / 438.1 MB, free: 4.508 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.656e-05/0.2628, allocations: 12.95 kB / 438.1 MB, free: 4.504 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003255/0.2631, allocations: 221.9 kB / 438.3 MB, free: 4.367 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002535/0.2634, allocations: 142.2 kB / 438.4 MB, free: 4.305 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004469/0.2639, allocations: 286.8 kB / 438.7 MB, free: 4.141 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.613e-06/0.2639, allocations: 0 / 438.7 MB, free: 4.141 MB / 318.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.000616/0.2645, allocations: 388.6 kB / 439.1 MB, free: 3.953 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.2645, allocations: 32.17 kB / 439.1 MB, free: 3.922 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.995e-06/0.2645, allocations: 1.094 kB / 439.1 MB, free: 3.922 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.998e-06/0.2645, allocations: 6.094 kB / 439.1 MB, free: 3.918 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003153/0.2649, allocations: 77.14 kB / 439.2 MB, free: 3.906 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.2649, allocations: 1.781 kB / 439.2 MB, free: 3.906 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002471/0.2651, allocations: 23.84 kB / 439.2 MB, free: 3.902 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.986e-05/0.2652, allocations: 12.19 kB / 439.2 MB, free: 3.898 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (controller.on,$PRE.controller.on,opening.count,$PRE.opening.count,opening.T_start,$PRE.opening.T_start,$whenCondition1,$whenCondition3,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 1 * 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 8.961e-05/0.2653, allocations: 203.3 kB / 439.4 MB, free: 3.699 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.029e-05/0.2653, allocations: 40.7 kB / 439.5 MB, free: 3.676 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007431/0.2661, allocations: 340.2 kB / 439.8 MB, free: 3.523 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.764e-06/0.2661, allocations: 3.781 kB / 439.8 MB, free: 3.523 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.2661, allocations: 1.156 kB / 439.8 MB, free: 3.523 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.2661, allocations: 1.547 kB / 439.8 MB, free: 3.523 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001218/0.2673, allocations: 0.8854 MB / 440.7 MB, free: 2.949 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.2673, allocations: 1.438 kB / 440.7 MB, free: 2.949 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003581/0.2677, allocations: 73.16 kB / 440.8 MB, free: 2.945 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.2677, allocations: 4.703 kB / 440.8 MB, free: 2.945 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.362e-05/0.2678, allocations: 7.922 kB / 440.8 MB, free: 2.941 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.007e-06/0.2678, allocations: 3.219 kB / 440.8 MB, free: 2.941 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.2678, allocations: 7 kB / 440.8 MB, free: 2.938 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000815/0.2686, allocations: 0.5882 MB / 441.4 MB, free: 2.582 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001138/0.2687, allocations: 144.3 kB / 441.5 MB, free: 2.449 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.042e-05/0.2688, allocations: 8.766 kB / 441.5 MB, free: 2.445 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002748/0.2691, allocations: 29 kB / 441.6 MB, free: 2.441 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.39e-05/0.2691, allocations: 32.19 kB / 441.6 MB, free: 2.434 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.217e-05/0.2692, allocations: 13.52 kB / 441.6 MB, free: 2.43 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001801/0.2694, allocations: 216.1 kB / 441.8 MB, free: 2.312 MB / 318.1 MB Notification: Performance of sort global known variables: time 2e-07/0.2694, allocations: 5.312 kB / 441.8 MB, free: 2.309 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004895/0.2699, allocations: 146.5 kB / 442 MB, free: 2.293 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (bellJar.cylinder.M,bellJar.damper.s_rel,bellJar.damper.v_rel) * Number of discrete variables: 6 ($whenCondition2,$whenCondition3,$whenCondition1,opening.T_start,opening.count,controller.on) * Number of discrete states: 1 (opening.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.001037/0.2709, allocations: 1.14 MB / 443.1 MB, free: 1.402 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0009029/0.2718, allocations: 0.5401 MB / 443.6 MB, free: 1.145 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.2718, allocations: 256 / 443.6 MB, free: 1.145 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003068/0.2721, allocations: 162.8 kB / 443.8 MB, free: 1.094 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004598/0.2726, allocations: 58.17 kB / 443.9 MB, free: 1.07 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00483/0.2775, allocations: 3.595 MB / 447.5 MB, free: 14.78 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000468/0.2779, allocations: 0.7994 MB / 448.3 MB, free: 14.08 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002041/0.2781, allocations: 45.22 kB / 448.3 MB, free: 14.07 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001968/0.2784, allocations: 114.9 kB / 448.4 MB, free: 13.99 MB / 334.1 MB Notification: Performance of SimCode: time 2.5e-07/0.2784, allocations: 1.062 kB / 448.4 MB, free: 13.99 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02997/0.3083, allocations: 7.652 MB / 456.1 MB, free: 10.84 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.233/8.541, allocations: 9.938 kB / 456.1 MB, free: 10.84 MB / 334.1 MB (rm -f MEV_MEV.Test.TestCylinderUnitOnOff.pipe ; mkfifo MEV_MEV.Test.TestCylinderUnitOnOff.pipe ; head -c 1048576 < MEV_MEV.Test.TestCylinderUnitOnOff.pipe >> ../files/MEV_MEV.Test.TestCylinderUnitOnOff.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_MEV_MEV_Test_TestCylinderUnitOnOff_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 MEV_MEV_Test_TestCylinderUnitOnOff.fmu > MEV_MEV.Test.TestCylinderUnitOnOff.pipe 2>&1)