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.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.001662/0.001662, allocations: 110 kB / 18.93 MB, free: 2.945 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.001614/0.001614, allocations: 191.7 kB / 22.23 MB, free: 5.16 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.385/1.385, allocations: 207.6 MB / 233 MB, free: 10 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.01869/0.01869, allocations: 1.97 MB / 287.2 MB, free: 3.867 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.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.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.002179/0.002179, allocations: 71.48 kB / 401.7 MB, free: 50.96 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07697/0.07915, allocations: 49.7 MB / 451.4 MB, free: 6.293 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestCylinderUnitOnOff): time 0.003514/0.08267, allocations: 3.424 MB / 454.9 MB, free: 2.848 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001239/0.0839, allocations: 0.8849 MB / 455.7 MB, free: 1.957 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001683/0.08407, allocations: 11.88 kB / 455.8 MB, free: 1.945 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001598/0.08423, allocations: 63.41 kB / 455.8 MB, free: 1.883 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002279/0.08446, allocations: 146.8 kB / 456 MB, free: 1.738 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003143/0.08477, allocations: 131.8 kB / 456.1 MB, free: 1.609 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003557/0.08513, allocations: 0.5134 MB / 456.6 MB, free: 1.094 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001828/0.08531, allocations: 109.4 kB / 456.7 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001633/0.08548, allocations: 203.2 kB / 456.9 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001727/0.08565, allocations: 207.2 kB / 457.1 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.582e-05/0.08569, allocations: 43.94 kB / 457.2 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.556e-05/0.08578, allocations: 51.98 kB / 457.2 MB, free: 492 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.115e-05/0.08583, allocations: 87.69 kB / 457.3 MB, free: 404 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001295/0.08596, allocations: 226.9 kB / 457.5 MB, free: 176 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004952/0.08646, allocations: 470.1 kB / 458 MB, free: 15.71 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.08646, allocations: 0 / 458 MB, free: 15.71 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.08646, allocations: 0 / 458 MB, free: 15.71 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.914e-06/0.08647, allocations: 4 kB / 458 MB, free: 15.7 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.001399/0.08787, allocations: 0.7514 MB / 458.7 MB, free: 14.89 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.08791, allocations: 8.031 kB / 458.7 MB, free: 14.89 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.12e-05/0.08799, allocations: 70.72 kB / 458.8 MB, free: 14.81 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.84e-05/0.08809, allocations: 48.66 kB / 458.9 MB, free: 14.76 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004778/0.08856, allocations: 319.1 kB / 459.2 MB, free: 14.41 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.38e-05/0.0886, allocations: 28.77 kB / 459.2 MB, free: 14.38 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.027e-05/0.08867, allocations: 43.94 kB / 459.2 MB, free: 14.34 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006145/0.08928, allocations: 294 kB / 459.5 MB, free: 14.05 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.608e-05/0.0893, allocations: 0 / 459.5 MB, free: 14.05 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.701e-05/0.08933, allocations: 16 kB / 459.5 MB, free: 14.03 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.021e-05/0.08934, allocations: 8 kB / 459.5 MB, free: 14.02 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005631/0.08991, allocations: 242.5 kB / 459.8 MB, free: 13.78 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00154/0.09145, allocations: 0.9133 MB / 460.7 MB, free: 12.82 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005743/0.09202, allocations: 255.2 kB / 460.9 MB, free: 12.56 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002567/0.09228, allocations: 114 kB / 461.1 MB, free: 12.45 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.669e-05/0.09231, allocations: 4.234 kB / 461.1 MB, free: 12.45 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000389/0.09269, allocations: 179.4 kB / 461.2 MB, free: 12.26 MB / 334.1 MB Notification: Performance of pre-optimization done (n=31): time 1.774e-06/0.0927, allocations: 0 / 461.2 MB, free: 12.26 MB / 334.1 MB Notification: Performance of matching and sorting (n=36): time 0.002623/0.09532, allocations: 1.243 MB / 462.5 MB, free: 10.93 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.274e-05/0.09537, allocations: 55.41 kB / 462.5 MB, free: 10.86 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003532/0.09572, allocations: 308.5 kB / 462.8 MB, free: 10.55 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.774e-05/0.09576, allocations: 33.7 kB / 462.9 MB, free: 10.51 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001559/0.09592, allocations: 196.9 kB / 463.1 MB, free: 10.31 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001025/0.09602, allocations: 122.9 kB / 463.2 MB, free: 10.19 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001286/0.09615, allocations: 74.02 kB / 463.3 MB, free: 10.11 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001644/0.09631, allocations: 346.8 kB / 463.6 MB, free: 9.766 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002918/0.09661, allocations: 118.4 kB / 463.7 MB, free: 9.648 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003072/0.09691, allocations: 149.8 kB / 463.9 MB, free: 9.492 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005501/0.09746, allocations: 277.8 kB / 464.1 MB, free: 9.203 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.09746, allocations: 3.938 kB / 464.1 MB, free: 9.199 MB / 334.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000725/0.09819, allocations: 382.1 kB / 464.5 MB, free: 8.816 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.856e-05/0.09825, allocations: 37.69 kB / 464.5 MB, free: 8.773 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.09825, allocations: 0 / 464.5 MB, free: 8.773 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.872e-05/0.09827, allocations: 4 kB / 464.5 MB, free: 8.77 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003389/0.09861, allocations: 67.91 kB / 464.6 MB, free: 8.703 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.088e-05/0.09862, allocations: 8.062 kB / 464.6 MB, free: 8.695 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002379/0.09886, allocations: 27.95 kB / 464.6 MB, free: 8.668 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.805e-05/0.09889, allocations: 12 kB / 464.7 MB, free: 8.656 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003747/0.09926, allocations: 224.5 kB / 464.9 MB, free: 8.434 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002832/0.09955, allocations: 144.9 kB / 465 MB, free: 8.285 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005074/0.1001, allocations: 280.1 kB / 465.3 MB, free: 7.996 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.272e-06/0.1001, allocations: 0 / 465.3 MB, free: 7.996 MB / 334.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0007851/0.1008, allocations: 382.4 kB / 465.7 MB, free: 7.609 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.262e-05/0.1009, allocations: 37.7 kB / 465.7 MB, free: 7.566 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.114e-06/0.1009, allocations: 64 / 465.7 MB, free: 7.566 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.37e-06/0.1009, allocations: 8 kB / 465.7 MB, free: 7.559 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002858/0.1012, allocations: 63.91 kB / 465.8 MB, free: 7.496 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.1012, allocations: 4 kB / 465.8 MB, free: 7.492 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002277/0.1014, allocations: 27.97 kB / 465.8 MB, free: 7.465 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.342e-05/0.1014, allocations: 12 kB / 465.8 MB, free: 7.453 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.000173/0.1016, allocations: 196.2 kB / 466 MB, free: 7.254 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.536e-05/0.1017, allocations: 39.7 kB / 466 MB, free: 7.215 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007213/0.1024, allocations: 344.5 kB / 466.4 MB, free: 6.867 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.1024, allocations: 4 kB / 466.4 MB, free: 6.863 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.1024, allocations: 0 / 466.4 MB, free: 6.863 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.1024, allocations: 3.984 kB / 466.4 MB, free: 6.859 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001348/0.1037, allocations: 0.8786 MB / 467.3 MB, free: 5.91 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/0.1037, allocations: 4 kB / 467.3 MB, free: 5.906 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003636/0.1041, allocations: 75.89 kB / 467.3 MB, free: 5.832 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.69e-06/0.1041, allocations: 4 kB / 467.3 MB, free: 5.828 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.662e-05/0.1041, allocations: 8 kB / 467.4 MB, free: 5.82 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.1041, allocations: 0 / 467.4 MB, free: 5.82 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.551e-06/0.1041, allocations: 7.938 kB / 467.4 MB, free: 5.812 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001014/0.1052, allocations: 0.5831 MB / 467.9 MB, free: 5.195 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001674/0.1053, allocations: 136.9 kB / 468.1 MB, free: 5.043 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.267e-05/0.1054, allocations: 12 kB / 468.1 MB, free: 5.031 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002635/0.1056, allocations: 27.97 kB / 468.1 MB, free: 5.004 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.223e-05/0.1057, allocations: 39.81 kB / 468.2 MB, free: 4.965 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.457e-05/0.1058, allocations: 12 kB / 468.2 MB, free: 4.953 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.00024/0.106, allocations: 219.1 kB / 468.4 MB, free: 4.742 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.106, allocations: 4 kB / 468.4 MB, free: 4.738 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005171/0.1065, allocations: 144 kB / 468.5 MB, free: 4.598 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.001409/0.1079, allocations: 1.142 MB / 469.7 MB, free: 3.414 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001036/0.109, allocations: 0.514 MB / 470.2 MB, free: 2.875 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.109, allocations: 4.062 kB / 470.2 MB, free: 2.871 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003313/0.1093, allocations: 147.8 kB / 470.3 MB, free: 2.727 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004822/0.1098, allocations: 57 kB / 470.4 MB, free: 2.668 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005403/0.1152, allocations: 3.6 MB / 474 MB, free: 14.94 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000464/0.1156, allocations: 0.7923 MB / 474.8 MB, free: 14.12 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002138/0.1159, allocations: 50.91 kB / 474.8 MB, free: 14.07 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002094/0.1161, allocations: 119.4 kB / 474.9 MB, free: 13.96 MB / 350.1 MB Notification: Performance of SimCode: time 7.71e-07/0.1161, allocations: 4 kB / 475 MB, free: 13.95 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03228/0.1484, allocations: 7.947 MB / 482.9 MB, free: 5.953 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.462/8.61, allocations: 12.42 kB / 482.9 MB, free: 5.941 MB / 350.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.462834719801322] Failed to read output from testmodel.py, exit status != 0: 8.687141933944076 8.719478117 8.62716141 Calling exit ...