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/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/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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00191/0.00191, allocations: 179.6 kB / 7.453 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.006808/0.006808, allocations: 1.919 MB / 9.791 MB, free: 460 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.021/1.021, allocations: 205.2 MB / 215.9 MB, free: 11.04 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.0007614/0.0007614, allocations: 81.05 kB / 264.4 MB, free: 10.79 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 5.25e-06/5.28e-06, allocations: 0 / 318.5 MB, free: 4.602 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1835/0.1835, allocations: 48.06 MB / 366.6 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.07729/0.2608, allocations: 79.12 MB / 445.7 MB, free: 3.934 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002026/0.2611, allocations: 75.75 kB / 445.8 MB, free: 3.863 MB / 330.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/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: time 0.01733/0.2784, allocations: 6.542 MB / 452.3 MB, free: 13.34 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.986e-05/0.2785, allocations: 8 kB / 452.3 MB, free: 13.33 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.001042/0.2795, allocations: 0.6482 MB / 453 MB, free: 12.63 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.2796, allocations: 8.688 kB / 453 MB, free: 12.62 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001024/0.2797, allocations: 43.53 kB / 453 MB, free: 12.58 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003957/0.2801, allocations: 305.8 kB / 453.3 MB, free: 12.24 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.072e-05/0.2801, allocations: 12 kB / 453.4 MB, free: 12.23 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.3e-05/0.2802, allocations: 24 kB / 453.4 MB, free: 12.21 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003768/0.2806, allocations: 189.3 kB / 453.6 MB, free: 12.02 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000401/0.281, allocations: 220.8 kB / 453.8 MB, free: 11.8 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.571e-05/0.281, allocations: 6.25 kB / 453.8 MB, free: 11.8 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.93e-05/0.281, allocations: 3.906 kB / 453.8 MB, free: 11.79 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.187e-06/0.281, allocations: 8 kB / 453.8 MB, free: 11.79 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001475/0.2825, allocations: 0.8811 MB / 454.7 MB, free: 10.86 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002587/0.2828, allocations: 160.1 kB / 454.8 MB, free: 10.7 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001478/0.2829, allocations: 89.33 kB / 454.9 MB, free: 10.61 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.007e-05/0.283, allocations: 4.234 kB / 454.9 MB, free: 10.61 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002343/0.2832, allocations: 147.5 kB / 455.1 MB, free: 10.45 MB / 346.7 MB Notification: Performance of pre-optimization done (n=31): time 3.597e-06/0.2832, allocations: 0 / 455.1 MB, free: 10.45 MB / 346.7 MB Notification: Performance of matching and sorting (n=36): time 0.001604/0.2849, allocations: 0.9616 MB / 456 MB, free: 9.398 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.985e-05/0.2849, allocations: 55.41 kB / 456.1 MB, free: 9.332 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002153/0.2851, allocations: 217 kB / 456.3 MB, free: 9.117 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.827e-05/0.2852, allocations: 29.7 kB / 456.3 MB, free: 9.082 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.446e-05/0.2853, allocations: 172.5 kB / 456.5 MB, free: 8.91 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.37e-05/0.2853, allocations: 110.4 kB / 456.6 MB, free: 8.801 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.399e-05/0.2854, allocations: 0 / 456.6 MB, free: 8.801 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001176/0.2855, allocations: 346.7 kB / 456.9 MB, free: 8.453 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001466/0.2856, allocations: 84.81 kB / 457 MB, free: 8.367 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001636/0.2858, allocations: 117.3 kB / 457.1 MB, free: 8.246 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001982/0.286, allocations: 97.45 kB / 457.2 MB, free: 8.152 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.286, allocations: 0 / 457.2 MB, free: 8.152 MB / 346.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0004554/0.2865, allocations: 290.6 kB / 457.5 MB, free: 7.863 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001022/0.2866, allocations: 271 kB / 457.8 MB, free: 7.578 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.2866, allocations: 0 / 457.8 MB, free: 7.578 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.2866, allocations: 6.031 kB / 457.8 MB, free: 7.574 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003569/0.287, allocations: 79.91 kB / 457.9 MB, free: 7.496 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.287, allocations: 9.812 kB / 457.9 MB, free: 7.488 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002522/0.2873, allocations: 31.88 kB / 457.9 MB, free: 7.457 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.783e-05/0.2873, allocations: 12 kB / 457.9 MB, free: 7.445 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.631e-06/0.2873, allocations: 4 kB / 457.9 MB, free: 7.441 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003786/0.2877, allocations: 219.4 kB / 458.1 MB, free: 7.227 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.753e-06/0.2877, allocations: 3.938 kB / 458.1 MB, free: 7.223 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.209e-06/0.2877, allocations: 4 kB / 458.1 MB, free: 7.219 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003036/0.288, allocations: 75.97 kB / 458.2 MB, free: 7.145 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.646e-06/0.288, allocations: 4 kB / 458.2 MB, free: 7.141 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00022/0.2883, allocations: 23.97 kB / 458.2 MB, free: 7.117 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.332e-05/0.2883, allocations: 16 kB / 458.3 MB, free: 7.102 MB / 346.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 () * 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 8.836e-05/0.2884, allocations: 112.9 kB / 458.4 MB, free: 6.984 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.163e-05/0.2884, allocations: 31.62 kB / 458.4 MB, free: 6.953 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000446/0.2889, allocations: 265.7 kB / 458.7 MB, free: 6.688 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.2889, allocations: 4 kB / 458.7 MB, free: 6.684 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.838e-06/0.2889, allocations: 0 / 458.7 MB, free: 6.684 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/0.2889, allocations: 3.984 kB / 458.7 MB, free: 6.68 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009683/0.2899, allocations: 0.7568 MB / 459.4 MB, free: 5.863 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.2899, allocations: 4 kB / 459.4 MB, free: 5.859 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003932/0.2903, allocations: 85.64 kB / 459.5 MB, free: 5.777 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.2903, allocations: 4 kB / 459.5 MB, free: 5.773 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.152e-05/0.2903, allocations: 4 kB / 459.5 MB, free: 5.77 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.2904, allocations: 0 / 459.5 MB, free: 5.77 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.2904, allocations: 4 kB / 459.5 MB, free: 5.766 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006547/0.291, allocations: 0.5644 MB / 460.1 MB, free: 5.137 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001319/0.2912, allocations: 136.7 kB / 460.2 MB, free: 4.984 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.045e-05/0.2912, allocations: 8 kB / 460.2 MB, free: 4.977 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002784/0.2915, allocations: 27.97 kB / 460.3 MB, free: 4.949 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.09e-05/0.2916, allocations: 31.95 kB / 460.3 MB, free: 4.918 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.203e-05/0.2916, allocations: 12 kB / 460.3 MB, free: 4.906 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0001444/0.2918, allocations: 177.2 kB / 460.5 MB, free: 4.73 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004542/0.2922, allocations: 131.9 kB / 460.6 MB, free: 4.602 MB / 346.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) * 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.0001551/0.2924, allocations: 115.1 kB / 460.7 MB, free: 4.48 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006009/0.293, allocations: 428.4 kB / 461.1 MB, free: 4.051 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.293, allocations: 2.5 kB / 461.1 MB, free: 4.051 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002169/0.2933, allocations: 143.9 kB / 461.3 MB, free: 3.91 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003523/0.2936, allocations: 42.81 kB / 461.3 MB, free: 3.875 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001327/0.2949, allocations: 0.6467 MB / 462 MB, free: 3.188 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004839/0.2954, allocations: 0.8347 MB / 462.8 MB, free: 2.324 MB / 346.7 MB Notification: Performance of SimCode: time 2.91e-07/0.2954, allocations: 0 / 462.8 MB, free: 2.324 MB / 346.7 MB Notification: Performance of Templates: time 0.00841/0.3039, allocations: 4.793 MB / 467.6 MB, free: 13.57 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)