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.001255/0.001255, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001348/0.001348, allocations: 220 kB / 23.03 MB, free: 4.922 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.365/1.365, allocations: 207.7 MB / 233.9 MB, free: 9.789 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.01564/0.01564, allocations: 1.951 MB / 288.1 MB, free: 3.676 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(MEV.Test.TestCylinderUnitOnOff,fileNamePrefix="MEV_MEV_Test_TestCylinderUnitOnOff",fmuType="cs",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.002177/0.002177, allocations: 83.08 kB / 402.6 MB, free: 50.83 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08561/0.08779, allocations: 49.7 MB / 452.3 MB, free: 6.07 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestCylinderUnitOnOff): time 0.003893/0.09168, allocations: 3.13 MB / 455.4 MB, free: 2.922 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00149/0.09317, allocations: 0.846 MB / 456.2 MB, free: 2.07 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002049/0.09337, allocations: 7.938 kB / 456.2 MB, free: 2.062 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000177/0.09355, allocations: 55.42 kB / 456.3 MB, free: 2.008 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002453/0.0938, allocations: 158.7 kB / 456.4 MB, free: 1.852 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003496/0.09414, allocations: 115.8 kB / 456.6 MB, free: 1.738 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004093/0.09455, allocations: 0.525 MB / 457.1 MB, free: 1.211 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002006/0.09475, allocations: 113.3 kB / 457.2 MB, free: 1.09 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001783/0.09493, allocations: 199.2 kB / 457.4 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000196/0.09513, allocations: 199.1 kB / 457.6 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.858e-05/0.09518, allocations: 44 kB / 457.6 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.856e-05/0.09528, allocations: 55.98 kB / 457.7 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.642e-05/0.09534, allocations: 87.62 kB / 457.8 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001438/0.09549, allocations: 187.1 kB / 458 MB, free: 340 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004993/0.09599, allocations: 482.1 kB / 458.4 MB, free: 15.86 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.09599, allocations: 0 / 458.4 MB, free: 15.86 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.09599, allocations: 0 / 458.4 MB, free: 15.86 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.234e-05/0.09601, allocations: 0 / 458.4 MB, free: 15.86 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.001471/0.09748, allocations: 0.6761 MB / 459.1 MB, free: 15.14 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.632e-05/0.09752, allocations: 12.03 kB / 459.1 MB, free: 15.13 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.259e-05/0.09755, allocations: 8.844 kB / 459.1 MB, free: 15.12 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.271e-05/0.09763, allocations: 66.72 kB / 459.2 MB, free: 15.05 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.388e-05/0.09772, allocations: 48.66 kB / 459.2 MB, free: 15 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005144/0.09824, allocations: 257.3 kB / 459.5 MB, free: 14.72 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.559e-05/0.09827, allocations: 28.59 kB / 459.5 MB, free: 14.69 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.453e-05/0.09835, allocations: 39.94 kB / 459.6 MB, free: 14.65 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006662/0.09901, allocations: 345.4 kB / 459.9 MB, free: 14.3 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.635e-05/0.09903, allocations: 0 / 459.9 MB, free: 14.3 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.267e-05/0.09907, allocations: 12 kB / 459.9 MB, free: 14.29 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.102e-05/0.09908, allocations: 8 kB / 459.9 MB, free: 14.28 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005636/0.09965, allocations: 238.5 kB / 460.1 MB, free: 14.04 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001621/0.1013, allocations: 0.8006 MB / 460.9 MB, free: 13.2 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006015/0.1019, allocations: 255.2 kB / 461.2 MB, free: 12.94 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002673/0.1021, allocations: 106.9 kB / 461.3 MB, free: 12.84 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.506e-05/0.1022, allocations: 4.234 kB / 461.3 MB, free: 12.83 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000461/0.1026, allocations: 230.9 kB / 461.5 MB, free: 12.58 MB / 334.1 MB Notification: Performance of pre-optimization done (n=31): time 2.434e-06/0.1026, allocations: 0 / 461.5 MB, free: 12.58 MB / 334.1 MB Notification: Performance of matching and sorting (n=36): time 0.002655/0.1053, allocations: 1.096 MB / 462.6 MB, free: 11.43 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.082e-05/0.1053, allocations: 59.39 kB / 462.7 MB, free: 11.36 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004182/0.1058, allocations: 304.5 kB / 463 MB, free: 11.06 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.87e-05/0.1058, allocations: 37.69 kB / 463 MB, free: 11.02 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001696/0.106, allocations: 192.9 kB / 463.2 MB, free: 10.82 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001039/0.1061, allocations: 123 kB / 463.3 MB, free: 10.7 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001286/0.1062, allocations: 78.02 kB / 463.4 MB, free: 10.62 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001794/0.1064, allocations: 342.8 kB / 463.7 MB, free: 10.28 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002992/0.1067, allocations: 144.1 kB / 463.9 MB, free: 10.13 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003102/0.107, allocations: 183.5 kB / 464.1 MB, free: 9.934 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005459/0.1075, allocations: 277.8 kB / 464.3 MB, free: 9.645 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.1075, allocations: 3.938 kB / 464.3 MB, free: 9.641 MB / 334.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000762/0.1083, allocations: 411.8 kB / 464.7 MB, free: 9.223 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.993e-05/0.1083, allocations: 33.77 kB / 464.8 MB, free: 9.184 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.1084, allocations: 4 kB / 464.8 MB, free: 9.18 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/0.1084, allocations: 0 / 464.8 MB, free: 9.18 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003558/0.1087, allocations: 75.89 kB / 464.8 MB, free: 9.105 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/0.1087, allocations: 4 kB / 464.8 MB, free: 9.102 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002777/0.109, allocations: 27.97 kB / 464.9 MB, free: 9.074 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.927e-05/0.109, allocations: 8 kB / 464.9 MB, free: 9.066 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004149/0.1095, allocations: 250.2 kB / 465.1 MB, free: 8.812 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000302/0.1098, allocations: 178.6 kB / 465.3 MB, free: 8.625 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005127/0.1103, allocations: 276.1 kB / 465.6 MB, free: 8.34 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.753e-06/0.1103, allocations: 0 / 465.6 MB, free: 8.34 MB / 334.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0007485/0.111, allocations: 416.1 kB / 466 MB, free: 7.914 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.231e-05/0.1111, allocations: 33.77 kB / 466 MB, free: 7.875 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.555e-06/0.1111, allocations: 4 kB / 466 MB, free: 7.871 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.847e-06/0.1111, allocations: 0 / 466 MB, free: 7.871 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003103/0.1114, allocations: 71.91 kB / 466.1 MB, free: 7.801 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.063e-05/0.1114, allocations: 11.97 kB / 466.1 MB, free: 7.789 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002399/0.1116, allocations: 19.98 kB / 466.1 MB, free: 7.77 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.423e-05/0.1116, allocations: 12 kB / 466.1 MB, free: 7.758 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.0001765/0.1118, allocations: 200.1 kB / 466.3 MB, free: 7.555 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.119e-05/0.1119, allocations: 43.75 kB / 466.4 MB, free: 7.512 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007277/0.1126, allocations: 336.6 kB / 466.7 MB, free: 7.172 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/0.1126, allocations: 4 kB / 466.7 MB, free: 7.168 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.1126, allocations: 3.938 kB / 466.7 MB, free: 7.164 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.597e-06/0.1126, allocations: 3.984 kB / 466.7 MB, free: 7.16 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001392/0.114, allocations: 0.7959 MB / 467.5 MB, free: 6.301 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.528e-06/0.114, allocations: 12.03 kB / 467.5 MB, free: 6.289 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003962/0.1144, allocations: 75.89 kB / 467.6 MB, free: 6.215 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.054e-06/0.1144, allocations: 4 kB / 467.6 MB, free: 6.211 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.73e-05/0.1145, allocations: 11.98 kB / 467.6 MB, free: 6.199 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.023e-06/0.1145, allocations: 3.938 kB / 467.6 MB, free: 6.195 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.1145, allocations: 4 kB / 467.6 MB, free: 6.191 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001015/0.1155, allocations: 0.5791 MB / 468.2 MB, free: 5.578 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001656/0.1157, allocations: 59.81 kB / 468.2 MB, free: 5.52 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.771e-05/0.1157, allocations: 12 kB / 468.3 MB, free: 5.508 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002695/0.116, allocations: 27.91 kB / 468.3 MB, free: 5.48 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.993e-05/0.1161, allocations: 35.94 kB / 468.3 MB, free: 5.445 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.606e-05/0.1161, allocations: 12 kB / 468.3 MB, free: 5.434 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002607/0.1164, allocations: 219.1 kB / 468.5 MB, free: 5.219 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1164, allocations: 3.938 kB / 468.5 MB, free: 5.215 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005579/0.1169, allocations: 144 kB / 468.7 MB, free: 5.074 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.001476/0.1184, allocations: 1.154 MB / 469.8 MB, free: 3.879 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00112/0.1195, allocations: 0.5718 MB / 470.4 MB, free: 3.27 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.1195, allocations: 256 / 470.4 MB, free: 3.27 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003411/0.1199, allocations: 151.8 kB / 470.6 MB, free: 3.121 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000518/0.1204, allocations: 53.06 kB / 470.6 MB, free: 3.07 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005647/0.126, allocations: 3.708 MB / 474.3 MB, free: 15.2 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002146/0.1263, allocations: 191.6 kB / 474.5 MB, free: 15 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000207/0.1265, allocations: 42.94 kB / 474.6 MB, free: 14.96 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002/0.1267, allocations: 119.4 kB / 474.7 MB, free: 14.84 MB / 350.1 MB Notification: Performance of SimCode: time 8.82e-07/0.1267, allocations: 0 / 474.7 MB, free: 14.84 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03176/0.1584, allocations: 8.252 MB / 482.9 MB, free: 6.531 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/11.56, allocations: 15.97 kB / 482.9 MB, free: 6.516 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.085861200932413] Failed to read output from testmodel.py, exit status != 0: 11.720714488998055 11.735506372 11.636649181 Calling exit ...