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.0008464/0.0008464, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008272/0.0008272, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8956/0.8956, allocations: 158.6 MB / 184.2 MB, free: 3.043 MB / 170.7 MB " [Timeout remaining time 179] 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.006967/0.006967, allocations: 1.424 MB / 237.9 MB, free: 13.93 MB / 234.7 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: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 352.5 MB, free: 15.91 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.036e-05/2.184e-05, allocations: 6.219 kB / 352.5 MB, free: 15.9 MB / 282.7 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestBellJarLinearControl): time 0.002978/0.003, allocations: 3.395 MB / 355.9 MB, free: 12.48 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001374/0.004374, allocations: 0.8735 MB / 356.7 MB, free: 11.61 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002171/0.004591, allocations: 7.938 kB / 356.7 MB, free: 11.6 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001504/0.004742, allocations: 71.28 kB / 356.8 MB, free: 11.53 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002219/0.004964, allocations: 166.5 kB / 357 MB, free: 11.36 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003433/0.005307, allocations: 135.7 kB / 357.1 MB, free: 11.23 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000388/0.005695, allocations: 0.5677 MB / 357.7 MB, free: 10.66 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001925/0.005887, allocations: 122.4 kB / 357.8 MB, free: 10.54 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004202/0.006308, allocations: 311.2 kB / 358.1 MB, free: 10.23 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001395/0.006447, allocations: 167.4 kB / 358.3 MB, free: 10.07 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.917e-05/0.006486, allocations: 44 kB / 358.3 MB, free: 10.03 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.01e-05/0.006556, allocations: 48 kB / 358.4 MB, free: 9.98 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.203e-05/0.006598, allocations: 99.59 kB / 358.4 MB, free: 9.883 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 9.097e-05/0.006689, allocations: 167.6 kB / 358.6 MB, free: 9.719 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003407/0.00703, allocations: 0.514 MB / 359.1 MB, free: 9.203 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.007032, allocations: 0 / 359.1 MB, free: 9.203 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.41e-07/0.007033, allocations: 4 kB / 359.1 MB, free: 9.199 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.054e-06/0.00704, allocations: 0 / 359.1 MB, free: 9.199 MB / 282.7 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.0007861/0.007826, allocations: 0.6912 MB / 359.8 MB, free: 8.469 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.007864, allocations: 11.98 kB / 359.8 MB, free: 8.457 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.575e-05/0.00791, allocations: 82.7 kB / 359.9 MB, free: 8.367 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.303e-05/0.007973, allocations: 52.61 kB / 360 MB, free: 8.316 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003082/0.008281, allocations: 277.5 kB / 360.2 MB, free: 8.02 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.106e-05/0.008302, allocations: 33.31 kB / 360.3 MB, free: 7.988 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.351e-05/0.008345, allocations: 40.36 kB / 360.3 MB, free: 7.949 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003872/0.008733, allocations: 382.2 kB / 360.7 MB, free: 7.559 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.008747, allocations: 0 / 360.7 MB, free: 7.559 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.415e-05/0.008771, allocations: 16 kB / 360.7 MB, free: 7.543 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.008778, allocations: 8 kB / 360.7 MB, free: 7.535 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003173/0.009096, allocations: 263.8 kB / 361 MB, free: 7.277 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001067/0.01016, allocations: 0.9693 MB / 361.9 MB, free: 6.254 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003345/0.0105, allocations: 279.2 kB / 362.2 MB, free: 5.973 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001278/0.01062, allocations: 113.2 kB / 362.3 MB, free: 5.859 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.229e-05/0.01065, allocations: 4.234 kB / 362.3 MB, free: 5.855 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002272/0.01087, allocations: 214.9 kB / 362.5 MB, free: 5.621 MB / 282.7 MB Notification: Performance of pre-optimization done (n=29): time 1.703e-06/0.01088, allocations: 0 / 362.5 MB, free: 5.621 MB / 282.7 MB Notification: Performance of matching and sorting (n=34): time 0.001343/0.01222, allocations: 1.072 MB / 363.6 MB, free: 4.496 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.781e-05/0.01225, allocations: 59.41 kB / 363.7 MB, free: 4.426 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002006/0.01245, allocations: 349.6 kB / 364 MB, free: 4.078 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.826e-05/0.01247, allocations: 33.7 kB / 364 MB, free: 4.039 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.93e-05/0.01254, allocations: 220.8 kB / 364.2 MB, free: 3.82 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.548e-05/0.01259, allocations: 115 kB / 364.4 MB, free: 3.707 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.072e-05/0.01266, allocations: 74.03 kB / 364.4 MB, free: 3.625 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.532e-05/0.01271, allocations: 350.7 kB / 364.8 MB, free: 3.273 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001571/0.01286, allocations: 148.1 kB / 364.9 MB, free: 3.121 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001582/0.01302, allocations: 184.7 kB / 365.1 MB, free: 2.922 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002796/0.0133, allocations: 281.1 kB / 365.4 MB, free: 2.629 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.0133, allocations: 4 kB / 365.4 MB, free: 2.625 MB / 282.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0003802/0.01368, allocations: 436.5 kB / 365.8 MB, free: 2.18 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.492e-05/0.01371, allocations: 33.7 kB / 365.8 MB, free: 2.141 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.01371, allocations: 0 / 365.8 MB, free: 2.141 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.01373, allocations: 4 kB / 365.8 MB, free: 2.137 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002369/0.01396, allocations: 83.89 kB / 365.9 MB, free: 2.055 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.01397, allocations: 4 kB / 365.9 MB, free: 2.051 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001106/0.01408, allocations: 20.08 kB / 365.9 MB, free: 2.031 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.735e-05/0.0141, allocations: 12 kB / 366 MB, free: 2.02 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001987/0.0143, allocations: 258.6 kB / 366.2 MB, free: 1.758 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001388/0.01444, allocations: 184.8 kB / 366.4 MB, free: 1.559 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000256/0.01469, allocations: 289.3 kB / 366.7 MB, free: 1.258 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.052e-06/0.01469, allocations: 0 / 366.7 MB, free: 1.258 MB / 282.7 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0003599/0.01505, allocations: 420.5 kB / 367.1 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.01507, allocations: 36.66 kB / 367.1 MB, free: 0.7891 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.026e-06/0.01507, allocations: 4 kB / 367.1 MB, free: 0.7852 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.557e-06/0.01508, allocations: 0 / 367.1 MB, free: 0.7852 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001652/0.01524, allocations: 87.89 kB / 367.2 MB, free: 0.6992 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.355e-06/0.01524, allocations: 8.031 kB / 367.2 MB, free: 0.6914 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.719e-05/0.01534, allocations: 15.98 kB / 367.2 MB, free: 0.6758 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.186e-05/0.01535, allocations: 16 kB / 367.2 MB, free: 0.6602 MB / 282.7 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 7.009e-05/0.01542, allocations: 200.1 kB / 367.4 MB, free: 468 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.577e-05/0.01545, allocations: 39.77 kB / 367.5 MB, free: 428 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003434/0.01579, allocations: 329.1 kB / 367.8 MB, free: 92 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.0158, allocations: 7.984 kB / 367.8 MB, free: 84 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.0158, allocations: 0 / 367.8 MB, free: 84 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.0158, allocations: 8 kB / 367.8 MB, free: 76 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00081/0.01661, allocations: 0.798 MB / 368.6 MB, free: 15.21 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/0.01662, allocations: 8 kB / 368.6 MB, free: 15.21 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002036/0.01682, allocations: 75.89 kB / 368.7 MB, free: 15.13 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/0.01683, allocations: 7.938 kB / 368.7 MB, free: 15.12 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.639e-05/0.01684, allocations: 8 kB / 368.7 MB, free: 15.12 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.01685, allocations: 4.125 kB / 368.7 MB, free: 15.11 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.01685, allocations: 7.938 kB / 368.7 MB, free: 15.11 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005655/0.01741, allocations: 0.5508 MB / 369.3 MB, free: 14.52 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.898e-05/0.01751, allocations: 67.77 kB / 369.3 MB, free: 14.46 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.184e-05/0.01754, allocations: 11.94 kB / 369.4 MB, free: 14.45 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001196/0.01766, allocations: 15.98 kB / 369.4 MB, free: 14.43 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.218e-05/0.01774, allocations: 39.88 kB / 369.4 MB, free: 14.39 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.343e-05/0.01775, allocations: 12 kB / 369.4 MB, free: 14.38 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001746/0.01792, allocations: 247.2 kB / 369.7 MB, free: 14.14 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01792, allocations: 0 / 369.7 MB, free: 14.14 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003351/0.01826, allocations: 148 kB / 369.8 MB, free: 13.99 MB / 298.7 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.0007718/0.01903, allocations: 1.107 MB / 370.9 MB, free: 12.84 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006105/0.01964, allocations: 0.5801 MB / 371.5 MB, free: 12.23 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.01964, allocations: 0 / 371.5 MB, free: 12.23 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001771/0.01982, allocations: 135.8 kB / 371.6 MB, free: 12.09 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003154/0.02014, allocations: 70.2 kB / 371.7 MB, free: 12.03 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003516/0.02365, allocations: 3.77 MB / 375.5 MB, free: 8.09 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001688/0.02382, allocations: 208.2 kB / 375.7 MB, free: 7.871 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001466/0.02397, allocations: 50.92 kB / 375.7 MB, free: 7.82 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001413/0.02411, allocations: 128.5 kB / 375.8 MB, free: 7.695 MB / 298.7 MB Notification: Performance of SimCode: time 5.51e-07/0.02411, allocations: 0 / 375.8 MB, free: 7.695 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02269/0.0468, allocations: 8.977 MB / 384.8 MB, free: 14.68 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.429/7.476, allocations: 8 kB / 384.8 MB, free: 14.67 MB / 314.7 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: 9.528504987247288] Failed to read output from testmodel.py, exit status != 0: 7.563261118717492 7.573345927 7.564611877 Calling exit ...