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.001018/0.001017, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001011/0.001011, allocations: 194.7 kB / 16.14 MB, free: 6.66 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.296/1.296, allocations: 205.1 MB / 222 MB, free: 4.75 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.009343/0.009344, allocations: 1.939 MB / 271.3 MB, free: 3.527 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.001471/0.001471, allocations: 63.91 kB / 329.3 MB, free: 33.16 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09391/0.09539, allocations: 47.13 MB / 376.4 MB, free: 1.988 MB / 270.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestCylinderUnitOnOff): time 0.006101/0.1015, allocations: 4.015 MB / 380.4 MB, free: 13.94 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002361/0.1039, allocations: 0.9516 MB / 381.4 MB, free: 12.98 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006617/0.1046, allocations: 7.938 kB / 381.4 MB, free: 12.98 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002989/0.1049, allocations: 43.67 kB / 381.4 MB, free: 12.93 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004795/0.1055, allocations: 127 kB / 381.5 MB, free: 12.81 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004656/0.1059, allocations: 99.91 kB / 381.6 MB, free: 12.71 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007307/0.1067, allocations: 493.7 kB / 382.1 MB, free: 12.23 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003006/0.107, allocations: 132.4 kB / 382.2 MB, free: 12.09 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003552/0.1074, allocations: 171.2 kB / 382.4 MB, free: 11.92 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003464/0.1077, allocations: 199 kB / 382.6 MB, free: 11.73 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.989e-05/0.1078, allocations: 20 kB / 382.6 MB, free: 11.71 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001448/0.108, allocations: 36 kB / 382.7 MB, free: 11.67 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.97e-05/0.1081, allocations: 67.75 kB / 382.7 MB, free: 11.61 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000294/0.1084, allocations: 206.9 kB / 382.9 MB, free: 11.4 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004986/0.1089, allocations: 446.5 kB / 383.4 MB, free: 10.96 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.1089, allocations: 0 / 383.4 MB, free: 10.96 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1089, allocations: 4 kB / 383.4 MB, free: 10.96 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.321e-05/0.1089, allocations: 0 / 383.4 MB, free: 10.96 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.001706/0.1106, allocations: 0.74 MB / 384.1 MB, free: 10.16 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.721e-05/0.1107, allocations: 12.03 kB / 384.1 MB, free: 10.15 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001056/0.1108, allocations: 70.66 kB / 384.2 MB, free: 10.07 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001278/0.1109, allocations: 52.38 kB / 384.2 MB, free: 10.02 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004872/0.1114, allocations: 307.5 kB / 384.5 MB, free: 9.684 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.817e-05/0.1115, allocations: 28.78 kB / 384.6 MB, free: 9.656 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.752e-05/0.1116, allocations: 35.91 kB / 384.6 MB, free: 9.621 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006933/0.1123, allocations: 294 kB / 384.9 MB, free: 9.324 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.712e-05/0.1123, allocations: 3.984 kB / 384.9 MB, free: 9.32 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.607e-05/0.1123, allocations: 16 kB / 384.9 MB, free: 9.305 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/0.1123, allocations: 8 kB / 384.9 MB, free: 9.297 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005887/0.1129, allocations: 234.5 kB / 385.1 MB, free: 9.07 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001778/0.1147, allocations: 0.9363 MB / 386.1 MB, free: 8.082 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005936/0.1153, allocations: 263.2 kB / 386.3 MB, free: 7.816 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000261/0.1156, allocations: 113.3 kB / 386.4 MB, free: 7.703 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.333e-05/0.1156, allocations: 4.234 kB / 386.4 MB, free: 7.699 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000505/0.1162, allocations: 183.4 kB / 386.6 MB, free: 7.508 MB / 286.1 MB Notification: Performance of pre-optimization done (n=31): time 2.154e-06/0.1162, allocations: 7.938 kB / 386.6 MB, free: 7.5 MB / 286.1 MB Notification: Performance of matching and sorting (n=36): time 0.002669/0.1188, allocations: 1.227 MB / 387.9 MB, free: 6.184 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.868e-05/0.1189, allocations: 63.33 kB / 387.9 MB, free: 6.109 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003389/0.1193, allocations: 304.6 kB / 388.2 MB, free: 5.805 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.167e-05/0.1193, allocations: 33.7 kB / 388.3 MB, free: 5.766 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000143/0.1194, allocations: 188.6 kB / 388.4 MB, free: 5.578 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.15e-05/0.1195, allocations: 122.3 kB / 388.6 MB, free: 5.457 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00011/0.1197, allocations: 69.98 kB / 388.6 MB, free: 5.383 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.1198, allocations: 350.8 kB / 389 MB, free: 5.031 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000279/0.1201, allocations: 106.4 kB / 389.1 MB, free: 4.926 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003014/0.1204, allocations: 153.6 kB / 389.2 MB, free: 4.766 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005188/0.1209, allocations: 281.9 kB / 389.5 MB, free: 4.473 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.121, allocations: 7.938 kB / 389.5 MB, free: 4.465 MB / 286.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007043/0.1217, allocations: 385.7 kB / 389.9 MB, free: 4.078 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.09e-05/0.1217, allocations: 34.33 kB / 389.9 MB, free: 4.039 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.1217, allocations: 0 / 389.9 MB, free: 4.039 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.1217, allocations: 4 kB / 389.9 MB, free: 4.035 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000357/0.1221, allocations: 75.95 kB / 390 MB, free: 3.961 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/0.1221, allocations: 0 / 390 MB, free: 3.961 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002483/0.1224, allocations: 23.98 kB / 390 MB, free: 3.938 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.087e-05/0.1224, allocations: 16 kB / 390 MB, free: 3.922 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000364/0.1228, allocations: 220.5 kB / 390.2 MB, free: 3.703 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002769/0.1231, allocations: 141.1 kB / 390.4 MB, free: 3.559 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005396/0.1236, allocations: 284 kB / 390.7 MB, free: 3.266 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.323e-06/0.1236, allocations: 0 / 390.7 MB, free: 3.266 MB / 286.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0006917/0.1243, allocations: 374.3 kB / 391 MB, free: 2.887 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.613e-05/0.1244, allocations: 37.77 kB / 391.1 MB, free: 2.844 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.024e-06/0.1244, allocations: 0 / 391.1 MB, free: 2.844 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.088e-06/0.1244, allocations: 4 kB / 391.1 MB, free: 2.84 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003228/0.1247, allocations: 75.89 kB / 391.1 MB, free: 2.766 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.136e-06/0.1247, allocations: 0 / 391.1 MB, free: 2.766 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002357/0.125, allocations: 19.98 kB / 391.2 MB, free: 2.746 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.748e-05/0.125, allocations: 19.98 kB / 391.2 MB, free: 2.727 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.0001409/0.1252, allocations: 205 kB / 391.4 MB, free: 2.52 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.416e-05/0.1252, allocations: 43.47 kB / 391.4 MB, free: 2.477 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007078/0.1259, allocations: 336.7 kB / 391.8 MB, free: 2.141 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.149e-06/0.126, allocations: 4 kB / 391.8 MB, free: 2.137 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/0.126, allocations: 0 / 391.8 MB, free: 2.137 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.126, allocations: 0 / 391.8 MB, free: 2.137 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001361/0.1273, allocations: 0.8819 MB / 392.6 MB, free: 1.184 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.1274, allocations: 3.938 kB / 392.6 MB, free: 1.18 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003913/0.1278, allocations: 75.89 kB / 392.7 MB, free: 1.105 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.1278, allocations: 4 kB / 392.7 MB, free: 1.102 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.682e-05/0.1278, allocations: 16.14 kB / 392.7 MB, free: 1.086 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/0.1278, allocations: 4 kB / 392.7 MB, free: 1.082 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/0.1278, allocations: 3.938 kB / 392.7 MB, free: 1.078 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00101/0.1288, allocations: 0.5774 MB / 393.3 MB, free: 480 kB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001456/0.129, allocations: 144.7 kB / 393.5 MB, free: 316 kB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.401e-05/0.1291, allocations: 11.94 kB / 393.5 MB, free: 304 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002858/0.1293, allocations: 23.97 kB / 393.5 MB, free: 280 kB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.95e-05/0.1295, allocations: 35.91 kB / 393.5 MB, free: 244 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.264e-05/0.1295, allocations: 15.98 kB / 393.6 MB, free: 228 kB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002224/0.1297, allocations: 219.1 kB / 393.8 MB, free: 8 kB / 286.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1297, allocations: 0 / 393.8 MB, free: 8 kB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005067/0.1302, allocations: 148 kB / 393.9 MB, free: 15.86 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.001322/0.1316, allocations: 1.134 MB / 395 MB, free: 14.68 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001022/0.1326, allocations: 0.546 MB / 395.6 MB, free: 14.11 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.1326, allocations: 0 / 395.6 MB, free: 14.11 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003437/0.133, allocations: 159.8 kB / 395.7 MB, free: 13.96 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005446/0.1335, allocations: 61.7 kB / 395.8 MB, free: 13.89 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005602/0.1391, allocations: 3.752 MB / 399.6 MB, free: 10.02 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005883/0.1397, allocations: 0.8039 MB / 400.4 MB, free: 9.191 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000253/0.14, allocations: 46.88 kB / 400.4 MB, free: 9.148 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002481/0.1403, allocations: 123.3 kB / 400.5 MB, free: 9.027 MB / 302.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1403, allocations: 0 / 400.5 MB, free: 9.027 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3922/0.5325, allocations: 7.138 MB / 407.7 MB, free: 1.852 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002912/0.5328, allocations: 171.9 kB / 407.8 MB, free: 1.586 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.831/2.364, allocations: 0 / 407.8 MB, free: 1.586 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)