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-master/package.mo", uses=false) Using package MEV with version 1.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1-master/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.001426/0.001426, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.002103/0.002103, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.761/1.761, allocations: 205.4 MB / 222.1 MB, free: 5.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1-master/package.mo): time 0.01519/0.01519, allocations: 1.92 MB / 272.3 MB, free: 3.281 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.0005718/0.0005719, allocations: 16.2 kB / 331 MB, free: 33.24 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1068, allocations: 48.09 MB / 379.1 MB, free: 1.098 MB / 270.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestCylinderUnitOnOff): time 0.003921/0.1107, allocations: 3.173 MB / 382.2 MB, free: 13.9 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001675/0.1124, allocations: 0.9601 MB / 383.2 MB, free: 12.94 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000212/0.1127, allocations: 8 kB / 383.2 MB, free: 12.93 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001186/0.1128, allocations: 55.52 kB / 383.3 MB, free: 12.88 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004253/0.1132, allocations: 215.3 kB / 383.5 MB, free: 12.66 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000315/0.1136, allocations: 83.78 kB / 383.5 MB, free: 12.58 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004161/0.114, allocations: 347.3 kB / 383.9 MB, free: 12.24 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002278/0.1142, allocations: 118.9 kB / 384 MB, free: 12.12 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001757/0.1144, allocations: 159.4 kB / 384.2 MB, free: 11.97 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000205/0.1146, allocations: 171.2 kB / 384.3 MB, free: 11.8 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.991e-05/0.1147, allocations: 20 kB / 384.3 MB, free: 11.78 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.065e-05/0.1148, allocations: 20 kB / 384.4 MB, free: 11.76 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.942e-05/0.1149, allocations: 67.73 kB / 384.4 MB, free: 11.7 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 9.243e-05/0.115, allocations: 101.5 kB / 384.5 MB, free: 11.59 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003499/0.1153, allocations: 331.1 kB / 384.8 MB, free: 11.27 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.1153, allocations: 0 / 384.8 MB, free: 11.27 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1153, allocations: 3.938 kB / 384.9 MB, free: 11.26 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.331e-06/0.1153, allocations: 0 / 384.9 MB, free: 11.26 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.001315/0.1167, allocations: 0.6893 MB / 385.5 MB, free: 10.52 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.132e-05/0.1167, allocations: 12.03 kB / 385.6 MB, free: 10.5 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.324e-05/0.1168, allocations: 66.53 kB / 385.6 MB, free: 10.43 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.301e-05/0.1169, allocations: 43.53 kB / 385.7 MB, free: 10.39 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00044/0.1174, allocations: 306.2 kB / 386 MB, free: 10.04 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.521e-05/0.1174, allocations: 28.64 kB / 386 MB, free: 10.02 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.25e-05/0.1175, allocations: 32 kB / 386 MB, free: 9.984 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006593/0.1182, allocations: 294 kB / 386.3 MB, free: 9.688 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.651e-05/0.1182, allocations: 0 / 386.3 MB, free: 9.688 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.774e-05/0.1182, allocations: 15.94 kB / 386.3 MB, free: 9.672 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.07e-05/0.1183, allocations: 8 kB / 386.3 MB, free: 9.664 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006303/0.1189, allocations: 254.4 kB / 386.6 MB, free: 9.418 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001596/0.1205, allocations: 0.9324 MB / 387.5 MB, free: 8.434 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005655/0.1211, allocations: 275.2 kB / 387.8 MB, free: 8.156 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.005e-05/0.1211, allocations: 8.219 kB / 387.8 MB, free: 8.148 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004298/0.1216, allocations: 195.4 kB / 388 MB, free: 7.945 MB / 286.1 MB Notification: Performance of pre-optimization done (n=31): time 1.874e-06/0.1216, allocations: 0 / 388 MB, free: 7.945 MB / 286.1 MB Notification: Performance of matching and sorting (n=36): time 0.002527/0.1241, allocations: 1.263 MB / 389.2 MB, free: 6.594 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.31e-05/0.1242, allocations: 55.41 kB / 389.3 MB, free: 6.527 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000324/0.1245, allocations: 304.5 kB / 389.6 MB, free: 6.227 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.295e-05/0.1245, allocations: 33.7 kB / 389.6 MB, free: 6.188 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001504/0.1247, allocations: 184.7 kB / 389.8 MB, free: 6.004 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.875e-05/0.1248, allocations: 122.3 kB / 389.9 MB, free: 5.883 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.916e-05/0.1248, allocations: 8 kB / 389.9 MB, free: 5.875 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001297/0.125, allocations: 342.8 kB / 390.3 MB, free: 5.531 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002689/0.1252, allocations: 112.8 kB / 390.4 MB, free: 5.418 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002766/0.1255, allocations: 149.9 kB / 390.5 MB, free: 5.262 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002713/0.1258, allocations: 151.2 kB / 390.7 MB, free: 5.109 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.1258, allocations: 0 / 390.7 MB, free: 5.109 MB / 286.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000689/0.1265, allocations: 387.9 kB / 391.1 MB, free: 4.719 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000134/0.1267, allocations: 303.4 kB / 391.3 MB, free: 4.398 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.669e-06/0.1267, allocations: 4 kB / 391.4 MB, free: 4.395 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.1267, allocations: 4 kB / 391.4 MB, free: 4.391 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003543/0.1271, allocations: 79.89 kB / 391.4 MB, free: 4.312 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.078e-05/0.1271, allocations: 0 / 391.4 MB, free: 4.312 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002634/0.1274, allocations: 27.98 kB / 391.5 MB, free: 4.285 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.927e-05/0.1274, allocations: 15.98 kB / 391.5 MB, free: 4.27 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.125e-06/0.1274, allocations: 4 kB / 391.5 MB, free: 4.266 MB / 286.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006573/0.1281, allocations: 344.7 kB / 391.8 MB, free: 3.922 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.1281, allocations: 7.953 kB / 391.8 MB, free: 3.914 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.29e-06/0.1281, allocations: 4 kB / 391.8 MB, free: 3.91 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003135/0.1284, allocations: 75.95 kB / 391.9 MB, free: 3.836 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.1285, allocations: 8 kB / 391.9 MB, free: 3.828 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002207/0.1287, allocations: 31.97 kB / 391.9 MB, free: 3.797 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.969e-05/0.1287, allocations: 8 kB / 391.9 MB, free: 3.789 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 ($whenCondition2,$whenCondition3,$whenCondition1,$PRE.opening.T_start,opening.T_start,$PRE.opening.count,opening.count,$PRE.controller.on,controller.on) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002143/0.1289, allocations: 241 kB / 392.2 MB, free: 3.543 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.612e-05/0.129, allocations: 43.47 kB / 392.2 MB, free: 3.5 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006956/0.1297, allocations: 348.9 kB / 392.6 MB, free: 3.152 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.65e-06/0.1297, allocations: 4 kB / 392.6 MB, free: 3.148 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.1297, allocations: 0 / 392.6 MB, free: 3.148 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.1297, allocations: 3.938 kB / 392.6 MB, free: 3.145 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001442/0.1312, allocations: 0.8852 MB / 393.5 MB, free: 2.188 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.1312, allocations: 4 kB / 393.5 MB, free: 2.184 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003878/0.1316, allocations: 83.88 kB / 393.5 MB, free: 2.102 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.656e-06/0.1316, allocations: 0 / 393.5 MB, free: 2.102 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.454e-05/0.1316, allocations: 8 kB / 393.6 MB, free: 2.094 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.28e-06/0.1316, allocations: 4 kB / 393.6 MB, free: 2.09 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.1316, allocations: 0 / 393.6 MB, free: 2.09 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001065/0.1327, allocations: 0.6561 MB / 394.2 MB, free: 1.367 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001549/0.1329, allocations: 144.6 kB / 394.4 MB, free: 1.207 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.599e-05/0.133, allocations: 8 kB / 394.4 MB, free: 1.199 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002904/0.1332, allocations: 35.97 kB / 394.4 MB, free: 1.164 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.241e-05/0.1333, allocations: 31.95 kB / 394.4 MB, free: 1.133 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.389e-05/0.1334, allocations: 12 kB / 394.4 MB, free: 1.121 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002295/0.1336, allocations: 215.1 kB / 394.7 MB, free: 0.9102 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1336, allocations: 0 / 394.7 MB, free: 0.9102 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005079/0.1341, allocations: 152 kB / 394.8 MB, free: 0.7617 MB / 286.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 (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.001491/0.1356, allocations: 1.557 MB / 396.4 MB, free: 15.14 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001072/0.1367, allocations: 0.5577 MB / 396.9 MB, free: 14.55 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.1367, allocations: 0 / 396.9 MB, free: 14.55 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003349/0.1371, allocations: 163.8 kB / 397.1 MB, free: 14.39 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004264/0.1375, allocations: 49.64 kB / 397.1 MB, free: 14.35 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003829/0.1414, allocations: 2.61 MB / 399.7 MB, free: 11.67 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003901/0.1418, allocations: 0.8079 MB / 400.5 MB, free: 10.84 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002248/0.142, allocations: 46.88 kB / 400.6 MB, free: 10.8 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001768/0.1422, allocations: 111.4 kB / 400.7 MB, free: 10.69 MB / 302.1 MB Notification: Performance of SimCode: time 3.9e-07/0.1422, allocations: 0 / 400.7 MB, free: 10.69 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0214/0.1636, allocations: 6.846 MB / 407.5 MB, free: 3.84 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002732/0.1639, allocations: 151.5 kB / 407.7 MB, free: 3.594 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.031/2.195, allocations: 3.938 kB / 407.7 MB, free: 3.59 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/linux/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) Environment - environmentSimulation: