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.001363/0.001363, allocations: 103.8 kB / 18.94 MB, free: 2.699 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.001433/0.001433, allocations: 223.8 kB / 22.25 MB, free: 5.227 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.442/1.442, allocations: 207.7 MB / 233.1 MB, free: 9.801 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.009671/0.009671, allocations: 1.958 MB / 287.3 MB, free: 3.684 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.002166/0.002166, allocations: 72.52 kB / 401.8 MB, free: 50.81 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09145/0.09362, allocations: 49.7 MB / 451.5 MB, free: 6.09 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestCylinderUnitOnOff): time 0.004091/0.09771, allocations: 3.128 MB / 454.6 MB, free: 2.941 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001529/0.09924, allocations: 0.8499 MB / 455.4 MB, free: 2.086 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000171/0.09941, allocations: 7.938 kB / 455.5 MB, free: 2.078 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000178/0.09959, allocations: 59.36 kB / 455.5 MB, free: 2.02 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002278/0.09982, allocations: 146.8 kB / 455.7 MB, free: 1.875 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003173/0.1001, allocations: 123.8 kB / 455.8 MB, free: 1.754 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000403/0.1005, allocations: 0.5172 MB / 456.3 MB, free: 1.234 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002126/0.1007, allocations: 121.3 kB / 456.4 MB, free: 1.105 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001778/0.1009, allocations: 203.2 kB / 456.6 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002067/0.1011, allocations: 199.1 kB / 456.8 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.166e-05/0.1012, allocations: 43.94 kB / 456.8 MB, free: 0.668 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001143/0.1013, allocations: 55.98 kB / 456.9 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.736e-05/0.1014, allocations: 79.75 kB / 457 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001805/0.1016, allocations: 187.1 kB / 457.2 MB, free: 360 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005235/0.1021, allocations: 478.1 kB / 457.6 MB, free: 15.88 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.1021, allocations: 0 / 457.6 MB, free: 15.88 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1021, allocations: 4 kB / 457.6 MB, free: 15.88 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.705e-06/0.1021, allocations: 4 kB / 457.6 MB, free: 15.87 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.001452/0.1035, allocations: 0.676 MB / 458.3 MB, free: 15.16 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.386e-05/0.1036, allocations: 12.03 kB / 458.3 MB, free: 15.14 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.784e-05/0.1037, allocations: 70.66 kB / 458.4 MB, free: 15.07 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.442e-05/0.1038, allocations: 48.66 kB / 458.4 MB, free: 15.02 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004779/0.1043, allocations: 257.3 kB / 458.7 MB, free: 14.74 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.421e-05/0.1043, allocations: 28.78 kB / 458.7 MB, free: 14.71 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.026e-05/0.1044, allocations: 39.95 kB / 458.8 MB, free: 14.67 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006367/0.105, allocations: 341.5 kB / 459.1 MB, free: 14.32 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.773e-05/0.105, allocations: 0 / 459.1 MB, free: 14.32 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.341e-05/0.1051, allocations: 12 kB / 459.1 MB, free: 14.31 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.818e-05/0.1051, allocations: 11.98 kB / 459.1 MB, free: 14.3 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005551/0.1056, allocations: 238.5 kB / 459.3 MB, free: 14.06 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001535/0.1072, allocations: 0.7967 MB / 460.1 MB, free: 13.22 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00057/0.1077, allocations: 251.2 kB / 460.4 MB, free: 12.97 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002393/0.108, allocations: 106.9 kB / 460.5 MB, free: 12.86 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.05e-05/0.108, allocations: 8.234 kB / 460.5 MB, free: 12.86 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004378/0.1084, allocations: 238.8 kB / 460.7 MB, free: 12.6 MB / 334.1 MB Notification: Performance of pre-optimization done (n=31): time 1.784e-06/0.1085, allocations: 0 / 460.7 MB, free: 12.6 MB / 334.1 MB Notification: Performance of matching and sorting (n=36): time 0.002694/0.1111, allocations: 1.093 MB / 461.8 MB, free: 11.45 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.202e-05/0.1112, allocations: 55.41 kB / 461.9 MB, free: 11.39 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003984/0.1116, allocations: 308.5 kB / 462.2 MB, free: 11.08 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.036e-05/0.1117, allocations: 37.7 kB / 462.2 MB, free: 11.04 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001973/0.1119, allocations: 188.9 kB / 462.4 MB, free: 10.85 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001272/0.112, allocations: 126.9 kB / 462.5 MB, free: 10.72 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001413/0.1121, allocations: 70.03 kB / 462.6 MB, free: 10.65 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002359/0.1124, allocations: 350.8 kB / 462.9 MB, free: 10.3 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003221/0.1127, allocations: 140.1 kB / 463.1 MB, free: 10.15 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000355/0.113, allocations: 179.5 kB / 463.3 MB, free: 9.961 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006068/0.1136, allocations: 277.8 kB / 463.5 MB, free: 9.672 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.1136, allocations: 0 / 463.5 MB, free: 9.672 MB / 334.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008781/0.1145, allocations: 415.8 kB / 463.9 MB, free: 9.25 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.876e-05/0.1146, allocations: 37.69 kB / 464 MB, free: 9.207 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.1146, allocations: 0 / 464 MB, free: 9.207 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.803e-05/0.1146, allocations: 4 kB / 464 MB, free: 9.203 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003649/0.115, allocations: 67.91 kB / 464 MB, free: 9.137 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.123e-05/0.115, allocations: 4 kB / 464 MB, free: 9.133 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002323/0.1152, allocations: 23.97 kB / 464.1 MB, free: 9.109 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.894e-05/0.1153, allocations: 16.06 kB / 464.1 MB, free: 9.094 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003987/0.1157, allocations: 250.2 kB / 464.3 MB, free: 8.84 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002831/0.1159, allocations: 178.6 kB / 464.5 MB, free: 8.652 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005043/0.1164, allocations: 272.1 kB / 464.8 MB, free: 8.371 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.383e-06/0.1165, allocations: 4 kB / 464.8 MB, free: 8.367 MB / 334.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0006979/0.1171, allocations: 416.1 kB / 465.2 MB, free: 7.941 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.697e-05/0.1172, allocations: 37.64 kB / 465.2 MB, free: 7.898 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.053e-06/0.1172, allocations: 0 / 465.2 MB, free: 7.898 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.879e-06/0.1172, allocations: 4 kB / 465.2 MB, free: 7.895 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002899/0.1175, allocations: 75.83 kB / 465.3 MB, free: 7.82 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.1175, allocations: 4 kB / 465.3 MB, free: 7.816 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002146/0.1177, allocations: 19.98 kB / 465.3 MB, free: 7.797 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.365e-05/0.1177, allocations: 16 kB / 465.3 MB, free: 7.781 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.0002153/0.1179, allocations: 208.2 kB / 465.5 MB, free: 7.57 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.721e-05/0.118, allocations: 39.7 kB / 465.6 MB, free: 7.531 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007899/0.1188, allocations: 336.7 kB / 465.9 MB, free: 7.191 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.077e-06/0.1188, allocations: 7.984 kB / 465.9 MB, free: 7.184 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.1188, allocations: 0 / 465.9 MB, free: 7.184 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.1188, allocations: 0 / 465.9 MB, free: 7.184 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001514/0.1203, allocations: 0.7958 MB / 466.7 MB, free: 6.324 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.1203, allocations: 0 / 466.7 MB, free: 6.324 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003798/0.1207, allocations: 79.88 kB / 466.8 MB, free: 6.246 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.612e-06/0.1207, allocations: 4 kB / 466.8 MB, free: 6.242 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.567e-05/0.1207, allocations: 8 kB / 466.8 MB, free: 6.234 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.44e-06/0.1207, allocations: 4 kB / 466.8 MB, free: 6.23 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.1207, allocations: 3.938 kB / 466.8 MB, free: 6.227 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001056/0.1218, allocations: 0.587 MB / 467.4 MB, free: 5.605 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000143/0.1219, allocations: 59.81 kB / 467.4 MB, free: 5.547 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.852e-05/0.122, allocations: 15.98 kB / 467.5 MB, free: 5.531 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002525/0.1223, allocations: 19.98 kB / 467.5 MB, free: 5.512 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.088e-05/0.1223, allocations: 35.88 kB / 467.5 MB, free: 5.477 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.462e-05/0.1224, allocations: 15.94 kB / 467.5 MB, free: 5.461 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002524/0.1226, allocations: 219.1 kB / 467.7 MB, free: 5.246 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1226, allocations: 4 kB / 467.8 MB, free: 5.242 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005322/0.1232, allocations: 148 kB / 467.9 MB, free: 5.098 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.001404/0.1246, allocations: 1.146 MB / 469 MB, free: 3.91 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001087/0.1256, allocations: 0.5718 MB / 469.6 MB, free: 3.301 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1257, allocations: 0 / 469.6 MB, free: 3.301 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003188/0.126, allocations: 147.8 kB / 469.8 MB, free: 3.156 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004829/0.1265, allocations: 61.55 kB / 469.8 MB, free: 3.098 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005364/0.1318, allocations: 3.704 MB / 473.5 MB, free: 15.24 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002115/0.132, allocations: 191.6 kB / 473.7 MB, free: 15.03 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001828/0.1322, allocations: 46.88 kB / 473.8 MB, free: 14.99 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002005/0.1324, allocations: 119.4 kB / 473.9 MB, free: 14.87 MB / 350.1 MB Notification: Performance of SimCode: time 9.01e-07/0.1324, allocations: 0 / 473.9 MB, free: 14.87 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03995/0.1724, allocations: 8.728 MB / 482.6 MB, free: 6.07 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.86/12.03, allocations: 0 / 482.6 MB, free: 6.07 MB / 350.1 MB " [Timeout remaining time 648] (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.884275135002099] Failed to read output from testmodel.py, exit status != 0: 12.136535420024302 12.152253649 12.047184496 Calling exit ...