Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr MEV_MEV.Test.TestCylinderUnitLinearize.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.TestCylinderUnitLinearize,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestCylinderUnitLinearize") translateModel(MEV.Test.TestCylinderUnitLinearize,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestCylinderUnitLinearize") [: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.00202/0.00202, allocations: 178.1 kB / 7.454 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.007033/0.007034, allocations: 1.918 MB / 9.789 MB, free: 452 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.027/1.027, allocations: 205.2 MB / 215.9 MB, free: 11.1 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.0008201/0.0008201, allocations: 84.75 kB / 264.4 MB, free: 10.8 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 5.33e-06/5.34e-06, allocations: 0 / 318.5 MB, free: 4.617 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1793/0.1793, allocations: 48.07 MB / 366.6 MB, free: 45.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08075/0.2601, allocations: 78.15 MB / 444.7 MB, free: 4.918 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002002/0.2604, allocations: 67.97 kB / 444.8 MB, free: 4.852 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.01552/0.2759, allocations: 5.44 MB / 450.3 MB, free: 15.43 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.921e-05/0.2759, allocations: 8 kB / 450.3 MB, free: 15.42 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.000844/0.2768, allocations: 0.5257 MB / 450.8 MB, free: 14.85 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.666e-05/0.2769, allocations: 12.02 kB / 450.8 MB, free: 14.84 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.991e-05/0.277, allocations: 39.62 kB / 450.8 MB, free: 14.8 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003847/0.2774, allocations: 273.5 kB / 451.1 MB, free: 14.49 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.522e-05/0.2774, allocations: 8 kB / 451.1 MB, free: 14.48 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.776e-05/0.2775, allocations: 16 kB / 451.1 MB, free: 14.47 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003045/0.2778, allocations: 157.2 kB / 451.3 MB, free: 14.32 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003247/0.2781, allocations: 188.3 kB / 451.5 MB, free: 14.13 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/0.2781, allocations: 0 / 451.5 MB, free: 14.13 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.109e-05/0.2782, allocations: 0 / 451.5 MB, free: 14.13 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.2782, allocations: 8.75 kB / 451.5 MB, free: 14.12 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00115/0.2793, allocations: 0.7477 MB / 452.2 MB, free: 13.34 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002016/0.2795, allocations: 121.7 kB / 452.3 MB, free: 13.21 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001101/0.2797, allocations: 68.86 kB / 452.4 MB, free: 13.14 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.243e-05/0.2797, allocations: 0 / 452.4 MB, free: 13.14 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.482e-05/0.2797, allocations: 46.53 kB / 452.5 MB, free: 13.09 MB / 346.7 MB Notification: Performance of pre-optimization done (n=20): time 1.112e-06/0.2797, allocations: 0 / 452.5 MB, free: 13.09 MB / 346.7 MB Notification: Performance of matching and sorting (n=25): time 0.001363/0.2811, allocations: 0.8068 MB / 453.3 MB, free: 12.19 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.687e-05/0.2812, allocations: 60.14 kB / 453.3 MB, free: 12.12 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001859/0.2814, allocations: 192.3 kB / 453.5 MB, free: 11.93 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.788e-05/0.2814, allocations: 25.7 kB / 453.5 MB, free: 11.9 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.368e-05/0.2815, allocations: 176.1 kB / 453.7 MB, free: 11.72 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.915e-05/0.2815, allocations: 78.75 kB / 453.8 MB, free: 11.64 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.317e-06/0.2816, allocations: 4 kB / 453.8 MB, free: 11.64 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001334/0.2817, allocations: 338.8 kB / 454.1 MB, free: 11.3 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001009/0.2818, allocations: 56.56 kB / 454.2 MB, free: 11.24 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000125/0.2819, allocations: 93.78 kB / 454.3 MB, free: 11.13 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001652/0.2821, allocations: 78.66 kB / 454.3 MB, free: 11.06 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.2821, allocations: 7.906 kB / 454.3 MB, free: 11.05 MB / 346.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.00036/0.2825, allocations: 221.3 kB / 454.6 MB, free: 10.83 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001891/0.2827, allocations: 453 kB / 455 MB, free: 10.35 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.2827, allocations: 0 / 455 MB, free: 10.35 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.2827, allocations: 4 kB / 455 MB, free: 10.35 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002632/0.283, allocations: 58.17 kB / 455.1 MB, free: 10.29 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.838e-05/0.283, allocations: 7.984 kB / 455.1 MB, free: 10.29 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001169/0.2831, allocations: 0 / 455.1 MB, free: 10.29 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.775e-05/0.2832, allocations: 12 kB / 455.1 MB, free: 10.27 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.961e-06/0.2832, allocations: 4.219 kB / 455.1 MB, free: 10.27 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002458/0.2834, allocations: 159.8 kB / 455.2 MB, free: 10.11 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.2834, allocations: 11.92 kB / 455.3 MB, free: 10.1 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.276e-06/0.2835, allocations: 0 / 455.3 MB, free: 10.1 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002155/0.2837, allocations: 55.92 kB / 455.3 MB, free: 10.05 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.154e-06/0.2837, allocations: 0 / 455.3 MB, free: 10.05 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.822e-05/0.2838, allocations: 8 kB / 455.3 MB, free: 10.04 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.601e-05/0.2838, allocations: 15.91 kB / 455.3 MB, free: 10.02 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * 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 7.691e-05/0.2839, allocations: 113 kB / 455.4 MB, free: 9.906 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.216e-05/0.2839, allocations: 23.72 kB / 455.5 MB, free: 9.883 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003497/0.2843, allocations: 199.5 kB / 455.7 MB, free: 9.691 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.2843, allocations: 0 / 455.7 MB, free: 9.691 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.2843, allocations: 4 kB / 455.7 MB, free: 9.688 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.696e-06/0.2843, allocations: 7.891 kB / 455.7 MB, free: 9.68 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008363/0.2852, allocations: 0.6429 MB / 456.3 MB, free: 8.98 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.2852, allocations: 4 kB / 456.3 MB, free: 8.977 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003083/0.2855, allocations: 55.97 kB / 456.4 MB, free: 8.922 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/0.2855, allocations: 7.938 kB / 456.4 MB, free: 8.914 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.687e-05/0.2856, allocations: 4 kB / 456.4 MB, free: 8.91 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.037e-05/0.2856, allocations: 8.156 kB / 456.4 MB, free: 8.902 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.297e-06/0.2856, allocations: 7.547 kB / 456.4 MB, free: 8.898 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004972/0.2861, allocations: 464.1 kB / 456.9 MB, free: 8.383 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000107/0.2862, allocations: 128.7 kB / 457 MB, free: 8.238 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.045e-05/0.2862, allocations: 4 kB / 457 MB, free: 8.234 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000163/0.2864, allocations: 4 kB / 457 MB, free: 8.23 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.761e-05/0.2865, allocations: 23.88 kB / 457 MB, free: 8.207 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.515e-05/0.2865, allocations: 12 kB / 457 MB, free: 8.195 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0001272/0.2866, allocations: 160.5 kB / 457.2 MB, free: 8.035 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004168/0.287, allocations: 104 kB / 457.3 MB, free: 7.934 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001293/0.2872, allocations: 103.1 kB / 457.4 MB, free: 7.82 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003824/0.2876, allocations: 270.2 kB / 457.6 MB, free: 7.559 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.2876, allocations: 4.062 kB / 457.7 MB, free: 7.555 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001083/0.2877, allocations: 79.88 kB / 457.7 MB, free: 7.477 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002957/0.288, allocations: 28.48 kB / 457.8 MB, free: 7.449 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001103/0.2891, allocations: 0.5635 MB / 458.3 MB, free: 6.84 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000375/0.2895, allocations: 0.8108 MB / 459.1 MB, free: 6.004 MB / 346.7 MB Notification: Performance of SimCode: time 2.3e-07/0.2895, allocations: 0 / 459.1 MB, free: 6.004 MB / 346.7 MB Notification: Performance of Templates: time 0.006608/0.2961, allocations: 3.263 MB / 462.4 MB, free: 2.777 MB / 346.7 MB make -j1 -f MEV_MEV.Test.TestCylinderUnitLinearize.makefile (rm -f MEV_MEV.Test.TestCylinderUnitLinearize.pipe ; mkfifo MEV_MEV.Test.TestCylinderUnitLinearize.pipe ; head -c 1048576 < MEV_MEV.Test.TestCylinderUnitLinearize.pipe >> ../files/MEV_MEV.Test.TestCylinderUnitLinearize.sim & ./MEV_MEV.Test.TestCylinderUnitLinearize -abortSlowSimulation -alarm=480 -lv LOG_STATS > MEV_MEV.Test.TestCylinderUnitLinearize.pipe 2>&1)