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.001208/0.001208, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001354/0.001354, allocations: 193.6 kB / 16.25 MB, free: 6.617 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.367/1.367, allocations: 205.1 MB / 222.1 MB, free: 4.711 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.00796/0.00796, allocations: 1.931 MB / 271.4 MB, free: 3.508 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.001308/0.001309, allocations: 75.28 kB / 329.4 MB, free: 33.04 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06791/0.06923, allocations: 47.13 MB / 376.6 MB, free: 1.867 MB / 270.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestCylinderUnitOnOff): time 0.004843/0.07412, allocations: 4.003 MB / 380.6 MB, free: 13.83 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001954/0.07612, allocations: 0.9477 MB / 381.5 MB, free: 12.88 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002009/0.07634, allocations: 4 kB / 381.5 MB, free: 12.88 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001821/0.07653, allocations: 47.61 kB / 381.6 MB, free: 12.83 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000247/0.07682, allocations: 123 kB / 381.7 MB, free: 12.71 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003064/0.07713, allocations: 111.8 kB / 381.8 MB, free: 12.6 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004575/0.0776, allocations: 0.5056 MB / 382.3 MB, free: 12.09 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002388/0.07785, allocations: 144.8 kB / 382.5 MB, free: 11.94 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001936/0.07805, allocations: 203.2 kB / 382.7 MB, free: 11.74 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002031/0.07826, allocations: 203.1 kB / 382.9 MB, free: 11.54 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.364e-05/0.07833, allocations: 40 kB / 382.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.995e-05/0.07844, allocations: 48 kB / 382.9 MB, free: 11.46 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.377e-05/0.07852, allocations: 87.69 kB / 383 MB, free: 11.37 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000184/0.07871, allocations: 226.9 kB / 383.2 MB, free: 11.15 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004214/0.07914, allocations: 466.5 kB / 383.7 MB, free: 10.69 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.07915, allocations: 3.938 kB / 383.7 MB, free: 10.69 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.07915, allocations: 0 / 383.7 MB, free: 10.69 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.502e-06/0.07917, allocations: 0 / 383.7 MB, free: 10.69 MB / 286.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.001233/0.08041, allocations: 0.7401 MB / 384.4 MB, free: 9.891 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.08045, allocations: 15.89 kB / 384.5 MB, free: 9.875 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.319e-05/0.08052, allocations: 62.72 kB / 384.5 MB, free: 9.805 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.812e-05/0.08061, allocations: 56.38 kB / 384.6 MB, free: 9.75 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003227/0.08094, allocations: 303.5 kB / 384.9 MB, free: 9.414 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.751e-05/0.08098, allocations: 28.78 kB / 384.9 MB, free: 9.387 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.645e-05/0.08104, allocations: 39.91 kB / 384.9 MB, free: 9.348 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005404/0.08159, allocations: 298 kB / 385.2 MB, free: 9.051 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.573e-05/0.08161, allocations: 0 / 385.2 MB, free: 9.051 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.009e-05/0.08165, allocations: 12 kB / 385.2 MB, free: 9.039 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.346e-06/0.08166, allocations: 8 kB / 385.3 MB, free: 9.031 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004942/0.08216, allocations: 238.5 kB / 385.5 MB, free: 8.797 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001382/0.08355, allocations: 0.9363 MB / 386.4 MB, free: 7.809 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005165/0.08408, allocations: 263.2 kB / 386.7 MB, free: 7.543 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002285/0.08432, allocations: 121.3 kB / 386.8 MB, free: 7.422 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.886e-05/0.08436, allocations: 4.234 kB / 386.8 MB, free: 7.418 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003984/0.08476, allocations: 175.5 kB / 387 MB, free: 7.234 MB / 286.1 MB Notification: Performance of pre-optimization done (n=31): time 1.753e-06/0.08478, allocations: 3.938 kB / 387 MB, free: 7.23 MB / 286.1 MB Notification: Performance of matching and sorting (n=36): time 0.002264/0.08705, allocations: 1.231 MB / 388.2 MB, free: 5.91 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.482e-05/0.08709, allocations: 59.41 kB / 388.3 MB, free: 5.84 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002814/0.08738, allocations: 304.6 kB / 388.6 MB, free: 5.535 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 5.246e-05/0.08744, allocations: 33.7 kB / 388.6 MB, free: 5.496 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001154/0.08757, allocations: 188.6 kB / 388.8 MB, free: 5.309 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.005e-05/0.08766, allocations: 122.4 kB / 388.9 MB, free: 5.188 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001047/0.08777, allocations: 69.98 kB / 389 MB, free: 5.113 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001207/0.0879, allocations: 350.7 kB / 389.3 MB, free: 4.762 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002523/0.08816, allocations: 122.3 kB / 389.4 MB, free: 4.641 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002669/0.08843, allocations: 149.6 kB / 389.6 MB, free: 4.484 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004869/0.08893, allocations: 281.9 kB / 389.8 MB, free: 4.191 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.08894, allocations: 0 / 389.8 MB, free: 4.191 MB / 286.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006538/0.0896, allocations: 389.7 kB / 390.2 MB, free: 3.801 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.977e-05/0.08964, allocations: 32.36 kB / 390.3 MB, free: 3.766 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.08965, allocations: 0 / 390.3 MB, free: 3.766 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.08967, allocations: 4 kB / 390.3 MB, free: 3.762 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003312/0.09, allocations: 79.83 kB / 390.3 MB, free: 3.684 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.361e-06/0.09002, allocations: 0 / 390.3 MB, free: 3.684 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002346/0.09026, allocations: 24.05 kB / 390.4 MB, free: 3.66 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.824e-05/0.0903, allocations: 15.98 kB / 390.4 MB, free: 3.645 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003207/0.09063, allocations: 220.5 kB / 390.6 MB, free: 3.426 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002411/0.09088, allocations: 141.1 kB / 390.7 MB, free: 3.281 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004611/0.09135, allocations: 284 kB / 391 MB, free: 2.988 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.593e-06/0.09136, allocations: 0 / 391 MB, free: 2.988 MB / 286.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0006395/0.092, allocations: 374.7 kB / 391.4 MB, free: 2.609 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.365e-05/0.09204, allocations: 33.7 kB / 391.4 MB, free: 2.57 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.185e-06/0.09204, allocations: 0 / 391.4 MB, free: 2.57 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.278e-06/0.09205, allocations: 4 kB / 391.4 MB, free: 2.566 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002943/0.09235, allocations: 75.95 kB / 391.5 MB, free: 2.492 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.09237, allocations: 4 kB / 391.5 MB, free: 2.488 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002169/0.09259, allocations: 27.97 kB / 391.5 MB, free: 2.461 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.066e-05/0.09262, allocations: 8 kB / 391.5 MB, free: 2.453 MB / 286.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 0.0001191/0.09274, allocations: 202.8 kB / 391.7 MB, free: 2.25 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.614e-05/0.09279, allocations: 39.47 kB / 391.8 MB, free: 2.211 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000618/0.09342, allocations: 340.6 kB / 392.1 MB, free: 1.871 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.778e-06/0.09343, allocations: 4 kB / 392.1 MB, free: 1.867 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.09344, allocations: 0 / 392.1 MB, free: 1.867 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.09345, allocations: 4 kB / 392.1 MB, free: 1.863 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001161/0.09462, allocations: 0.8819 MB / 393 MB, free: 0.9102 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.09463, allocations: 0 / 393 MB, free: 0.9102 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003549/0.09499, allocations: 75.89 kB / 393.1 MB, free: 0.8359 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.09501, allocations: 7.938 kB / 393.1 MB, free: 0.8281 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.539e-05/0.09504, allocations: 11.98 kB / 393.1 MB, free: 0.8164 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.09505, allocations: 7.938 kB / 393.1 MB, free: 0.8086 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.09505, allocations: 4.094 kB / 393.1 MB, free: 0.8047 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008746/0.09594, allocations: 0.5852 MB / 393.7 MB, free: 192 kB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001232/0.09607, allocations: 144.7 kB / 393.8 MB, free: 28 kB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.185e-05/0.09613, allocations: 8 kB / 393.8 MB, free: 20 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000279/0.09641, allocations: 27.97 kB / 393.9 MB, free: 15.99 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.254e-05/0.09651, allocations: 31.91 kB / 393.9 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.296e-05/0.09653, allocations: 15.98 kB / 393.9 MB, free: 15.95 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001922/0.09673, allocations: 215.1 kB / 394.1 MB, free: 15.73 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.09674, allocations: 4 kB / 394.1 MB, free: 15.73 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004505/0.0972, allocations: 144 kB / 394.3 MB, free: 15.59 MB / 302.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.00112/0.09832, allocations: 1.142 MB / 395.4 MB, free: 14.4 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009482/0.09928, allocations: 0.5536 MB / 396 MB, free: 13.82 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.0993, allocations: 4 kB / 396 MB, free: 13.82 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003233/0.09963, allocations: 159.8 kB / 396.1 MB, free: 13.66 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004567/0.1001, allocations: 57.23 kB / 396.2 MB, free: 13.61 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004563/0.1047, allocations: 3.768 MB / 399.9 MB, free: 9.715 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003184/0.105, allocations: 0.8001 MB / 400.7 MB, free: 8.891 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002001/0.1052, allocations: 38.94 kB / 400.8 MB, free: 8.855 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001699/0.1054, allocations: 123.4 kB / 400.9 MB, free: 8.734 MB / 302.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1054, allocations: 0 / 400.9 MB, free: 8.734 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0422/0.1476, allocations: 7.341 MB / 408.2 MB, free: 1.371 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001819/0.1478, allocations: 168.1 kB / 408.4 MB, free: 1.109 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.828/1.976, allocations: 0 / 408.4 MB, free: 1.109 MB / 302.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)