Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr MEV_MEV.Test.TestBellJarLinearControl.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.001313/0.001313, allocations: 102.7 kB / 16.45 MB, free: 6.449 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.001527/0.001527, allocations: 206.4 kB / 19.42 MB, free: 3.641 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.339/1.339, allocations: 207.6 MB / 229.8 MB, free: 11.41 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.008366/0.008366, allocations: 1.958 MB / 283.6 MB, free: 5.062 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.TestBellJarLinearControl,fileNamePrefix="MEV_MEV_Test_TestBellJarLinearControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(MEV.Test.TestBellJarLinearControl,fileNamePrefix="MEV_MEV_Test_TestBellJarLinearControl",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.002038/0.002038, allocations: 67.94 kB / 396.6 MB, free: 51.15 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07503/0.07706, allocations: 49.67 MB / 446.2 MB, free: 7.773 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestBellJarLinearControl): time 0.003583/0.08065, allocations: 3.69 MB / 449.9 MB, free: 4.059 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001268/0.08191, allocations: 0.9238 MB / 450.9 MB, free: 3.129 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001895/0.0821, allocations: 7.938 kB / 450.9 MB, free: 3.121 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001594/0.08226, allocations: 67.28 kB / 450.9 MB, free: 3.055 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002278/0.08249, allocations: 154.8 kB / 451.1 MB, free: 2.902 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003012/0.08279, allocations: 135.7 kB / 451.2 MB, free: 2.77 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003783/0.08317, allocations: 0.5445 MB / 451.8 MB, free: 2.223 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001887/0.08336, allocations: 129.9 kB / 451.9 MB, free: 2.098 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001626/0.08352, allocations: 211.2 kB / 452.1 MB, free: 1.891 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001779/0.0837, allocations: 222.9 kB / 452.3 MB, free: 1.672 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.711e-05/0.08375, allocations: 44 kB / 452.4 MB, free: 1.629 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.729e-05/0.08383, allocations: 60 kB / 452.4 MB, free: 1.57 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.252e-05/0.08389, allocations: 87.69 kB / 452.5 MB, free: 1.484 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001353/0.08402, allocations: 246.8 kB / 452.7 MB, free: 1.242 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004339/0.08446, allocations: 0.5174 MB / 453.3 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.08446, allocations: 0 / 453.3 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.08446, allocations: 0 / 453.3 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.897e-06/0.08447, allocations: 0 / 453.3 MB, free: 0.7227 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.001238/0.08571, allocations: 0.7736 MB / 454 MB, free: 15.89 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.877e-05/0.08576, allocations: 15.89 kB / 454 MB, free: 15.87 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.314e-05/0.08585, allocations: 70.72 kB / 454.1 MB, free: 15.79 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001083/0.08596, allocations: 52.64 kB / 454.2 MB, free: 15.74 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005554/0.08651, allocations: 335.4 kB / 454.5 MB, free: 15.37 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.482e-05/0.08655, allocations: 30.12 kB / 454.5 MB, free: 15.34 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.619e-05/0.08663, allocations: 39.98 kB / 454.6 MB, free: 15.3 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007047/0.08733, allocations: 334.4 kB / 454.9 MB, free: 14.97 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.068e-05/0.08735, allocations: 3.953 kB / 454.9 MB, free: 14.97 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.908e-05/0.08739, allocations: 16 kB / 454.9 MB, free: 14.95 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.2e-05/0.0874, allocations: 8 kB / 454.9 MB, free: 14.95 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000614/0.08802, allocations: 255.9 kB / 455.2 MB, free: 14.7 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002007/0.09002, allocations: 1.117 MB / 456.3 MB, free: 13.52 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005973/0.09062, allocations: 275.2 kB / 456.5 MB, free: 13.25 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000279/0.0909, allocations: 113.3 kB / 456.7 MB, free: 13.13 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.782e-05/0.09093, allocations: 4.234 kB / 456.7 MB, free: 13.13 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003773/0.0913, allocations: 167.5 kB / 456.8 MB, free: 12.95 MB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 1.563e-06/0.09131, allocations: 0 / 456.8 MB, free: 12.95 MB / 334.1 MB Notification: Performance of matching and sorting (n=34): time 0.002614/0.09392, allocations: 1.224 MB / 458.1 MB, free: 11.64 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.062e-05/0.09397, allocations: 59.41 kB / 458.1 MB, free: 11.57 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003837/0.09435, allocations: 345.6 kB / 458.4 MB, free: 11.22 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.111e-05/0.09438, allocations: 29.7 kB / 458.5 MB, free: 11.18 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001629/0.09455, allocations: 216.8 kB / 458.7 MB, free: 10.97 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001152/0.09466, allocations: 126.9 kB / 458.8 MB, free: 10.84 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001205/0.09478, allocations: 70.03 kB / 458.9 MB, free: 10.77 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001614/0.09494, allocations: 350.7 kB / 459.2 MB, free: 10.41 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002846/0.09523, allocations: 118.3 kB / 459.3 MB, free: 10.29 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003084/0.09554, allocations: 166.4 kB / 459.5 MB, free: 10.12 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005432/0.09608, allocations: 289 kB / 459.8 MB, free: 9.816 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.09608, allocations: 4 kB / 459.8 MB, free: 9.812 MB / 334.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007329/0.09682, allocations: 398.9 kB / 460.2 MB, free: 9.41 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.061e-05/0.09686, allocations: 33.69 kB / 460.2 MB, free: 9.371 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/0.09686, allocations: 4 kB / 460.2 MB, free: 9.367 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.09688, allocations: 0 / 460.2 MB, free: 9.367 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003872/0.09727, allocations: 83.89 kB / 460.3 MB, free: 9.285 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.09728, allocations: 4 kB / 460.3 MB, free: 9.281 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000227/0.0975, allocations: 20.08 kB / 460.3 MB, free: 9.262 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.636e-05/0.09754, allocations: 12 kB / 460.3 MB, free: 9.25 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003914/0.09793, allocations: 236.8 kB / 460.6 MB, free: 9.016 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002778/0.09821, allocations: 154.7 kB / 460.7 MB, free: 8.855 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005423/0.09875, allocations: 285.3 kB / 461 MB, free: 8.559 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.282e-06/0.09875, allocations: 0 / 461 MB, free: 8.559 MB / 334.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0006974/0.09945, allocations: 390.9 kB / 461.4 MB, free: 8.164 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.987e-05/0.09948, allocations: 33.7 kB / 461.4 MB, free: 8.125 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.324e-06/0.09948, allocations: 4.094 kB / 461.4 MB, free: 8.121 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.34e-06/0.09949, allocations: 7.938 kB / 461.4 MB, free: 8.113 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003516/0.09984, allocations: 83.89 kB / 461.5 MB, free: 8.031 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.447e-06/0.09984, allocations: 0 / 461.5 MB, free: 8.031 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002119/0.1001, allocations: 19.98 kB / 461.5 MB, free: 8.012 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.177e-05/0.1001, allocations: 12 kB / 461.5 MB, free: 8 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 (opening.count,$PRE.opening.count,opening.T_start,$PRE.opening.T_start,$whenCondition1) * 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.0001528/0.1002, allocations: 212 kB / 461.7 MB, free: 7.785 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.605e-05/0.1003, allocations: 39.77 kB / 461.8 MB, free: 7.746 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006819/0.101, allocations: 321.5 kB / 462.1 MB, free: 7.422 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.01e-06/0.101, allocations: 4 kB / 462.1 MB, free: 7.418 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.101, allocations: 0 / 462.1 MB, free: 7.418 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.101, allocations: 0 / 462.1 MB, free: 7.418 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001327/0.1023, allocations: 0.8767 MB / 463 MB, free: 6.473 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.364e-05/0.1023, allocations: 4 kB / 463 MB, free: 6.469 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003696/0.1027, allocations: 75.89 kB / 463 MB, free: 6.395 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.267e-06/0.1027, allocations: 7.938 kB / 463.1 MB, free: 6.387 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.56e-05/0.1027, allocations: 11.98 kB / 463.1 MB, free: 6.375 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/0.1027, allocations: 0 / 463.1 MB, free: 6.375 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.542e-06/0.1027, allocations: 4 kB / 463.1 MB, free: 6.371 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009705/0.1037, allocations: 0.5627 MB / 463.6 MB, free: 5.777 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001582/0.1039, allocations: 148.8 kB / 463.8 MB, free: 5.613 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.063e-05/0.1039, allocations: 12 kB / 463.8 MB, free: 5.602 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002495/0.1042, allocations: 23.98 kB / 463.8 MB, free: 5.578 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.002e-05/0.1042, allocations: 32.03 kB / 463.8 MB, free: 5.547 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.033e-05/0.1043, allocations: 8 kB / 463.9 MB, free: 5.539 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002616/0.1045, allocations: 243.2 kB / 464.1 MB, free: 5.305 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1045, allocations: 0 / 464.1 MB, free: 5.305 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005014/0.105, allocations: 152 kB / 464.2 MB, free: 5.156 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (controller.firstOrder.y,bellJar.cylinder.M,bellJar.damper.s_rel,bellJar.damper.v_rel) * Number of discrete variables: 3 ($whenCondition1,opening.T_start,opening.count) * Number of discrete states: 1 (opening.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001336/0.1064, allocations: 1.118 MB / 465.4 MB, free: 4 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009915/0.1074, allocations: 0.5112 MB / 465.9 MB, free: 3.465 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.1074, allocations: 0 / 465.9 MB, free: 3.465 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002964/0.1077, allocations: 144.9 kB / 466 MB, free: 3.324 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004955/0.1082, allocations: 77.25 kB / 466.1 MB, free: 3.25 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005417/0.1136, allocations: 3.756 MB / 469.8 MB, free: 15.36 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004665/0.114, allocations: 0.804 MB / 470.6 MB, free: 14.53 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002126/0.1143, allocations: 50.92 kB / 470.7 MB, free: 14.48 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002148/0.1145, allocations: 127.4 kB / 470.8 MB, free: 14.36 MB / 350.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1145, allocations: 0 / 470.8 MB, free: 14.36 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03433/0.1488, allocations: 8.015 MB / 478.8 MB, free: 6.285 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.239/8.388, allocations: 0 / 478.8 MB, free: 6.285 MB / 350.1 MB " [Timeout remaining time 652] (rm -f MEV_MEV.Test.TestBellJarLinearControl.pipe ; mkfifo MEV_MEV.Test.TestBellJarLinearControl.pipe ; head -c 1048576 < MEV_MEV.Test.TestBellJarLinearControl.pipe >> ../files/MEV_MEV.Test.TestBellJarLinearControl.sim & python3 -m fmpy simulate --output-file MEV_MEV.Test.TestBellJarLinearControl_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.2 MEV_MEV_Test_TestBellJarLinearControl.fmu > MEV_MEV.Test.TestBellJarLinearControl.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.034333042000071] Failed to read output from testmodel.py, exit status != 0: 8.45777989301132 8.473142318 8.385688468 Calling exit ...