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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001355/0.001355, allocations: 114.3 kB / 18.94 MB, free: 2.957 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00174/0.00174, allocations: 216 kB / 22.26 MB, free: 5.117 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.452/1.452, allocations: 207.6 MB / 233 MB, free: 10.02 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.0114/0.0114, allocations: 1.968 MB / 287.2 MB, free: 3.879 MB / 222.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002124/0.002124, allocations: 72.2 kB / 401.8 MB, free: 50.91 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08082/0.08295, allocations: 49.71 MB / 451.5 MB, free: 6.273 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestCylinderUnitOnOff): time 0.0034/0.08635, allocations: 3.431 MB / 454.9 MB, free: 2.82 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001272/0.08762, allocations: 0.8888 MB / 455.8 MB, free: 1.926 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001616/0.08778, allocations: 7.938 kB / 455.8 MB, free: 1.918 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001606/0.08794, allocations: 55.42 kB / 455.9 MB, free: 1.863 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002203/0.08816, allocations: 158.7 kB / 456 MB, free: 1.707 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003025/0.08846, allocations: 119.8 kB / 456.1 MB, free: 1.59 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003805/0.08884, allocations: 0.5172 MB / 456.7 MB, free: 1.07 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000186/0.08903, allocations: 113.3 kB / 456.8 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001757/0.0892, allocations: 207.2 kB / 457 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001962/0.0894, allocations: 195.2 kB / 457.2 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.597e-05/0.08945, allocations: 40 kB / 457.2 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.656e-05/0.08953, allocations: 48 kB / 457.2 MB, free: 480 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.379e-05/0.08959, allocations: 91.62 kB / 457.3 MB, free: 388 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001352/0.08972, allocations: 234.9 kB / 457.6 MB, free: 152 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005255/0.09025, allocations: 470.2 kB / 458 MB, free: 15.68 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.173e-06/0.09025, allocations: 4 kB / 458 MB, free: 15.68 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.09026, allocations: 0 / 458 MB, free: 15.68 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.414e-06/0.09026, allocations: 0 / 458 MB, free: 15.68 MB / 334.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.001359/0.09162, allocations: 0.6722 MB / 458.7 MB, free: 14.96 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.09166, allocations: 12.03 kB / 458.7 MB, free: 14.95 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.589e-05/0.09174, allocations: 66.72 kB / 458.8 MB, free: 14.88 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.015e-05/0.09183, allocations: 48.66 kB / 458.8 MB, free: 14.83 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004516/0.09228, allocations: 257.2 kB / 459.1 MB, free: 14.55 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.997e-05/0.09231, allocations: 28.78 kB / 459.1 MB, free: 14.53 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.561e-05/0.09238, allocations: 43.89 kB / 459.1 MB, free: 14.48 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005768/0.09295, allocations: 294 kB / 459.4 MB, free: 14.19 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.606e-05/0.09297, allocations: 0 / 459.4 MB, free: 14.19 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.6e-05/0.09301, allocations: 15.98 kB / 459.4 MB, free: 14.18 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.041e-05/0.09302, allocations: 8 kB / 459.5 MB, free: 14.17 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005328/0.09355, allocations: 238.5 kB / 459.7 MB, free: 13.93 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001534/0.09508, allocations: 0.8825 MB / 460.6 MB, free: 13.01 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005718/0.09565, allocations: 247.2 kB / 460.8 MB, free: 12.76 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002426/0.0959, allocations: 110.9 kB / 460.9 MB, free: 12.65 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.492e-05/0.09593, allocations: 8.234 kB / 460.9 MB, free: 12.64 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003822/0.09631, allocations: 179.5 kB / 461.1 MB, free: 12.45 MB / 334.1 MB Notification: Performance of pre-optimization done (n=31): time 1.593e-06/0.09632, allocations: 0 / 461.1 MB, free: 12.45 MB / 334.1 MB Notification: Performance of matching and sorting (n=36): time 0.002471/0.09879, allocations: 1.093 MB / 462.2 MB, free: 11.31 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.849e-05/0.09883, allocations: 55.41 kB / 462.2 MB, free: 11.24 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003478/0.09918, allocations: 316.4 kB / 462.6 MB, free: 10.93 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.766e-05/0.09922, allocations: 37.7 kB / 462.6 MB, free: 10.88 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001616/0.09938, allocations: 188.9 kB / 462.8 MB, free: 10.7 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000109/0.09949, allocations: 126.9 kB / 462.9 MB, free: 10.57 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001204/0.09961, allocations: 78.02 kB / 463 MB, free: 10.49 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001813/0.09979, allocations: 334.8 kB / 463.3 MB, free: 10.15 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002652/0.1001, allocations: 114.4 kB / 463.4 MB, free: 10.04 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002969/0.1004, allocations: 157.8 kB / 463.6 MB, free: 9.875 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005248/0.1009, allocations: 277.8 kB / 463.8 MB, free: 9.586 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.1009, allocations: 0 / 463.8 MB, free: 9.586 MB / 334.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006961/0.1016, allocations: 390.1 kB / 464.2 MB, free: 9.195 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.001e-05/0.1016, allocations: 33.7 kB / 464.3 MB, free: 9.156 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.949e-06/0.1016, allocations: 7.984 kB / 464.3 MB, free: 9.148 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.1016, allocations: 0 / 464.3 MB, free: 9.148 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003332/0.102, allocations: 67.91 kB / 464.3 MB, free: 9.082 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/0.102, allocations: 3.984 kB / 464.3 MB, free: 9.078 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002306/0.1022, allocations: 27.97 kB / 464.4 MB, free: 9.051 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.017e-05/0.1022, allocations: 16 kB / 464.4 MB, free: 9.035 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003703/0.1026, allocations: 224.6 kB / 464.6 MB, free: 8.812 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000269/0.1029, allocations: 144.9 kB / 464.7 MB, free: 8.664 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004962/0.1034, allocations: 272.1 kB / 465 MB, free: 8.383 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.659e-06/0.1034, allocations: 7.984 kB / 465 MB, free: 8.375 MB / 334.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0006872/0.1041, allocations: 382.4 kB / 465.4 MB, free: 7.988 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.271e-05/0.1041, allocations: 33.69 kB / 465.4 MB, free: 7.949 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.255e-06/0.1041, allocations: 0 / 465.4 MB, free: 7.949 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.611e-06/0.1041, allocations: 4 kB / 465.4 MB, free: 7.945 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002969/0.1044, allocations: 71.91 kB / 465.5 MB, free: 7.875 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.296e-06/0.1044, allocations: 0 / 465.5 MB, free: 7.875 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002141/0.1046, allocations: 28.03 kB / 465.5 MB, free: 7.848 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.347e-05/0.1047, allocations: 12 kB / 465.5 MB, free: 7.836 MB / 334.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.0001849/0.1048, allocations: 200.2 kB / 465.7 MB, free: 7.633 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.923e-05/0.1049, allocations: 43.64 kB / 465.8 MB, free: 7.59 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007123/0.1056, allocations: 340.6 kB / 466.1 MB, free: 7.246 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.1056, allocations: 4 kB / 466.1 MB, free: 7.242 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.1056, allocations: 4 kB / 466.1 MB, free: 7.238 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.024e-06/0.1056, allocations: 3.984 kB / 466.1 MB, free: 7.234 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001346/0.107, allocations: 0.8386 MB / 467 MB, free: 6.332 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-06/0.107, allocations: 8.156 kB / 467 MB, free: 6.324 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003651/0.1073, allocations: 75.89 kB / 467 MB, free: 6.25 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.252e-06/0.1073, allocations: 4 kB / 467 MB, free: 6.246 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.616e-05/0.1074, allocations: 15.92 kB / 467.1 MB, free: 6.23 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.062e-06/0.1074, allocations: 4 kB / 467.1 MB, free: 6.227 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.1074, allocations: 3.938 kB / 467.1 MB, free: 6.223 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009753/0.1084, allocations: 0.5791 MB / 467.6 MB, free: 5.609 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001371/0.1085, allocations: 59.81 kB / 467.7 MB, free: 5.551 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.754e-05/0.1086, allocations: 8 kB / 467.7 MB, free: 5.543 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002664/0.1088, allocations: 27.97 kB / 467.7 MB, free: 5.516 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001213/0.1089, allocations: 39.88 kB / 467.8 MB, free: 5.477 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.932e-05/0.109, allocations: 16 kB / 467.8 MB, free: 5.461 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002735/0.1092, allocations: 219.1 kB / 468 MB, free: 5.246 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1092, allocations: 0 / 468 MB, free: 5.246 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005278/0.1098, allocations: 144 kB / 468.1 MB, free: 5.105 MB / 334.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.001402/0.1112, allocations: 1.146 MB / 469.3 MB, free: 3.918 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001016/0.1122, allocations: 0.5099 MB / 469.8 MB, free: 3.383 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.1122, allocations: 0 / 469.8 MB, free: 3.383 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003265/0.1125, allocations: 156.3 kB / 470 MB, free: 3.23 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004774/0.113, allocations: 61.06 kB / 470 MB, free: 3.172 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005287/0.1183, allocations: 3.592 MB / 473.6 MB, free: 15.45 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004276/0.1187, allocations: 0.7962 MB / 474.4 MB, free: 14.63 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001963/0.1189, allocations: 50.92 kB / 474.4 MB, free: 14.58 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001859/0.1191, allocations: 115.4 kB / 474.6 MB, free: 14.47 MB / 350.1 MB Notification: Performance of SimCode: time 8.12e-07/0.1191, allocations: 0 / 474.6 MB, free: 14.47 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04581/0.1649, allocations: 8.065 MB / 482.6 MB, free: 6.34 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.49/11.65, allocations: 11.94 kB / 482.6 MB, free: 6.328 MB / 350.1 MB " [Timeout remaining time 648] (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 --stepSize=0.2 --timeout=50 --tolerance=1e-06 MEV_MEV_Test_TestCylinderUnitOnOff.fmu > MEV_MEV.Test.TestCylinderUnitOnOff.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.31733275600709] Failed to read output from testmodel.py, exit status != 0: 11.758086260873824 11.775520231 11.682084829 Calling exit ...