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.001516/0.001516, 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.001571/0.001571, allocations: 212.1 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.429/1.429, allocations: 207.7 MB / 233.1 MB, free: 9.777 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.0118/0.0118, allocations: 1.966 MB / 287.3 MB, free: 3.68 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.0021/0.0021, allocations: 68.41 kB / 401.8 MB, free: 50.78 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07235/0.07445, allocations: 49.71 MB / 451.5 MB, free: 6.086 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestCylinderUnitOnOff): time 0.003331/0.07778, allocations: 3.136 MB / 454.6 MB, free: 2.93 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001176/0.07895, allocations: 0.8499 MB / 455.5 MB, free: 2.074 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001531/0.07911, allocations: 4 kB / 455.5 MB, free: 2.07 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001658/0.07927, allocations: 67.34 kB / 455.5 MB, free: 2.004 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002217/0.07949, allocations: 146.8 kB / 455.7 MB, free: 1.859 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002911/0.07978, allocations: 127.8 kB / 455.8 MB, free: 1.734 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003435/0.08013, allocations: 0.5134 MB / 456.3 MB, free: 1.219 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001772/0.08031, allocations: 105.4 kB / 456.4 MB, free: 1.105 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001621/0.08047, allocations: 199.2 kB / 456.6 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001823/0.08065, allocations: 187 kB / 456.8 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.842e-05/0.0807, allocations: 40 kB / 456.8 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.545e-05/0.08079, allocations: 47.98 kB / 456.9 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.466e-05/0.08085, allocations: 91.69 kB / 457 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001295/0.08098, allocations: 183.2 kB / 457.1 MB, free: 380 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004202/0.0814, allocations: 478.1 kB / 457.6 MB, free: 15.9 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.0814, allocations: 0 / 457.6 MB, free: 15.9 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.0814, allocations: 0 / 457.6 MB, free: 15.9 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.907e-06/0.08141, allocations: 0 / 457.6 MB, free: 15.9 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.00135/0.08276, allocations: 0.6761 MB / 458.3 MB, free: 15.18 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.0828, allocations: 8.031 kB / 458.3 MB, free: 15.18 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.409e-05/0.08289, allocations: 70.72 kB / 458.4 MB, free: 15.1 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.566e-05/0.08297, allocations: 52.59 kB / 458.4 MB, free: 15.05 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004517/0.08342, allocations: 265.2 kB / 458.7 MB, free: 14.76 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.673e-05/0.08346, allocations: 28.78 kB / 458.7 MB, free: 14.73 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.166e-05/0.08352, allocations: 35.95 kB / 458.7 MB, free: 14.7 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006176/0.08414, allocations: 349.4 kB / 459.1 MB, free: 14.34 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.951e-05/0.08416, allocations: 3.984 kB / 459.1 MB, free: 14.33 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.324e-05/0.08419, allocations: 15.98 kB / 459.1 MB, free: 14.32 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.015e-05/0.0842, allocations: 8 kB / 459.1 MB, free: 14.31 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000542/0.08474, allocations: 234.5 kB / 459.3 MB, free: 14.08 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001479/0.08622, allocations: 0.7967 MB / 460.1 MB, free: 13.24 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005861/0.08681, allocations: 247.2 kB / 460.4 MB, free: 12.99 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000251/0.08706, allocations: 102.9 kB / 460.5 MB, free: 12.89 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.864e-05/0.08709, allocations: 8.219 kB / 460.5 MB, free: 12.88 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004324/0.08752, allocations: 238.9 kB / 460.7 MB, free: 12.62 MB / 334.1 MB Notification: Performance of pre-optimization done (n=31): time 1.713e-06/0.08752, allocations: 0 / 460.7 MB, free: 12.62 MB / 334.1 MB Notification: Performance of matching and sorting (n=36): time 0.002441/0.08996, allocations: 1.093 MB / 461.8 MB, free: 11.48 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.243e-05/0.09002, allocations: 55.41 kB / 461.9 MB, free: 11.41 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003478/0.09036, allocations: 308.5 kB / 462.2 MB, free: 11.1 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.674e-05/0.0904, allocations: 33.7 kB / 462.2 MB, free: 11.06 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001525/0.09055, allocations: 188.9 kB / 462.4 MB, free: 10.88 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001123/0.09067, allocations: 130.9 kB / 462.5 MB, free: 10.75 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001134/0.09078, allocations: 74.02 kB / 462.6 MB, free: 10.67 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000179/0.09096, allocations: 342.8 kB / 462.9 MB, free: 10.32 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002893/0.09125, allocations: 144.1 kB / 463.1 MB, free: 10.18 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003134/0.09156, allocations: 183.5 kB / 463.2 MB, free: 9.977 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005231/0.09208, allocations: 273.8 kB / 463.5 MB, free: 9.691 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.09209, allocations: 0 / 463.5 MB, free: 9.691 MB / 334.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007285/0.09281, allocations: 419.8 kB / 463.9 MB, free: 9.266 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.272e-05/0.09286, allocations: 37.69 kB / 463.9 MB, free: 9.223 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.09287, allocations: 4 kB / 464 MB, free: 9.219 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.03e-05/0.09289, allocations: 4 kB / 464 MB, free: 9.215 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003404/0.09323, allocations: 71.84 kB / 464 MB, free: 9.145 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104e-05/0.09324, allocations: 7.984 kB / 464 MB, free: 9.137 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002387/0.09348, allocations: 19.98 kB / 464.1 MB, free: 9.117 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.774e-05/0.0935, allocations: 12 kB / 464.1 MB, free: 9.105 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003836/0.09389, allocations: 254.2 kB / 464.3 MB, free: 8.848 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002977/0.09418, allocations: 178.6 kB / 464.5 MB, free: 8.66 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005004/0.09469, allocations: 272.1 kB / 464.8 MB, free: 8.379 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.513e-06/0.09469, allocations: 4 kB / 464.8 MB, free: 8.375 MB / 334.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0007052/0.09539, allocations: 408.2 kB / 465.2 MB, free: 7.957 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.096e-05/0.09542, allocations: 37.7 kB / 465.2 MB, free: 7.914 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.014e-06/0.09542, allocations: 7.875 kB / 465.2 MB, free: 7.906 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.099e-06/0.09543, allocations: 4 kB / 465.2 MB, free: 7.902 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002826/0.09571, allocations: 67.89 kB / 465.3 MB, free: 7.836 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.09572, allocations: 4 kB / 465.3 MB, free: 7.832 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002248/0.09594, allocations: 27.97 kB / 465.3 MB, free: 7.805 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.343e-05/0.09597, allocations: 12 kB / 465.3 MB, free: 7.793 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.0001581/0.09613, allocations: 204.2 kB / 465.5 MB, free: 7.586 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.306e-05/0.09619, allocations: 39.7 kB / 465.6 MB, free: 7.547 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007003/0.09689, allocations: 348.6 kB / 465.9 MB, free: 7.195 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.194e-06/0.0969, allocations: 4 kB / 465.9 MB, free: 7.191 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.0969, allocations: 0 / 465.9 MB, free: 7.191 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.09691, allocations: 0 / 465.9 MB, free: 7.191 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001332/0.09824, allocations: 0.7997 MB / 466.7 MB, free: 6.328 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.09824, allocations: 3.984 kB / 466.7 MB, free: 6.324 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003582/0.0986, allocations: 75.89 kB / 466.8 MB, free: 6.25 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.262e-06/0.09861, allocations: 4 kB / 466.8 MB, free: 6.246 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.495e-05/0.09863, allocations: 8 kB / 466.8 MB, free: 6.238 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.529e-06/0.09864, allocations: 4 kB / 466.8 MB, free: 6.234 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.09864, allocations: 3.938 kB / 466.8 MB, free: 6.23 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009989/0.09964, allocations: 0.5829 MB / 467.4 MB, free: 5.613 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001438/0.09978, allocations: 59.78 kB / 467.4 MB, free: 5.555 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.317e-05/0.09983, allocations: 11.98 kB / 467.4 MB, free: 5.543 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002666/0.1001, allocations: 27.97 kB / 467.5 MB, free: 5.516 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.084e-05/0.1002, allocations: 31.89 kB / 467.5 MB, free: 5.484 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.414e-05/0.1002, allocations: 12 kB / 467.5 MB, free: 5.473 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002371/0.1005, allocations: 219.1 kB / 467.7 MB, free: 5.258 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1005, allocations: 0 / 467.7 MB, free: 5.258 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004925/0.1009, allocations: 151.9 kB / 467.9 MB, free: 5.109 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.001323/0.1023, allocations: 1.139 MB / 469 MB, free: 3.93 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00102/0.1033, allocations: 0.5682 MB / 469.6 MB, free: 3.324 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.1033, allocations: 0 / 469.6 MB, free: 3.324 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003123/0.1036, allocations: 147.8 kB / 469.7 MB, free: 3.18 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004708/0.1041, allocations: 65 kB / 469.8 MB, free: 3.117 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005128/0.1092, allocations: 3.712 MB / 473.5 MB, free: 15.25 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001911/0.1094, allocations: 195.6 kB / 473.7 MB, free: 15.04 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001903/0.1096, allocations: 42.94 kB / 473.7 MB, free: 15 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001901/0.1098, allocations: 123.4 kB / 473.9 MB, free: 14.88 MB / 350.1 MB Notification: Performance of SimCode: time 7.41e-07/0.1098, allocations: 0 / 473.9 MB, free: 14.88 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0395/0.1493, allocations: 8.55 MB / 482.4 MB, free: 6.258 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.93/11.08, allocations: 4.062 kB / 482.4 MB, free: 6.254 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: 13.961952806916088] Failed to read output from testmodel.py, exit status != 0: 11.184261256828904 11.199485063 11.115215296 Calling exit ...