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.001709/0.001709, allocations: 110.1 kB / 19.73 MB, free: 2.242 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.002087/0.002087, allocations: 218.6 kB / 23.04 MB, free: 5.074 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.42/1.42, allocations: 207.6 MB / 233.8 MB, free: 9.965 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.008851/0.008851, allocations: 1.962 MB / 288 MB, free: 3.852 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(MEV.Test.TestCylinderUnitOnOff,fileNamePrefix="MEV_MEV_Test_TestCylinderUnitOnOff",fmuType="cs",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.002093/0.002093, allocations: 72.53 kB / 402.6 MB, free: 50.93 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08216/0.08425, allocations: 49.71 MB / 452.3 MB, free: 6.242 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestCylinderUnitOnOff): time 0.003506/0.08775, allocations: 3.429 MB / 455.7 MB, free: 2.793 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001178/0.08893, allocations: 0.8927 MB / 456.6 MB, free: 1.895 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001682/0.0891, allocations: 11.94 kB / 456.6 MB, free: 1.883 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001614/0.08926, allocations: 55.42 kB / 456.7 MB, free: 1.828 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002227/0.08948, allocations: 154.7 kB / 456.8 MB, free: 1.676 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003098/0.08979, allocations: 119.8 kB / 456.9 MB, free: 1.559 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003794/0.09017, allocations: 0.5134 MB / 457.4 MB, free: 1.043 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001841/0.09036, allocations: 113.3 kB / 457.6 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000175/0.09053, allocations: 211.2 kB / 457.8 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001979/0.09073, allocations: 195.2 kB / 458 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.534e-05/0.09078, allocations: 44 kB / 458 MB, free: 492 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.794e-05/0.09086, allocations: 44 kB / 458 MB, free: 448 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.559e-05/0.09092, allocations: 95.62 kB / 458.1 MB, free: 352 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001397/0.09106, allocations: 230.9 kB / 458.4 MB, free: 120 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005664/0.09163, allocations: 470.3 kB / 458.8 MB, free: 15.65 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.09163, allocations: 0 / 458.8 MB, free: 15.65 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.09163, allocations: 0 / 458.8 MB, free: 15.65 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.744e-06/0.09164, allocations: 0 / 458.8 MB, free: 15.65 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.001408/0.09305, allocations: 0.6761 MB / 459.5 MB, free: 14.93 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/0.09309, allocations: 16.02 kB / 459.5 MB, free: 14.92 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.266e-05/0.09312, allocations: 8.844 kB / 459.5 MB, free: 14.91 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.186e-05/0.0932, allocations: 66.72 kB / 459.6 MB, free: 14.84 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.01e-05/0.09329, allocations: 48.66 kB / 459.6 MB, free: 14.79 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004656/0.09375, allocations: 253.3 kB / 459.9 MB, free: 14.51 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.434e-05/0.09379, allocations: 36.59 kB / 459.9 MB, free: 14.48 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.245e-05/0.09385, allocations: 35.95 kB / 459.9 MB, free: 14.44 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006086/0.09446, allocations: 298 kB / 460.2 MB, free: 14.14 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.612e-05/0.09447, allocations: 0 / 460.2 MB, free: 14.14 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.301e-05/0.09451, allocations: 12 kB / 460.2 MB, free: 14.13 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.023e-05/0.09452, allocations: 8 kB / 460.3 MB, free: 14.12 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005578/0.09508, allocations: 234.5 kB / 460.5 MB, free: 13.89 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001553/0.09663, allocations: 0.8862 MB / 461.4 MB, free: 12.97 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005686/0.0972, allocations: 251.2 kB / 461.6 MB, free: 12.71 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002535/0.09745, allocations: 110.9 kB / 461.7 MB, free: 12.61 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.808e-05/0.09748, allocations: 8.172 kB / 461.7 MB, free: 12.6 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004053/0.09788, allocations: 179.5 kB / 461.9 MB, free: 12.41 MB / 334.1 MB Notification: Performance of pre-optimization done (n=31): time 1.843e-06/0.09789, allocations: 0 / 461.9 MB, free: 12.41 MB / 334.1 MB Notification: Performance of matching and sorting (n=36): time 0.002509/0.1004, allocations: 1.089 MB / 463 MB, free: 11.27 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.439e-05/0.1005, allocations: 59.41 kB / 463.1 MB, free: 11.2 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000344/0.1008, allocations: 312.5 kB / 463.4 MB, free: 10.89 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.605e-05/0.1008, allocations: 33.7 kB / 463.4 MB, free: 10.85 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001575/0.101, allocations: 196.8 kB / 463.6 MB, free: 10.65 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001133/0.1011, allocations: 123 kB / 463.7 MB, free: 10.53 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001222/0.1012, allocations: 78.02 kB / 463.8 MB, free: 10.45 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001625/0.1014, allocations: 334.8 kB / 464.1 MB, free: 10.11 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002982/0.1017, allocations: 118.4 kB / 464.2 MB, free: 9.996 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002915/0.102, allocations: 153.8 kB / 464.4 MB, free: 9.836 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005505/0.1025, allocations: 277.8 kB / 464.6 MB, free: 9.547 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.1025, allocations: 8 kB / 464.7 MB, free: 9.539 MB / 334.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007199/0.1033, allocations: 382.1 kB / 465 MB, free: 9.156 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.957e-05/0.1033, allocations: 37.69 kB / 465.1 MB, free: 9.113 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.737e-06/0.1033, allocations: 4 kB / 465.1 MB, free: 9.109 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.1033, allocations: 0 / 465.1 MB, free: 9.109 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003362/0.1037, allocations: 67.91 kB / 465.1 MB, free: 9.043 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.116e-05/0.1037, allocations: 7.984 kB / 465.1 MB, free: 9.035 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002402/0.1039, allocations: 24.05 kB / 465.2 MB, free: 9.012 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.058e-05/0.1039, allocations: 16 kB / 465.2 MB, free: 8.996 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003689/0.1043, allocations: 220.5 kB / 465.4 MB, free: 8.777 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000301/0.1046, allocations: 148.9 kB / 465.5 MB, free: 8.625 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004928/0.1051, allocations: 276.1 kB / 465.8 MB, free: 8.34 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.193e-06/0.1051, allocations: 0 / 465.8 MB, free: 8.34 MB / 334.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0006949/0.1058, allocations: 390.4 kB / 466.2 MB, free: 7.945 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.635e-05/0.1058, allocations: 29.7 kB / 466.2 MB, free: 7.91 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.874e-06/0.1058, allocations: 0 / 466.2 MB, free: 7.91 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.216e-06/0.1058, allocations: 4 kB / 466.2 MB, free: 7.906 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002915/0.1061, allocations: 79.95 kB / 466.3 MB, free: 7.828 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.046e-06/0.1061, allocations: 0 / 466.3 MB, free: 7.828 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002269/0.1064, allocations: 19.98 kB / 466.3 MB, free: 7.809 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.448e-05/0.1064, allocations: 12 kB / 466.3 MB, free: 7.797 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.0001509/0.1065, allocations: 204.1 kB / 466.5 MB, free: 7.59 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.337e-05/0.1066, allocations: 39.75 kB / 466.6 MB, free: 7.551 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006855/0.1073, allocations: 340.6 kB / 466.9 MB, free: 7.207 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.1073, allocations: 4 kB / 466.9 MB, free: 7.203 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.1073, allocations: 0 / 466.9 MB, free: 7.203 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.948e-06/0.1073, allocations: 7.969 kB / 466.9 MB, free: 7.195 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001308/0.1086, allocations: 0.8463 MB / 467.8 MB, free: 6.285 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.1086, allocations: 4 kB / 467.8 MB, free: 6.281 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003637/0.109, allocations: 79.88 kB / 467.8 MB, free: 6.203 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.442e-06/0.109, allocations: 4 kB / 467.8 MB, free: 6.199 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.408e-05/0.109, allocations: 8 kB / 467.9 MB, free: 6.191 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.332e-06/0.109, allocations: 7.938 kB / 467.9 MB, free: 6.184 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.109, allocations: 0 / 467.9 MB, free: 6.184 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009893/0.11, allocations: 0.5792 MB / 468.4 MB, free: 5.57 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001316/0.1101, allocations: 59.81 kB / 468.5 MB, free: 5.512 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.504e-05/0.1102, allocations: 15.98 kB / 468.5 MB, free: 5.496 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002616/0.1104, allocations: 23.92 kB / 468.5 MB, free: 5.473 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.979e-05/0.1105, allocations: 39.94 kB / 468.6 MB, free: 5.434 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.424e-05/0.1106, allocations: 12 kB / 468.6 MB, free: 5.422 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002273/0.1108, allocations: 219.1 kB / 468.8 MB, free: 5.207 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1108, allocations: 0 / 468.8 MB, free: 5.207 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004857/0.1113, allocations: 144 kB / 468.9 MB, free: 5.066 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.001327/0.1126, allocations: 1.15 MB / 470.1 MB, free: 3.875 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001019/0.1136, allocations: 0.5138 MB / 470.6 MB, free: 3.336 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.1136, allocations: 0 / 470.6 MB, free: 3.336 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003219/0.1139, allocations: 156.1 kB / 470.8 MB, free: 3.184 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004828/0.1144, allocations: 57 kB / 470.8 MB, free: 3.129 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005261/0.1197, allocations: 3.596 MB / 474.4 MB, free: 15.39 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004473/0.1201, allocations: 0.7962 MB / 475.2 MB, free: 14.57 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001848/0.1203, allocations: 42.94 kB / 475.3 MB, free: 14.53 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002/0.1205, allocations: 119.4 kB / 475.4 MB, free: 14.41 MB / 350.1 MB Notification: Performance of SimCode: time 3.9e-07/0.1205, allocations: 0 / 475.4 MB, free: 14.41 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03042/0.1509, allocations: 8.097 MB / 483.5 MB, free: 6.258 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/11.42, allocations: 15.95 kB / 483.5 MB, free: 6.242 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_MEV_MEV_Test_TestCylinderUnitOnOff_fmu --startTime=0 --stopTime=100 --stepSize=0.2 --timeout=50 --tolerance=1e-06 MEV_MEV_Test_TestCylinderUnitOnOff.fmu > MEV_MEV.Test.TestCylinderUnitOnOff.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.066485184011981] Failed to read output from testmodel.py, exit status != 0: 11.58102331601549 11.596972866 11.502367668 Calling exit ...