Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr MEV_MEV.Test.TestBellJarOpenLoop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002031/0.002031, allocations: 113.9 kB / 18.94 MB, free: 2.953 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002511/0.002511, allocations: 192.2 kB / 22.23 MB, free: 5.133 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.483/1.483, allocations: 207.6 MB / 233 MB, free: 10.06 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.009402/0.009402, allocations: 1.951 MB / 287.2 MB, free: 3.938 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(MEV.Test.TestBellJarOpenLoop,fileNamePrefix="MEV_MEV_Test_TestBellJarOpenLoop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(MEV.Test.TestBellJarOpenLoop,fileNamePrefix="MEV_MEV_Test_TestBellJarOpenLoop",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002202/0.002202, allocations: 79 kB / 401.7 MB, free: 50.96 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07644/0.07864, allocations: 49.7 MB / 451.4 MB, free: 6.336 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestBellJarOpenLoop): time 0.003217/0.08186, allocations: 3.19 MB / 454.6 MB, free: 3.125 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001105/0.08296, allocations: 0.807 MB / 455.4 MB, free: 2.312 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001535/0.08312, allocations: 8 kB / 455.4 MB, free: 2.305 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001408/0.08326, allocations: 51.44 kB / 455.5 MB, free: 2.254 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002006/0.08346, allocations: 130.9 kB / 455.6 MB, free: 2.125 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000257/0.08371, allocations: 99.83 kB / 455.7 MB, free: 2.027 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002805/0.084, allocations: 426 kB / 456.1 MB, free: 1.609 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001636/0.08416, allocations: 88.67 kB / 456.2 MB, free: 1.516 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001211/0.08428, allocations: 167.3 kB / 456.4 MB, free: 1.352 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001634/0.08444, allocations: 155.3 kB / 456.5 MB, free: 1.199 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.594e-05/0.08448, allocations: 36 kB / 456.6 MB, free: 1.164 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.928e-05/0.08456, allocations: 43.98 kB / 456.6 MB, free: 1.121 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.258e-05/0.0846, allocations: 79.69 kB / 456.7 MB, free: 1.043 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001187/0.08472, allocations: 179.2 kB / 456.9 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003284/0.08505, allocations: 402.3 kB / 457.3 MB, free: 484 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.08505, allocations: 0 / 457.3 MB, free: 484 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.08505, allocations: 0 / 457.3 MB, free: 484 kB / 318.1 MB Notification: Performance of Transformations before backend: time 1.291e-05/0.08507, allocations: 0 / 457.3 MB, free: 484 kB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.0008815/0.08595, allocations: 0.6349 MB / 457.9 MB, free: 15.79 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.08599, allocations: 15.98 kB / 457.9 MB, free: 15.77 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.901e-05/0.08606, allocations: 62.72 kB / 458 MB, free: 15.7 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.107e-05/0.08613, allocations: 40.7 kB / 458 MB, free: 15.66 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004298/0.08656, allocations: 298.8 kB / 458.3 MB, free: 15.33 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.402e-05/0.08658, allocations: 24.97 kB / 458.3 MB, free: 15.3 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.528e-05/0.08664, allocations: 31.92 kB / 458.4 MB, free: 15.27 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004731/0.08711, allocations: 238.1 kB / 458.6 MB, free: 15.04 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.611e-05/0.08712, allocations: 0 / 458.6 MB, free: 15.04 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.765e-05/0.08715, allocations: 12 kB / 458.6 MB, free: 15.03 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.228e-05/0.08716, allocations: 4 kB / 458.6 MB, free: 15.02 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003653/0.08753, allocations: 182.5 kB / 458.8 MB, free: 14.84 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001539/0.08907, allocations: 0.9001 MB / 459.7 MB, free: 13.88 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004265/0.0895, allocations: 178.5 kB / 459.9 MB, free: 13.7 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001506/0.08965, allocations: 76.83 kB / 459.9 MB, free: 13.62 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.53e-05/0.08967, allocations: 4.344 kB / 459.9 MB, free: 13.62 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.435e-05/0.08971, allocations: 34.56 kB / 460 MB, free: 13.57 MB / 334.1 MB Notification: Performance of pre-optimization done (n=20): time 1.883e-06/0.08971, allocations: 0 / 460 MB, free: 13.57 MB / 334.1 MB Notification: Performance of matching and sorting (n=25): time 0.001875/0.09158, allocations: 0.9794 MB / 460.9 MB, free: 12.5 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.048e-05/0.09162, allocations: 51.41 kB / 461 MB, free: 12.44 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003319/0.09195, allocations: 288.5 kB / 461.3 MB, free: 12.15 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.667e-05/0.09198, allocations: 29.7 kB / 461.3 MB, free: 12.12 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001517/0.09213, allocations: 188.6 kB / 461.5 MB, free: 11.93 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.664e-05/0.09221, allocations: 95.33 kB / 461.6 MB, free: 11.84 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.82e-05/0.09231, allocations: 61.64 kB / 461.6 MB, free: 11.77 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000191/0.0925, allocations: 338.8 kB / 462 MB, free: 11.43 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001689/0.09267, allocations: 80.77 kB / 462.1 MB, free: 11.35 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001977/0.09286, allocations: 120 kB / 462.2 MB, free: 11.21 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003491/0.09321, allocations: 204.2 kB / 462.4 MB, free: 11 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.09322, allocations: 0 / 462.4 MB, free: 11 MB / 334.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000456/0.09367, allocations: 269.4 kB / 462.6 MB, free: 10.73 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.09369, allocations: 4 kB / 462.6 MB, free: 10.73 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.0937, allocations: 12.06 kB / 462.6 MB, free: 10.71 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.09371, allocations: 0 / 462.6 MB, free: 10.71 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002506/0.09396, allocations: 59.91 kB / 462.7 MB, free: 10.66 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.297e-06/0.09397, allocations: 4 kB / 462.7 MB, free: 10.65 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001382/0.09411, allocations: 11.94 kB / 462.7 MB, free: 10.64 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.133e-05/0.09413, allocations: 12 kB / 462.7 MB, free: 10.63 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002452/0.09438, allocations: 180.1 kB / 462.9 MB, free: 10.45 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001825/0.09456, allocations: 124.1 kB / 463 MB, free: 10.31 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003208/0.09488, allocations: 204.4 kB / 463.2 MB, free: 10.1 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.182e-06/0.09488, allocations: 0 / 463.2 MB, free: 10.1 MB / 334.1 MB Notification: Performance of matching and sorting (n=35) (initialization_lambda0): time 0.0004417/0.09532, allocations: 265.3 kB / 463.5 MB, free: 9.832 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.965e-06/0.09533, allocations: 4 kB / 463.5 MB, free: 9.828 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.114e-06/0.09533, allocations: 0 / 463.5 MB, free: 9.828 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.02e-05/0.09534, allocations: 11.92 kB / 463.5 MB, free: 9.816 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002291/0.09557, allocations: 63.91 kB / 463.6 MB, free: 9.754 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.09558, allocations: 4 kB / 463.6 MB, free: 9.75 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001255/0.0957, allocations: 8 kB / 463.6 MB, free: 9.742 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.555e-05/0.09572, allocations: 8 kB / 463.6 MB, free: 9.734 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * 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.0001574/0.09588, allocations: 200.3 kB / 463.8 MB, free: 9.531 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.292e-05/0.09594, allocations: 31.81 kB / 463.8 MB, free: 9.5 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000506/0.09645, allocations: 244 kB / 464.1 MB, free: 9.25 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.09645, allocations: 0 / 464.1 MB, free: 9.25 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.09645, allocations: 0 / 464.1 MB, free: 9.25 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.09646, allocations: 0 / 464.1 MB, free: 9.25 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001105/0.09756, allocations: 0.7165 MB / 464.8 MB, free: 8.465 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.09756, allocations: 0 / 464.8 MB, free: 8.465 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002975/0.09786, allocations: 71.89 kB / 464.8 MB, free: 8.395 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.09787, allocations: 4 kB / 464.8 MB, free: 8.391 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.047e-05/0.09789, allocations: 8 kB / 464.9 MB, free: 8.383 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.09789, allocations: 0 / 464.9 MB, free: 8.383 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.09789, allocations: 4 kB / 464.9 MB, free: 8.379 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006245/0.09852, allocations: 439.3 kB / 465.3 MB, free: 7.922 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001396/0.09866, allocations: 124.9 kB / 465.4 MB, free: 7.781 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.236e-05/0.0987, allocations: 11.98 kB / 465.4 MB, free: 7.77 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001631/0.09886, allocations: 12 kB / 465.4 MB, free: 7.758 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.332e-05/0.09891, allocations: 19.97 kB / 465.4 MB, free: 7.738 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.913e-05/0.09893, allocations: 11.94 kB / 465.5 MB, free: 7.727 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002305/0.09916, allocations: 211 kB / 465.7 MB, free: 7.523 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.09916, allocations: 0 / 465.7 MB, free: 7.523 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004592/0.09962, allocations: 116 kB / 465.8 MB, free: 7.41 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (bellJar.cylinder.M,bellJar.damper.s_rel,bellJar.damper.v_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.001043/0.1007, allocations: 0.9731 MB / 466.8 MB, free: 6.398 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005935/0.1013, allocations: 297.1 kB / 467 MB, free: 6.109 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.1013, allocations: 0 / 467 MB, free: 6.109 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001657/0.1014, allocations: 91.84 kB / 467.1 MB, free: 6.02 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004377/0.1019, allocations: 41.39 kB / 467.2 MB, free: 5.98 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004315/0.1062, allocations: 3.115 MB / 470.3 MB, free: 2.73 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004385/0.1066, allocations: 0.7717 MB / 471.1 MB, free: 1.934 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000147/0.1068, allocations: 34.28 kB / 471.1 MB, free: 1.902 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001576/0.1069, allocations: 99.39 kB / 471.2 MB, free: 1.805 MB / 334.1 MB Notification: Performance of SimCode: time 1.072e-06/0.1069, allocations: 0 / 471.2 MB, free: 1.805 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0305/0.1374, allocations: 6.278 MB / 477.5 MB, free: 11.48 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.195/8.332, allocations: 8 kB / 477.5 MB, free: 11.47 MB / 350.1 MB " [Timeout remaining time 652] (rm -f MEV_MEV.Test.TestBellJarOpenLoop.pipe ; mkfifo MEV_MEV.Test.TestBellJarOpenLoop.pipe ; head -c 1048576 < MEV_MEV.Test.TestBellJarOpenLoop.pipe >> ../files/MEV_MEV.Test.TestBellJarOpenLoop.sim & python3 -m fmpy simulate --output-file MEV_MEV.Test.TestBellJarOpenLoop_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.005 MEV_MEV_Test_TestBellJarOpenLoop.fmu > MEV_MEV.Test.TestBellJarOpenLoop.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.966914128046483] Failed to read output from testmodel.py, exit status != 0: 8.405810054857284 8.430511485 8.340971657 Calling exit ...