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.001443/0.001443, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001569/0.001569, allocations: 219.4 kB / 22.26 MB, free: 5.125 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.38/1.38, allocations: 207.6 MB / 233 MB, free: 9.969 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.009801/0.009801, allocations: 1.977 MB / 287.3 MB, free: 3.844 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.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.002121/0.002121, allocations: 74.33 kB / 401.8 MB, free: 50.92 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08105/0.08317, allocations: 49.71 MB / 451.5 MB, free: 6.266 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestCylinderUnitOnOff): time 0.003641/0.08682, allocations: 3.439 MB / 454.9 MB, free: 2.805 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001328/0.08814, allocations: 0.8849 MB / 455.8 MB, free: 1.914 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001844/0.08833, allocations: 8 kB / 455.8 MB, free: 1.906 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00017/0.0885, allocations: 59.36 kB / 455.9 MB, free: 1.848 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002294/0.08873, allocations: 154.8 kB / 456 MB, free: 1.695 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003163/0.08904, allocations: 115.8 kB / 456.1 MB, free: 1.582 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003652/0.08941, allocations: 0.5211 MB / 456.7 MB, free: 1.059 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001837/0.08959, allocations: 113.3 kB / 456.8 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001789/0.08977, allocations: 199.2 kB / 457 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002029/0.08998, allocations: 207 kB / 457.2 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.682e-05/0.09002, allocations: 47.98 kB / 457.2 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.823e-05/0.09011, allocations: 48 kB / 457.3 MB, free: 456 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.226e-05/0.09016, allocations: 87.75 kB / 457.3 MB, free: 368 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001394/0.0903, allocations: 222.9 kB / 457.6 MB, free: 144 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005362/0.09084, allocations: 474.1 kB / 458 MB, free: 15.67 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.09084, allocations: 0 / 458 MB, free: 15.67 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.522e-06/0.09084, allocations: 0 / 458 MB, free: 15.67 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.173e-06/0.09085, allocations: 0 / 458 MB, free: 15.67 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001352/0.0922, allocations: 0.6799 MB / 458.7 MB, free: 14.95 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.15e-05/0.09225, allocations: 12.03 kB / 458.7 MB, free: 14.94 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.231e-05/0.09234, allocations: 66.72 kB / 458.8 MB, free: 14.87 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.619e-05/0.09242, allocations: 48.66 kB / 458.8 MB, free: 14.82 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004775/0.0929, allocations: 257.3 kB / 459.1 MB, free: 14.54 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.521e-05/0.09294, allocations: 36.78 kB / 459.1 MB, free: 14.5 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.551e-05/0.093, allocations: 31.95 kB / 459.1 MB, free: 14.47 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005945/0.0936, allocations: 294 kB / 459.4 MB, free: 14.18 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.69e-05/0.09361, allocations: 0 / 459.4 MB, free: 14.18 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.237e-05/0.09364, allocations: 16 kB / 459.4 MB, free: 14.16 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.889e-06/0.09365, allocations: 8 kB / 459.5 MB, free: 14.16 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000536/0.09419, allocations: 238.5 kB / 459.7 MB, free: 13.92 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001578/0.09577, allocations: 0.8979 MB / 460.6 MB, free: 12.98 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000551/0.09632, allocations: 240 kB / 460.8 MB, free: 12.74 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002451/0.09656, allocations: 109.3 kB / 460.9 MB, free: 12.63 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.084e-05/0.0966, allocations: 8.172 kB / 460.9 MB, free: 12.62 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003908/0.09699, allocations: 183.4 kB / 461.1 MB, free: 12.43 MB / 334.1 MB Notification: Performance of pre-optimization done (n=31): time 1.784e-06/0.09699, allocations: 0 / 461.1 MB, free: 12.43 MB / 334.1 MB Notification: Performance of matching and sorting (n=36): time 0.002508/0.0995, allocations: 1.085 MB / 462.2 MB, free: 11.29 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.951e-05/0.09955, allocations: 59.41 kB / 462.3 MB, free: 11.22 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003362/0.09988, allocations: 312.5 kB / 462.6 MB, free: 10.91 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.388e-05/0.09992, allocations: 33.7 kB / 462.6 MB, free: 10.87 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001487/0.1001, allocations: 196.9 kB / 462.8 MB, free: 10.68 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.908e-05/0.1002, allocations: 119 kB / 462.9 MB, free: 10.56 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001153/0.1003, allocations: 78.02 kB / 463 MB, free: 10.48 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001489/0.1004, allocations: 334.8 kB / 463.3 MB, free: 10.14 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002656/0.1007, allocations: 118.4 kB / 463.4 MB, free: 10.02 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002942/0.101, allocations: 153.8 kB / 463.6 MB, free: 9.863 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000546/0.1015, allocations: 281.8 kB / 463.8 MB, free: 9.57 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.1015, allocations: 0 / 463.8 MB, free: 9.57 MB / 334.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006926/0.1022, allocations: 382.1 kB / 464.2 MB, free: 9.188 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.954e-05/0.1023, allocations: 33.69 kB / 464.3 MB, free: 9.148 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/0.1023, allocations: 4 kB / 464.3 MB, free: 9.145 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.1023, allocations: 0 / 464.3 MB, free: 9.145 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003479/0.1026, allocations: 71.91 kB / 464.3 MB, free: 9.074 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.254e-05/0.1027, allocations: 7.984 kB / 464.3 MB, free: 9.066 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002232/0.1029, allocations: 24.05 kB / 464.4 MB, free: 9.043 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.022e-05/0.1029, allocations: 12 kB / 464.4 MB, free: 9.031 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003467/0.1033, allocations: 220.5 kB / 464.6 MB, free: 8.812 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002652/0.1035, allocations: 148.9 kB / 464.7 MB, free: 8.66 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004826/0.104, allocations: 276.1 kB / 465 MB, free: 8.375 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.252e-06/0.104, allocations: 0 / 465 MB, free: 8.375 MB / 334.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0006752/0.1047, allocations: 394.4 kB / 465.4 MB, free: 7.977 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.871e-05/0.1047, allocations: 29.7 kB / 465.4 MB, free: 7.941 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.725e-06/0.1047, allocations: 0 / 465.4 MB, free: 7.941 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.831e-06/0.1047, allocations: 8.062 kB / 465.4 MB, free: 7.934 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002879/0.105, allocations: 75.89 kB / 465.5 MB, free: 7.859 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.105, allocations: 3.938 kB / 465.5 MB, free: 7.855 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002092/0.1052, allocations: 19.98 kB / 465.5 MB, free: 7.836 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.274e-05/0.1052, allocations: 12 kB / 465.5 MB, free: 7.824 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.0001543/0.1054, allocations: 200.2 kB / 465.7 MB, free: 7.621 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.221e-05/0.1055, allocations: 47.62 kB / 465.8 MB, free: 7.574 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006925/0.1062, allocations: 336.7 kB / 466.1 MB, free: 7.234 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.648e-06/0.1062, allocations: 11.94 kB / 466.1 MB, free: 7.223 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.1062, allocations: 0 / 466.1 MB, free: 7.223 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.1062, allocations: 3.984 kB / 466.1 MB, free: 7.219 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001352/0.1075, allocations: 0.8425 MB / 467 MB, free: 6.312 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.1075, allocations: 4 kB / 467 MB, free: 6.309 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003655/0.1079, allocations: 75.88 kB / 467 MB, free: 6.234 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.162e-06/0.1079, allocations: 4 kB / 467 MB, free: 6.23 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.331e-05/0.1079, allocations: 8 kB / 467.1 MB, free: 6.223 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-06/0.1079, allocations: 4 kB / 467.1 MB, free: 6.219 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.1079, allocations: 3.938 kB / 467.1 MB, free: 6.215 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001011/0.1089, allocations: 0.5792 MB / 467.6 MB, free: 5.602 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001456/0.1091, allocations: 67.81 kB / 467.7 MB, free: 5.535 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.41e-05/0.1092, allocations: 12.08 kB / 467.7 MB, free: 5.523 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002654/0.1094, allocations: 19.98 kB / 467.7 MB, free: 5.504 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001005/0.1095, allocations: 47.8 kB / 467.8 MB, free: 5.457 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.186e-05/0.1095, allocations: 8 kB / 467.8 MB, free: 5.449 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002498/0.1098, allocations: 223.1 kB / 468 MB, free: 5.23 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1098, allocations: 0 / 468 MB, free: 5.23 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005132/0.1103, allocations: 148 kB / 468.2 MB, free: 5.086 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.001428/0.1117, allocations: 1.138 MB / 469.3 MB, free: 3.906 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001089/0.1128, allocations: 0.5138 MB / 469.8 MB, free: 3.367 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.1128, allocations: 4.25 kB / 469.8 MB, free: 3.363 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003208/0.1132, allocations: 147.8 kB / 470 MB, free: 3.219 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004964/0.1136, allocations: 57 kB / 470 MB, free: 3.164 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005296/0.1189, allocations: 3.598 MB / 473.6 MB, free: 15.43 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004421/0.1194, allocations: 0.7962 MB / 474.4 MB, free: 14.61 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001906/0.1196, allocations: 46.94 kB / 474.4 MB, free: 14.57 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001968/0.1198, allocations: 115.4 kB / 474.6 MB, free: 14.46 MB / 350.1 MB Notification: Performance of SimCode: time 1.122e-06/0.1198, allocations: 0 / 474.6 MB, free: 14.46 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03769/0.1575, allocations: 8.069 MB / 482.6 MB, free: 6.324 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.06/11.22, allocations: 11.98 kB / 482.6 MB, free: 6.312 MB / 350.1 MB " [Timeout remaining time 649] (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: 14.087102707999293] Failed to read output from testmodel.py, exit status != 0: 11.325331305997679 11.343317031 11.24905056 Calling exit ...