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.001636/0.001636, allocations: 109.3 kB / 16.46 MB, free: 6.508 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.00211/0.00211, allocations: 213.7 kB / 19.43 MB, free: 3.648 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.419/1.419, allocations: 207.6 MB / 229.8 MB, free: 4.227 MB / 174.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.009365/0.009365, allocations: 1.951 MB / 283.6 MB, free: 14.48 MB / 238.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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(MEV.Test.TestCylinderUnitOnOff,fileNamePrefix="MEV_MEV_Test_TestCylinderUnitOnOff",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.002076/0.002076, allocations: 72.47 kB / 396.6 MB, free: 8.871 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2403/0.2424, allocations: 49.66 MB / 446.2 MB, free: 8.461 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestCylinderUnitOnOff): time 0.003743/0.2462, allocations: 3.414 MB / 449.7 MB, free: 6.043 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001314/0.2475, allocations: 0.8828 MB / 450.5 MB, free: 5.406 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001589/0.2476, allocations: 9.438 kB / 450.6 MB, free: 5.402 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001596/0.2478, allocations: 56.62 kB / 450.6 MB, free: 5.371 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002449/0.248, allocations: 149.9 kB / 450.8 MB, free: 5.262 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003066/0.2483, allocations: 129.5 kB / 450.9 MB, free: 5.184 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004508/0.2488, allocations: 0.5141 MB / 451.4 MB, free: 4.91 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002088/0.249, allocations: 108.4 kB / 451.5 MB, free: 4.844 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002637/0.2493, allocations: 202.9 kB / 451.7 MB, free: 4.746 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002612/0.2495, allocations: 197.3 kB / 451.9 MB, free: 4.652 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.868e-05/0.2496, allocations: 40.69 kB / 451.9 MB, free: 4.652 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001059/0.2497, allocations: 52.22 kB / 452 MB, free: 4.648 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.812e-05/0.2498, allocations: 90.03 kB / 452.1 MB, free: 4.586 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001785/0.25, allocations: 228.9 kB / 452.3 MB, free: 4.445 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000498/0.2505, allocations: 471.8 kB / 452.8 MB, free: 4.242 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.2505, allocations: 4 kB / 452.8 MB, free: 4.238 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.2505, allocations: 0.9688 kB / 452.8 MB, free: 4.238 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.218e-05/0.2505, allocations: 0 / 452.8 MB, free: 4.238 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001181/0.2516, allocations: 0.7536 MB / 453.5 MB, free: 3.629 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.2517, allocations: 17.95 kB / 453.5 MB, free: 3.621 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.553e-05/0.2518, allocations: 69.7 kB / 453.6 MB, free: 3.562 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.889e-05/0.2518, allocations: 46.38 kB / 453.6 MB, free: 3.539 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003441/0.2522, allocations: 314.7 kB / 453.9 MB, free: 3.258 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.513e-05/0.2522, allocations: 26.44 kB / 454 MB, free: 3.246 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.713e-05/0.2523, allocations: 38.52 kB / 454 MB, free: 3.23 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005406/0.2528, allocations: 299.7 kB / 454.3 MB, free: 3.102 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/0.2528, allocations: 1.344 kB / 454.3 MB, free: 3.102 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.1e-05/0.2528, allocations: 15.28 kB / 454.3 MB, free: 3.09 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.219e-05/0.2529, allocations: 7.906 kB / 454.3 MB, free: 3.09 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005175/0.2534, allocations: 235.2 kB / 454.6 MB, free: 3.012 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001339/0.2547, allocations: 0.9234 MB / 455.5 MB, free: 2.445 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005239/0.2552, allocations: 251.2 kB / 455.7 MB, free: 2.34 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002314/0.2555, allocations: 107.9 kB / 455.8 MB, free: 2.297 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.036e-05/0.2555, allocations: 2.578 kB / 455.8 MB, free: 2.297 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003659/0.2559, allocations: 193.7 kB / 456 MB, free: 2.195 MB / 318.1 MB Notification: Performance of pre-optimization done (n=31): time 1.613e-06/0.2559, allocations: 1.312 kB / 456 MB, free: 2.195 MB / 318.1 MB Notification: Performance of matching and sorting (n=36): time 0.002268/0.2581, allocations: 1.224 MB / 457.2 MB, free: 1.414 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.726e-05/0.2582, allocations: 56.92 kB / 457.3 MB, free: 1.352 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002873/0.2584, allocations: 311.4 kB / 457.6 MB, free: 1.176 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.499e-05/0.2585, allocations: 31.95 kB / 457.6 MB, free: 1.141 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.389e-05/0.2586, allocations: 196 kB / 457.8 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.064e-05/0.2586, allocations: 127.8 kB / 458 MB, free: 0.875 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001036/0.2587, allocations: 74.36 kB / 458 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.188e-05/0.2588, allocations: 345.8 kB / 458.4 MB, free: 0.5 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002566/0.2591, allocations: 113 kB / 458.5 MB, free: 468 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002697/0.2593, allocations: 153.1 kB / 458.6 MB, free: 388 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004723/0.2598, allocations: 275.2 kB / 458.9 MB, free: 232 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.2598, allocations: 0.75 kB / 458.9 MB, free: 232 kB / 318.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006379/0.2604, allocations: 393.8 kB / 459.3 MB, free: 16 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.22e-05/0.2605, allocations: 32.08 kB / 459.3 MB, free: 15.98 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.2605, allocations: 1.062 kB / 459.3 MB, free: 15.98 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.2605, allocations: 2.188 kB / 459.3 MB, free: 15.98 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003344/0.2608, allocations: 80.3 kB / 459.4 MB, free: 15.96 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.2609, allocations: 3.125 kB / 459.4 MB, free: 15.96 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002468/0.2611, allocations: 17.8 kB / 459.4 MB, free: 15.95 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.663e-05/0.2611, allocations: 13.78 kB / 459.4 MB, free: 15.95 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003519/0.2615, allocations: 224.3 kB / 459.6 MB, free: 15.79 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002913/0.2618, allocations: 143.4 kB / 459.8 MB, free: 15.71 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004957/0.2623, allocations: 282 kB / 460.1 MB, free: 15.54 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.222e-06/0.2623, allocations: 1.438 kB / 460.1 MB, free: 15.54 MB / 334.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.000687/0.263, allocations: 387.3 kB / 460.4 MB, free: 15.32 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.658e-05/0.263, allocations: 32.3 kB / 460.5 MB, free: 15.29 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.805e-06/0.263, allocations: 1.125 kB / 460.5 MB, free: 15.29 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.108e-06/0.263, allocations: 2.156 kB / 460.5 MB, free: 15.29 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002897/0.2633, allocations: 75.11 kB / 460.6 MB, free: 15.27 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.379e-06/0.2633, allocations: 2.281 kB / 460.6 MB, free: 15.27 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002385/0.2635, allocations: 26.95 kB / 460.6 MB, free: 15.25 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.422e-05/0.2635, allocations: 13.55 kB / 460.6 MB, free: 15.25 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.0001639/0.2637, allocations: 206.7 kB / 460.8 MB, free: 15.04 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.838e-05/0.2638, allocations: 40.77 kB / 460.8 MB, free: 15.02 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007135/0.2645, allocations: 331.1 kB / 461.2 MB, free: 14.83 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.2645, allocations: 3.875 kB / 461.2 MB, free: 14.83 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.2645, allocations: 0 / 461.2 MB, free: 14.83 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.2645, allocations: 4 kB / 461.2 MB, free: 14.83 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001411/0.2659, allocations: 0.8811 MB / 462 MB, free: 14.12 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.2659, allocations: 1.188 kB / 462 MB, free: 14.12 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003704/0.2663, allocations: 81.83 kB / 462.1 MB, free: 14.1 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.219e-06/0.2663, allocations: 2.844 kB / 462.1 MB, free: 14.1 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.675e-05/0.2663, allocations: 11.83 kB / 462.1 MB, free: 14.09 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.583e-06/0.2663, allocations: 6.359 kB / 462.1 MB, free: 14.09 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/0.2663, allocations: 6.594 kB / 462.2 MB, free: 14.09 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001024/0.2674, allocations: 0.5885 MB / 462.7 MB, free: 13.69 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001538/0.2675, allocations: 141.6 kB / 462.9 MB, free: 13.55 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.128e-05/0.2676, allocations: 7.688 kB / 462.9 MB, free: 13.54 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002725/0.2678, allocations: 36.44 kB / 462.9 MB, free: 13.52 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.874e-05/0.2679, allocations: 31 kB / 463 MB, free: 13.5 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.358e-05/0.2679, allocations: 13.12 kB / 463 MB, free: 13.5 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002242/0.2682, allocations: 217.1 kB / 463.2 MB, free: 13.36 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2682, allocations: 5.406 kB / 463.2 MB, free: 13.36 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005133/0.2687, allocations: 145.6 kB / 463.3 MB, free: 13.34 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.001403/0.2701, allocations: 1.132 MB / 464.5 MB, free: 12.41 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001029/0.2711, allocations: 0.5232 MB / 465 MB, free: 12.1 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.2711, allocations: 1.188 kB / 465 MB, free: 12.1 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003264/0.2714, allocations: 146.4 kB / 465.1 MB, free: 12.04 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004968/0.2719, allocations: 62.66 kB / 465.2 MB, free: 12 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005278/0.2772, allocations: 3.591 MB / 468.8 MB, free: 9.445 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004433/0.2777, allocations: 0.7958 MB / 469.6 MB, free: 8.703 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001942/0.2779, allocations: 45.19 kB / 469.6 MB, free: 8.684 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001993/0.2781, allocations: 120.2 kB / 469.7 MB, free: 8.586 MB / 334.1 MB Notification: Performance of SimCode: time 5.01e-07/0.2781, allocations: 0 / 469.7 MB, free: 8.586 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0309/0.3089, allocations: 7.704 MB / 477.4 MB, free: 1.074 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.187/8.496, allocations: 0.5 kB / 477.4 MB, free: 1.074 MB / 334.1 MB " [Timeout remaining time 651] (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 & python3 -m fmpy simulate --output-file MEV_MEV.Test.TestCylinderUnitOnOff_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_TestCylinderUnitOnOff.fmu > MEV_MEV.Test.TestCylinderUnitOnOff.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.14873871699092] Failed to read output from testmodel.py, exit status != 0: 8.570763383002486 8.597639004 8.342458259 Calling exit ...