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.001246/0.001246, allocations: 116.1 kB / 17.17 MB, free: 6 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.001279/0.001279, allocations: 209.5 kB / 20.13 MB, free: 3.055 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.402/1.402, allocations: 207.6 MB / 230.5 MB, free: 4.023 MB / 174.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.008609/0.008609, allocations: 1.97 MB / 284.4 MB, free: 14.36 MB / 238.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.002105/0.002105, allocations: 71.89 kB / 397.3 MB, free: 8.863 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2807/0.2829, allocations: 49.67 MB / 447 MB, free: 8.43 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestCylinderUnitOnOff): time 0.003926/0.2868, allocations: 3.423 MB / 450.4 MB, free: 6.008 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001336/0.2881, allocations: 0.8722 MB / 451.3 MB, free: 5.379 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001572/0.2883, allocations: 4.219 kB / 451.3 MB, free: 5.379 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001764/0.2884, allocations: 60.98 kB / 451.3 MB, free: 5.344 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002465/0.2887, allocations: 151.5 kB / 451.5 MB, free: 5.234 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003009/0.289, allocations: 124.9 kB / 451.6 MB, free: 5.16 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004609/0.2895, allocations: 0.5133 MB / 452.1 MB, free: 4.887 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002104/0.2897, allocations: 112.2 kB / 452.2 MB, free: 4.816 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000268/0.2899, allocations: 199 kB / 452.4 MB, free: 4.723 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002738/0.2902, allocations: 204.4 kB / 452.6 MB, free: 4.621 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.173e-05/0.2903, allocations: 46.53 kB / 452.6 MB, free: 4.617 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001216/0.2904, allocations: 47.05 kB / 452.7 MB, free: 4.617 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.3e-05/0.2905, allocations: 90.69 kB / 452.8 MB, free: 4.555 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001736/0.2906, allocations: 228.8 kB / 453 MB, free: 4.414 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005072/0.2912, allocations: 471 kB / 453.5 MB, free: 4.211 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.2912, allocations: 1.375 kB / 453.5 MB, free: 4.211 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.592e-06/0.2912, allocations: 0 / 453.5 MB, free: 4.211 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.413e-06/0.2912, allocations: 0 / 453.5 MB, free: 4.211 MB / 318.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.001184/0.2924, allocations: 0.758 MB / 454.2 MB, free: 3.598 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.2924, allocations: 14.09 kB / 454.2 MB, free: 3.594 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.805e-05/0.2924, allocations: 8.219 kB / 454.2 MB, free: 3.594 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.882e-05/0.2925, allocations: 68.92 kB / 454.3 MB, free: 3.535 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.982e-05/0.2926, allocations: 52.17 kB / 454.4 MB, free: 3.508 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003495/0.2929, allocations: 313 kB / 454.7 MB, free: 3.227 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.986e-05/0.2929, allocations: 26.86 kB / 454.7 MB, free: 3.215 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.617e-05/0.293, allocations: 38.2 kB / 454.7 MB, free: 3.199 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005574/0.2935, allocations: 292.9 kB / 455 MB, free: 3.078 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.617e-05/0.2936, allocations: 0 / 455 MB, free: 3.078 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.165e-05/0.2936, allocations: 15.72 kB / 455 MB, free: 3.066 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.608e-06/0.2936, allocations: 8.031 kB / 455 MB, free: 3.066 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000525/0.2941, allocations: 239.5 kB / 455.3 MB, free: 2.984 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001343/0.2955, allocations: 0.923 MB / 456.2 MB, free: 2.414 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005158/0.296, allocations: 250.8 kB / 456.4 MB, free: 2.309 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002281/0.2962, allocations: 108 kB / 456.6 MB, free: 2.266 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.628e-05/0.2962, allocations: 3.891 kB / 456.6 MB, free: 2.266 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000359/0.2966, allocations: 186.3 kB / 456.7 MB, free: 2.172 MB / 318.1 MB Notification: Performance of pre-optimization done (n=31): time 1.613e-06/0.2966, allocations: 4 kB / 456.7 MB, free: 2.168 MB / 318.1 MB Notification: Performance of matching and sorting (n=36): time 0.002259/0.2989, allocations: 1.229 MB / 458 MB, free: 1.383 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.627e-05/0.2989, allocations: 59.94 kB / 458 MB, free: 1.316 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003013/0.2992, allocations: 306.6 kB / 458.3 MB, free: 1.148 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.527e-05/0.2992, allocations: 36.48 kB / 458.4 MB, free: 1.109 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.455e-05/0.2993, allocations: 192.6 kB / 458.6 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.303e-05/0.2994, allocations: 123.3 kB / 458.7 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001043/0.2995, allocations: 71.28 kB / 458.7 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.752e-05/0.2996, allocations: 349.5 kB / 459.1 MB, free: 488 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002578/0.2998, allocations: 113 kB / 459.2 MB, free: 444 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002721/0.3001, allocations: 149.7 kB / 459.3 MB, free: 368 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004694/0.3006, allocations: 278.5 kB / 459.6 MB, free: 208 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.3006, allocations: 3.938 kB / 459.6 MB, free: 204 kB / 318.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006475/0.3012, allocations: 391.4 kB / 460 MB, free: 15.98 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.891e-05/0.3012, allocations: 31.52 kB / 460 MB, free: 15.95 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.3013, allocations: 5.062 kB / 460 MB, free: 15.95 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.3013, allocations: 2.469 kB / 460 MB, free: 15.95 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003315/0.3016, allocations: 78.77 kB / 460.1 MB, free: 15.92 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.296e-06/0.3016, allocations: 2.25 kB / 460.1 MB, free: 15.92 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002333/0.3018, allocations: 19.05 kB / 460.1 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.546e-05/0.3019, allocations: 13.62 kB / 460.1 MB, free: 15.91 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003402/0.3022, allocations: 222.5 kB / 460.4 MB, free: 15.76 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002649/0.3025, allocations: 146 kB / 460.5 MB, free: 15.67 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005194/0.303, allocations: 287.6 kB / 460.8 MB, free: 15.49 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.373e-06/0.303, allocations: 0 / 460.8 MB, free: 15.49 MB / 334.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0006706/0.3037, allocations: 379.8 kB / 461.2 MB, free: 15.28 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.646e-05/0.3037, allocations: 32.33 kB / 461.2 MB, free: 15.25 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.715e-06/0.3037, allocations: 5.281 kB / 461.2 MB, free: 15.25 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.747e-06/0.3037, allocations: 2.531 kB / 461.2 MB, free: 15.25 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002756/0.304, allocations: 75.23 kB / 461.3 MB, free: 15.23 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.304, allocations: 5.094 kB / 461.3 MB, free: 15.22 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002232/0.3042, allocations: 23.02 kB / 461.3 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.023e-05/0.3042, allocations: 9.844 kB / 461.3 MB, free: 15.21 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.0001596/0.3044, allocations: 210.5 kB / 461.5 MB, free: 15 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.654e-05/0.3044, allocations: 41.05 kB / 461.6 MB, free: 14.98 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006955/0.3051, allocations: 330.2 kB / 461.9 MB, free: 14.79 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/0.3051, allocations: 4.094 kB / 461.9 MB, free: 14.79 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.3051, allocations: 0 / 461.9 MB, free: 14.79 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.3052, allocations: 5.375 kB / 461.9 MB, free: 14.79 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00134/0.3065, allocations: 0.8797 MB / 462.8 MB, free: 14.09 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.3065, allocations: 1.031 kB / 462.8 MB, free: 14.09 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000378/0.3069, allocations: 78.14 kB / 462.8 MB, free: 14.07 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.718e-06/0.3069, allocations: 2.938 kB / 462.8 MB, free: 14.07 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.738e-05/0.3069, allocations: 11.3 kB / 462.9 MB, free: 14.06 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.561e-06/0.3069, allocations: 7.125 kB / 462.9 MB, free: 14.06 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.3069, allocations: 5.5 kB / 462.9 MB, free: 14.05 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009825/0.3079, allocations: 0.5894 MB / 463.5 MB, free: 13.66 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001694/0.3081, allocations: 136.9 kB / 463.6 MB, free: 13.52 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.284e-05/0.3081, allocations: 11.98 kB / 463.6 MB, free: 13.51 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002625/0.3084, allocations: 29.11 kB / 463.6 MB, free: 13.5 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.027e-05/0.3085, allocations: 34.08 kB / 463.7 MB, free: 13.48 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.351e-05/0.3085, allocations: 13.28 kB / 463.7 MB, free: 13.47 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002348/0.3087, allocations: 222.6 kB / 463.9 MB, free: 13.32 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3087, allocations: 0 / 463.9 MB, free: 13.32 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004955/0.3092, allocations: 149.2 kB / 464 MB, free: 13.3 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.001343/0.3106, allocations: 1.137 MB / 465.2 MB, free: 12.37 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001009/0.3116, allocations: 0.5241 MB / 465.7 MB, free: 12.06 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3116, allocations: 0 / 465.7 MB, free: 12.06 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000318/0.3119, allocations: 146.9 kB / 465.8 MB, free: 12 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004722/0.3124, allocations: 57.59 kB / 465.9 MB, free: 11.97 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00517/0.3175, allocations: 3.591 MB / 469.5 MB, free: 9.418 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004493/0.318, allocations: 0.7954 MB / 470.3 MB, free: 8.676 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001848/0.3182, allocations: 43.88 kB / 470.3 MB, free: 8.656 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001905/0.3184, allocations: 125.6 kB / 470.5 MB, free: 8.555 MB / 334.1 MB Notification: Performance of SimCode: time 3e-07/0.3184, allocations: 0 / 470.5 MB, free: 8.555 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02706/0.3454, allocations: 7.748 MB / 478.2 MB, free: 1.016 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.393/8.738, allocations: 4 kB / 478.2 MB, free: 1.012 MB / 334.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 & /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 os._exit(0), Time elapsed: 11.0165252010338] Failed to read output from testmodel.py, exit status != 0: 8.862932012008969 8.876487424 8.582633607 Calling exit ...