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.00111/0.00111, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.0009522/0.0009522, allocations: 165.9 kB / 22.45 MB, free: 2.113 MB / 18.57 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 0.8476/0.8476, allocations: 158.6 MB / 184.2 MB, free: 3.051 MB / 170.7 MB " [Timeout remaining time 179] 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.006263/0.006263, allocations: 1.435 MB / 237.9 MB, free: 13.93 MB / 234.7 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: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 352.5 MB, free: 15.91 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.578e-05/1.738e-05, allocations: 6.219 kB / 352.5 MB, free: 15.91 MB / 282.7 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestCylinderUnitOnOff): time 0.002863/0.00288, allocations: 3.136 MB / 355.6 MB, free: 12.75 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001395/0.004276, allocations: 0.8501 MB / 356.4 MB, free: 11.89 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001943/0.00447, allocations: 4 kB / 356.4 MB, free: 11.89 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001422/0.004612, allocations: 67.34 kB / 356.5 MB, free: 11.82 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002081/0.00482, allocations: 154.7 kB / 356.7 MB, free: 11.67 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003137/0.005134, allocations: 115.8 kB / 356.8 MB, free: 11.55 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003318/0.005466, allocations: 0.5442 MB / 357.3 MB, free: 11.01 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001702/0.005636, allocations: 109.3 kB / 357.4 MB, free: 10.89 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002367/0.005873, allocations: 295.3 kB / 357.7 MB, free: 10.61 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001451/0.006018, allocations: 155.5 kB / 357.9 MB, free: 10.45 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.933e-05/0.006057, allocations: 44 kB / 357.9 MB, free: 10.41 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.073e-05/0.006128, allocations: 44 kB / 358 MB, free: 10.37 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.535e-05/0.006173, allocations: 91.66 kB / 358 MB, free: 10.28 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 9.445e-05/0.006268, allocations: 151.6 kB / 358.2 MB, free: 10.13 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004006/0.006668, allocations: 482.6 kB / 358.7 MB, free: 9.656 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.756e-06/0.006671, allocations: 0 / 358.7 MB, free: 9.656 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.006672, allocations: 0 / 358.7 MB, free: 9.656 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.035e-05/0.006683, allocations: 4 kB / 358.7 MB, free: 9.652 MB / 282.7 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.0008416/0.007524, allocations: 0.6722 MB / 359.3 MB, free: 8.941 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.007564, allocations: 8.031 kB / 359.3 MB, free: 8.934 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.297e-05/0.007607, allocations: 78.66 kB / 359.4 MB, free: 8.848 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.129e-05/0.007668, allocations: 52.59 kB / 359.5 MB, free: 8.797 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000283/0.007951, allocations: 248.6 kB / 359.7 MB, free: 8.527 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.863e-05/0.007969, allocations: 28.97 kB / 359.7 MB, free: 8.5 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.663e-05/0.008006, allocations: 40.31 kB / 359.8 MB, free: 8.461 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003542/0.00836, allocations: 349.6 kB / 360.1 MB, free: 8.098 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.348e-05/0.008384, allocations: 4 kB / 360.1 MB, free: 8.094 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.278e-05/0.008407, allocations: 12 kB / 360.1 MB, free: 8.082 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.645e-06/0.008414, allocations: 8 kB / 360.2 MB, free: 8.074 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002875/0.008702, allocations: 238.5 kB / 360.4 MB, free: 7.844 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008956/0.009597, allocations: 0.7968 MB / 361.2 MB, free: 7.004 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003223/0.00992, allocations: 250.9 kB / 361.4 MB, free: 6.75 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000127/0.01005, allocations: 105.3 kB / 361.5 MB, free: 6.645 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.938e-05/0.01007, allocations: 4.234 kB / 361.5 MB, free: 6.641 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002232/0.01029, allocations: 234.9 kB / 361.8 MB, free: 6.387 MB / 282.7 MB Notification: Performance of pre-optimization done (n=31): time 1.664e-06/0.01029, allocations: 3.938 kB / 361.8 MB, free: 6.383 MB / 282.7 MB Notification: Performance of matching and sorting (n=36): time 0.001321/0.01161, allocations: 1.093 MB / 362.9 MB, free: 5.238 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.628e-05/0.01164, allocations: 59.39 kB / 362.9 MB, free: 5.168 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001667/0.0118, allocations: 304.5 kB / 363.2 MB, free: 4.863 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.612e-05/0.01182, allocations: 33.7 kB / 363.2 MB, free: 4.824 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.43e-05/0.01188, allocations: 192.9 kB / 363.4 MB, free: 4.633 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.384e-05/0.01193, allocations: 123 kB / 363.6 MB, free: 4.512 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.472e-05/0.01199, allocations: 78.02 kB / 363.6 MB, free: 4.43 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.211e-05/0.01204, allocations: 342.8 kB / 364 MB, free: 4.086 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001506/0.01219, allocations: 148.1 kB / 364.1 MB, free: 3.934 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001495/0.01234, allocations: 175.9 kB / 364.3 MB, free: 3.746 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002601/0.0126, allocations: 281.7 kB / 364.6 MB, free: 3.453 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.0126, allocations: 0 / 364.6 MB, free: 3.453 MB / 282.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0004077/0.013, allocations: 411.9 kB / 365 MB, free: 3.035 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.492e-05/0.01303, allocations: 52.17 kB / 365 MB, free: 2.98 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.01303, allocations: 0 / 365 MB, free: 2.98 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.01305, allocations: 0 / 365 MB, free: 2.98 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001979/0.01325, allocations: 71.89 kB / 365.1 MB, free: 2.91 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.01325, allocations: 4 kB / 365.1 MB, free: 2.906 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001212/0.01337, allocations: 23.98 kB / 365.1 MB, free: 2.883 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.974e-05/0.01339, allocations: 16.06 kB / 365.1 MB, free: 2.867 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000185/0.01358, allocations: 250.3 kB / 365.4 MB, free: 2.613 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001343/0.01371, allocations: 171 kB / 365.5 MB, free: 2.43 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002375/0.01395, allocations: 272.3 kB / 365.8 MB, free: 2.148 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.332e-06/0.01395, allocations: 0 / 365.8 MB, free: 2.148 MB / 282.7 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0003286/0.01428, allocations: 416.2 kB / 366.2 MB, free: 1.723 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.01429, allocations: 37.69 kB / 366.2 MB, free: 1.68 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.044e-06/0.01429, allocations: 0 / 366.2 MB, free: 1.68 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.288e-06/0.0143, allocations: 11.92 kB / 366.3 MB, free: 1.668 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001315/0.01443, allocations: 67.91 kB / 366.3 MB, free: 1.602 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.336e-06/0.01443, allocations: 4 kB / 366.3 MB, free: 1.598 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.958e-05/0.01453, allocations: 23.97 kB / 366.4 MB, free: 1.574 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.092e-05/0.01454, allocations: 12 kB / 366.4 MB, free: 1.562 MB / 282.7 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 6.063e-05/0.0146, allocations: 208.2 kB / 366.6 MB, free: 1.352 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.45e-05/0.01463, allocations: 35.77 kB / 366.6 MB, free: 1.316 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003395/0.01497, allocations: 336.8 kB / 366.9 MB, free: 0.9805 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.01497, allocations: 4 kB / 366.9 MB, free: 0.9766 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.01498, allocations: 4 kB / 366.9 MB, free: 0.9727 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.01498, allocations: 0 / 366.9 MB, free: 0.9727 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006539/0.01563, allocations: 0.8072 MB / 367.7 MB, free: 104 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.01564, allocations: 4 kB / 367.7 MB, free: 100 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001812/0.01582, allocations: 71.89 kB / 367.8 MB, free: 28 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.095e-06/0.01582, allocations: 7.938 kB / 367.8 MB, free: 20 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.476e-05/0.01584, allocations: 8 kB / 367.8 MB, free: 12 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.01584, allocations: 8 kB / 367.8 MB, free: 4 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.01584, allocations: 0 / 367.8 MB, free: 4 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006384/0.01648, allocations: 0.5867 MB / 368.4 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.983e-05/0.01658, allocations: 63.77 kB / 368.5 MB, free: 15.32 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.182e-05/0.01661, allocations: 8 kB / 368.5 MB, free: 15.31 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001287/0.01674, allocations: 27.97 kB / 368.5 MB, free: 15.29 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.276e-05/0.01681, allocations: 39.83 kB / 368.6 MB, free: 15.25 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.428e-05/0.01683, allocations: 11.98 kB / 368.6 MB, free: 15.23 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001533/0.01698, allocations: 219.1 kB / 368.8 MB, free: 15.02 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01698, allocations: 4 kB / 368.8 MB, free: 15.02 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003278/0.01731, allocations: 144 kB / 368.9 MB, free: 14.88 MB / 298.7 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.0008023/0.01811, allocations: 1.135 MB / 370.1 MB, free: 13.7 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006165/0.01873, allocations: 0.5682 MB / 370.6 MB, free: 13.09 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.01873, allocations: 0 / 370.6 MB, free: 13.09 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001837/0.01891, allocations: 143.8 kB / 370.8 MB, free: 12.95 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003179/0.01923, allocations: 66.17 kB / 370.8 MB, free: 12.88 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003356/0.02259, allocations: 3.639 MB / 374.5 MB, free: 9.086 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001307/0.02272, allocations: 191.7 kB / 374.7 MB, free: 8.883 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001359/0.02285, allocations: 42.94 kB / 374.7 MB, free: 8.84 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001326/0.02299, allocations: 120.4 kB / 374.8 MB, free: 8.723 MB / 298.7 MB Notification: Performance of SimCode: time 8.11e-07/0.02299, allocations: 0 / 374.8 MB, free: 8.723 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02334/0.04633, allocations: 8.666 MB / 383.5 MB, free: 8 kB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.456/7.502, allocations: 8.047 kB / 383.5 MB, free: 16 MB / 314.7 MB " [Timeout remaining time 652] (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: 9.488995453342795] Failed to read output from testmodel.py, exit status != 0: 7.586267144419253 7.596014313 7.587664906 Calling exit ...