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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 MEV with version 1.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1-master/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(MEV.Test.TestCylinderUnitOnOff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestCylinderUnitOnOff") translateModel(MEV.Test.TestCylinderUnitOnOff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestCylinderUnitOnOff") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008404/0.0008405, allocations: 170.7 kB / 16.11 MB, free: 5.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1-master/package.mo): time 0.006718/0.006718, allocations: 1.921 MB / 18.79 MB, free: 3.023 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.237/1.237, allocations: 205.4 MB / 225.4 MB, free: 5.297 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007273/0.0007274, allocations: 86.38 kB / 274.3 MB, free: 5.879 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003423/0.0003424, allocations: 16 kB / 333.1 MB, free: 11.04 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1804/0.1808, allocations: 48.08 MB / 381.1 MB, free: 44.28 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08404/0.2649, allocations: 79.98 MB / 461.1 MB, free: 13.67 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002232/0.2652, allocations: 75.97 kB / 461.2 MB, free: 13.59 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1-master/package.mo:395:7-396:74:writable] Warning: connect(inlet, inlet) connects the same connector instance! The connect equation will be ignored. Notification: Performance of FrontEnd - DAE generated: time 0.01838/0.2836, allocations: 6.898 MB / 468.1 MB, free: 6.68 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.2836, allocations: 0 / 468.1 MB, free: 6.68 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.006e-05/0.2836, allocations: 8 kB / 468.1 MB, free: 6.672 MB / 346.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.001096/0.2847, allocations: 0.6803 MB / 468.8 MB, free: 5.938 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.378e-05/0.2848, allocations: 8.031 kB / 468.8 MB, free: 5.93 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000102/0.2849, allocations: 44.47 kB / 468.8 MB, free: 5.887 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003642/0.2852, allocations: 315.3 kB / 469.1 MB, free: 5.539 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.892e-05/0.2853, allocations: 25.03 kB / 469.2 MB, free: 5.516 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.394e-05/0.2853, allocations: 32.36 kB / 469.2 MB, free: 5.484 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000594/0.2859, allocations: 298.6 kB / 469.5 MB, free: 5.188 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.891e-05/0.286, allocations: 7.938 kB / 469.5 MB, free: 5.18 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.134e-05/0.286, allocations: 12 kB / 469.5 MB, free: 5.168 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.286, allocations: 8 kB / 469.5 MB, free: 5.16 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005306/0.2866, allocations: 250.4 kB / 469.8 MB, free: 4.914 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001529/0.2881, allocations: 0.9559 MB / 470.7 MB, free: 3.902 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005312/0.2886, allocations: 268.2 kB / 471 MB, free: 3.633 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002485/0.2889, allocations: 133.2 kB / 471.1 MB, free: 3.5 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.786e-05/0.2889, allocations: 8.297 kB / 471.1 MB, free: 3.492 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003957/0.2893, allocations: 195.4 kB / 471.3 MB, free: 3.289 MB / 346.7 MB Notification: Performance of pre-optimization done (n=31): time 2.906e-06/0.2894, allocations: 0 / 471.3 MB, free: 3.289 MB / 346.7 MB Notification: Performance of matching and sorting (n=36): time 0.002443/0.2918, allocations: 1.258 MB / 472.6 MB, free: 1.938 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.636e-05/0.2919, allocations: 55.41 kB / 472.6 MB, free: 1.871 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002993/0.2922, allocations: 288.6 kB / 472.9 MB, free: 1.582 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.719e-05/0.2922, allocations: 41.64 kB / 472.9 MB, free: 1.535 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001034/0.2923, allocations: 192.2 kB / 473.1 MB, free: 1.344 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.366e-05/0.2924, allocations: 118.3 kB / 473.2 MB, free: 1.227 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.71e-05/0.2924, allocations: 8 kB / 473.2 MB, free: 1.219 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001036/0.2925, allocations: 342.8 kB / 473.6 MB, free: 0.875 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002665/0.2928, allocations: 112.8 kB / 473.7 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002684/0.2931, allocations: 149.6 kB / 473.8 MB, free: 0.6094 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004866/0.2936, allocations: 293.9 kB / 474.1 MB, free: 316 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.2936, allocations: 0 / 474.1 MB, free: 316 kB / 346.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006817/0.2943, allocations: 387.5 kB / 474.5 MB, free: 15.92 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.021e-05/0.2944, allocations: 136.4 kB / 474.6 MB, free: 15.77 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.647e-06/0.2944, allocations: 4 kB / 474.6 MB, free: 15.76 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.2944, allocations: 0 / 474.6 MB, free: 15.76 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003333/0.2947, allocations: 75.89 kB / 474.7 MB, free: 15.69 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.784e-06/0.2948, allocations: 3.938 kB / 474.7 MB, free: 15.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002405/0.295, allocations: 39.97 kB / 474.8 MB, free: 15.64 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.615e-05/0.295, allocations: 12 kB / 474.8 MB, free: 15.63 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.655e-06/0.2951, allocations: 7.281 kB / 474.8 MB, free: 15.63 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006038/0.2957, allocations: 344.8 kB / 475.1 MB, free: 15.29 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.2957, allocations: 4 kB / 475.1 MB, free: 15.28 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.037e-06/0.2957, allocations: 4 kB / 475.1 MB, free: 15.28 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002889/0.296, allocations: 71.91 kB / 475.2 MB, free: 15.21 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.296, allocations: 4 kB / 475.2 MB, free: 15.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002186/0.2962, allocations: 32 kB / 475.2 MB, free: 15.17 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.328e-05/0.2963, allocations: 16 kB / 475.2 MB, free: 15.16 MB / 362.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 ($whenCondition2,$whenCondition3,$whenCondition1,$PRE.opening.T_start,opening.T_start,$PRE.opening.count,opening.count,$PRE.controller.on,controller.on) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001845/0.2965, allocations: 233.9 kB / 475.5 MB, free: 14.92 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.814e-05/0.2965, allocations: 35.53 kB / 475.5 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006533/0.2972, allocations: 348.1 kB / 475.8 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.2972, allocations: 4 kB / 475.9 MB, free: 14.53 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.2972, allocations: 3.938 kB / 475.9 MB, free: 14.53 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.2972, allocations: 7.922 kB / 475.9 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001291/0.2985, allocations: 0.8934 MB / 476.8 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.2985, allocations: 3.984 kB / 476.8 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003752/0.2989, allocations: 79.89 kB / 476.8 MB, free: 13.47 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.781e-06/0.2989, allocations: 12.09 kB / 476.8 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.458e-05/0.299, allocations: 8 kB / 476.9 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.458e-06/0.299, allocations: 4 kB / 476.9 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.299, allocations: 0 / 476.9 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009454/0.2999, allocations: 0.5899 MB / 477.5 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001559/0.3001, allocations: 136.7 kB / 477.6 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.37e-05/0.3002, allocations: 16 kB / 477.6 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000271/0.3004, allocations: 27.97 kB / 477.6 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.68e-05/0.3005, allocations: 31.95 kB / 477.7 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.558e-05/0.3006, allocations: 12 kB / 477.7 MB, free: 12.59 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002163/0.3008, allocations: 219 kB / 477.9 MB, free: 12.37 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3008, allocations: 4 kB / 477.9 MB, free: 12.37 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005155/0.3013, allocations: 155.9 kB / 478 MB, free: 12.21 MB / 362.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001511/0.3015, allocations: 115.2 kB / 478.2 MB, free: 12.09 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009941/0.3025, allocations: 0.5658 MB / 478.7 MB, free: 11.5 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.3025, allocations: 0 / 478.7 MB, free: 11.5 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003162/0.3028, allocations: 159.8 kB / 478.9 MB, free: 11.35 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005304/0.3034, allocations: 74.81 kB / 478.9 MB, free: 11.28 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001639/0.305, allocations: 1.123 MB / 480.1 MB, free: 10.11 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003479/0.3054, allocations: 0.7884 MB / 480.9 MB, free: 9.301 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002315/0.3056, allocations: 46.94 kB / 480.9 MB, free: 9.25 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.603e-05/0.3057, allocations: 35.42 kB / 480.9 MB, free: 9.215 MB / 362.7 MB Notification: Performance of SimCode: time 7.243e-06/0.3057, allocations: 7.938 kB / 480.9 MB, free: 9.207 MB / 362.7 MB Notification: Performance of Templates: time 0.007767/0.3135, allocations: 3.813 MB / 484.8 MB, free: 5.406 MB / 362.7 MB make -j1 -f MEV_MEV.Test.TestCylinderUnitOnOff.makefile (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 & ./MEV_MEV.Test.TestCylinderUnitOnOff -abortSlowSimulation -alarm=480 -lv LOG_STATS > MEV_MEV.Test.TestCylinderUnitOnOff.pipe 2>&1)