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.001383/0.001383, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001602/0.001602, allocations: 211.4 kB / 22.24 MB, free: 5.262 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.413/1.413, allocations: 207.7 MB / 233.1 MB, free: 9.762 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.009117/0.009117, allocations: 1.962 MB / 287.3 MB, free: 3.645 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.002169/0.002169, allocations: 65.53 kB / 401.8 MB, free: 50.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07653/0.0787, allocations: 49.7 MB / 451.5 MB, free: 5.957 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestBellJarLinearControl): time 0.003671/0.08237, allocations: 3.399 MB / 454.9 MB, free: 2.535 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001195/0.08356, allocations: 0.8772 MB / 455.7 MB, free: 1.652 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001912/0.08375, allocations: 11.94 kB / 455.8 MB, free: 1.641 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001584/0.08391, allocations: 67.28 kB / 455.8 MB, free: 1.574 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002436/0.08416, allocations: 150.7 kB / 456 MB, free: 1.426 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002981/0.08445, allocations: 127.8 kB / 456.1 MB, free: 1.301 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003664/0.08482, allocations: 0.5601 MB / 456.7 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001893/0.08501, allocations: 122.3 kB / 456.8 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001571/0.08517, allocations: 203.2 kB / 457 MB, free: 424 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001794/0.08535, allocations: 198.9 kB / 457.2 MB, free: 224 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.437e-05/0.0854, allocations: 48 kB / 457.2 MB, free: 176 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.461e-05/0.0855, allocations: 52 kB / 457.3 MB, free: 124 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.293e-05/0.08555, allocations: 95.69 kB / 457.4 MB, free: 28 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002249/0.08577, allocations: 199.2 kB / 457.6 MB, free: 15.83 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005877/0.08636, allocations: 0.5135 MB / 458.1 MB, free: 15.31 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.778e-06/0.08636, allocations: 0 / 458.1 MB, free: 15.31 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.08637, allocations: 8 kB / 458.1 MB, free: 15.3 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.614e-06/0.08637, allocations: 0 / 458.1 MB, free: 15.3 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: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.001362/0.08774, allocations: 0.6951 MB / 458.8 MB, free: 14.57 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.08778, allocations: 15.98 kB / 458.8 MB, free: 14.55 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.035e-05/0.08786, allocations: 74.72 kB / 458.9 MB, free: 14.47 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.904e-05/0.08795, allocations: 52.61 kB / 458.9 MB, free: 14.42 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004502/0.0884, allocations: 278.2 kB / 459.2 MB, free: 14.12 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.434e-05/0.08843, allocations: 29.38 kB / 459.2 MB, free: 14.09 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.929e-05/0.0885, allocations: 39.94 kB / 459.2 MB, free: 14.05 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006471/0.08915, allocations: 377.9 kB / 459.6 MB, free: 13.67 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.734e-05/0.08916, allocations: 4 kB / 459.6 MB, free: 13.66 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.362e-05/0.0892, allocations: 16 kB / 459.6 MB, free: 13.65 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.819e-06/0.08921, allocations: 8 kB / 459.6 MB, free: 13.64 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005599/0.08977, allocations: 255.9 kB / 459.9 MB, free: 13.39 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001819/0.09159, allocations: 0.9846 MB / 460.9 MB, free: 12.36 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005648/0.09215, allocations: 271.3 kB / 461.1 MB, free: 12.08 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002575/0.09241, allocations: 118.8 kB / 461.3 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.195e-05/0.09244, allocations: 240 / 461.3 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003913/0.09283, allocations: 222.9 kB / 461.5 MB, free: 11.72 MB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 1.422e-06/0.09283, allocations: 0 / 461.5 MB, free: 11.72 MB / 334.1 MB Notification: Performance of matching and sorting (n=34): time 0.002318/0.09515, allocations: 1.07 MB / 462.5 MB, free: 10.6 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.797e-05/0.0952, allocations: 55.41 kB / 462.6 MB, free: 10.54 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000369/0.09557, allocations: 353.5 kB / 462.9 MB, free: 10.18 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.129e-05/0.0956, allocations: 29.7 kB / 463 MB, free: 10.14 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000172/0.09577, allocations: 216.7 kB / 463.2 MB, free: 9.93 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001055/0.09588, allocations: 127 kB / 463.3 MB, free: 9.805 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001178/0.096, allocations: 78.03 kB / 463.4 MB, free: 9.719 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001658/0.09616, allocations: 346.8 kB / 463.7 MB, free: 9.371 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00028/0.09644, allocations: 144 kB / 463.9 MB, free: 9.219 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003158/0.09676, allocations: 188.4 kB / 464.1 MB, free: 9.016 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005274/0.09728, allocations: 285 kB / 464.3 MB, free: 8.719 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.09729, allocations: 4 kB / 464.3 MB, free: 8.715 MB / 334.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007332/0.09802, allocations: 428.6 kB / 464.8 MB, free: 8.277 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.518e-05/0.09806, allocations: 37.69 kB / 464.8 MB, free: 8.234 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.09807, allocations: 0 / 464.8 MB, free: 8.234 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.09809, allocations: 4 kB / 464.8 MB, free: 8.23 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000376/0.09846, allocations: 83.89 kB / 464.9 MB, free: 8.148 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.09847, allocations: 3.938 kB / 464.9 MB, free: 8.145 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00022/0.09869, allocations: 20.08 kB / 464.9 MB, free: 8.125 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.683e-05/0.09872, allocations: 16 kB / 464.9 MB, free: 8.109 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003889/0.09911, allocations: 254.6 kB / 465.2 MB, free: 7.852 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002886/0.09939, allocations: 184.4 kB / 465.3 MB, free: 7.656 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005035/0.0999, allocations: 289.3 kB / 465.6 MB, free: 7.355 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.363e-06/0.0999, allocations: 0 / 465.6 MB, free: 7.355 MB / 334.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0007006/0.1006, allocations: 416.6 kB / 466 MB, free: 6.93 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.505e-05/0.1006, allocations: 29.7 kB / 466.1 MB, free: 6.895 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/0.1006, allocations: 7.984 kB / 466.1 MB, free: 6.887 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.695e-06/0.1006, allocations: 0 / 466.1 MB, free: 6.887 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003293/0.101, allocations: 87.83 kB / 466.2 MB, free: 6.801 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.341e-06/0.101, allocations: 12.08 kB / 466.2 MB, free: 6.789 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002104/0.1012, allocations: 19.92 kB / 466.2 MB, free: 6.77 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.119e-05/0.1012, allocations: 12 kB / 466.2 MB, free: 6.758 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.0001465/0.1014, allocations: 208.1 kB / 466.4 MB, free: 6.547 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.414e-05/0.1014, allocations: 35.77 kB / 466.4 MB, free: 6.512 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006964/0.1021, allocations: 317.3 kB / 466.7 MB, free: 6.195 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.1021, allocations: 4 kB / 466.8 MB, free: 6.191 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.1021, allocations: 3.938 kB / 466.8 MB, free: 6.188 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.1021, allocations: 11.92 kB / 466.8 MB, free: 6.176 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001276/0.1034, allocations: 0.798 MB / 467.6 MB, free: 5.316 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-06/0.1034, allocations: 7.969 kB / 467.6 MB, free: 5.309 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003694/0.1038, allocations: 83.89 kB / 467.7 MB, free: 5.227 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.1038, allocations: 4 kB / 467.7 MB, free: 5.223 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.276e-05/0.1038, allocations: 8 kB / 467.7 MB, free: 5.215 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.1038, allocations: 4.125 kB / 467.7 MB, free: 5.211 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.1038, allocations: 4 kB / 467.7 MB, free: 5.207 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009367/0.1047, allocations: 0.5623 MB / 468.2 MB, free: 4.613 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001523/0.1049, allocations: 67.77 kB / 468.3 MB, free: 4.547 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.14e-05/0.1049, allocations: 8 kB / 468.3 MB, free: 4.539 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002422/0.1052, allocations: 15.98 kB / 468.3 MB, free: 4.523 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.894e-05/0.1053, allocations: 31.94 kB / 468.4 MB, free: 4.492 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.492e-05/0.1053, allocations: 16 kB / 468.4 MB, free: 4.477 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002501/0.1055, allocations: 239.2 kB / 468.6 MB, free: 4.246 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1055, allocations: 4 kB / 468.6 MB, free: 4.242 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004908/0.106, allocations: 152 kB / 468.8 MB, free: 4.094 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.001277/0.1073, allocations: 1.111 MB / 469.9 MB, free: 2.945 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000999/0.1083, allocations: 0.5763 MB / 470.4 MB, free: 2.332 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1083, allocations: 0 / 470.4 MB, free: 2.332 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000297/0.1086, allocations: 143.8 kB / 470.6 MB, free: 2.191 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004852/0.1091, allocations: 61.97 kB / 470.6 MB, free: 2.133 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005475/0.1146, allocations: 3.866 MB / 474.5 MB, free: 14.1 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001983/0.1148, allocations: 204.2 kB / 474.7 MB, free: 13.88 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002103/0.115, allocations: 42.95 kB / 474.8 MB, free: 13.84 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002108/0.1152, allocations: 135.4 kB / 474.9 MB, free: 13.71 MB / 350.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1152, allocations: 0 / 474.9 MB, free: 13.71 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03837/0.1536, allocations: 8.848 MB / 483.7 MB, free: 4.797 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/11.23, allocations: 11.94 kB / 483.7 MB, free: 4.785 MB / 350.1 MB " [Timeout remaining time 649] (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: 14.135311983060092] Failed to read output from testmodel.py, exit status != 0: 11.344024036079645 11.370204241 11.279249289 Calling exit ...