Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ConPNlib_ConPNlib.Examples.Test2.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo", uses=false) Using package ConPNlib with version (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo) Running command: translateModel(ConPNlib.Examples.Test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test2") translateModel(ConPNlib.Examples.Test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test2") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo): time 0.01131/0.01131, allocations: 1.337 MB / 8.621 MB, free: 1.66 MB / 5.871 MB Notification: Performance of FrontEnd - loaded program: time 7.684e-06/7.865e-06, allocations: 0 / 12.82 MB, free: 1.148 MB / 7.832 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0008256/0.0008588, allocations: 360.1 kB / 13.17 MB, free: 0.8047 MB / 7.832 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.009083/0.009963, allocations: 3.278 MB / 16.45 MB, free: 0.5625 MB / 7.832 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001934/0.01023, allocations: 47.98 kB / 16.5 MB, free: 0.5156 MB / 7.832 MB Notification: Performance of FrontEnd: time 0.03013/0.04039, allocations: 5.099 MB / 21.6 MB, free: 2.102 MB / 10.45 MB Notification: Performance of Transformations before backend: time 1.998e-05/0.04045, allocations: 3.719 kB / 21.6 MB, free: 2.102 MB / 10.45 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.0007605/0.04123, allocations: 0.5019 MB / 22.1 MB, free: 1.66 MB / 10.45 MB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.04128, allocations: 6.547 kB / 22.11 MB, free: 1.66 MB / 10.45 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.97e-05/0.04138, allocations: 25.22 kB / 22.13 MB, free: 1.648 MB / 10.45 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004266/0.04182, allocations: 265.8 kB / 22.39 MB, free: 1.43 MB / 10.45 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.824e-05/0.04186, allocations: 6.75 kB / 22.4 MB, free: 1.43 MB / 10.45 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.962e-05/0.04193, allocations: 15.94 kB / 22.42 MB, free: 1.43 MB / 10.45 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006302/0.04257, allocations: 227.2 kB / 22.64 MB, free: 1.426 MB / 10.45 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006888/0.04328, allocations: 314.9 kB / 22.95 MB, free: 1.344 MB / 10.45 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.546e-05/0.04331, allocations: 0.9844 kB / 22.95 MB, free: 1.344 MB / 10.45 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.889e-05/0.04336, allocations: 2.938 kB / 22.95 MB, free: 1.344 MB / 10.45 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-05/0.04342, allocations: 16.53 kB / 22.97 MB, free: 1.344 MB / 10.45 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001397/0.04483, allocations: 0.6308 MB / 23.6 MB, free: 0.8789 MB / 10.45 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002922/0.04516, allocations: 132.5 kB / 23.73 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001795/0.04535, allocations: 79.14 kB / 23.8 MB, free: 0.6797 MB / 10.45 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004008/0.04577, allocations: 429.7 kB / 24.22 MB, free: 184 kB / 10.45 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.988e-05/0.0458, allocations: 38.56 kB / 24.26 MB, free: 136 kB / 10.45 MB Notification: Performance of pre-optimization done (n=14): time 2.685e-06/0.04582, allocations: 0 / 24.26 MB, free: 136 kB / 10.45 MB Notification: Performance of matching and sorting (n=14): time 0.0007855/0.04661, allocations: 182 kB / 24.44 MB, free: 0 / 10.45 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004191/0.05082, allocations: 114.5 kB / 24.55 MB, free: 1.715 MB / 10.45 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001967/0.05107, allocations: 144.2 kB / 24.69 MB, free: 1.613 MB / 10.45 MB Notification: Performance of collectPreVariables (initialization): time 5.175e-05/0.05114, allocations: 25.7 kB / 24.72 MB, free: 1.582 MB / 10.45 MB Notification: Performance of collectInitialEqns (initialization): time 0.000104/0.05125, allocations: 155.5 kB / 24.87 MB, free: 1.496 MB / 10.45 MB Notification: Performance of collectInitialBindings (initialization): time 5.889e-05/0.05132, allocations: 50.94 kB / 24.92 MB, free: 1.473 MB / 10.45 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.846e-05/0.05135, allocations: 3.75 kB / 24.92 MB, free: 1.473 MB / 10.45 MB Notification: Performance of setup shared object (initialization): time 6.77e-05/0.05143, allocations: 322.3 kB / 25.24 MB, free: 1.16 MB / 10.45 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002056/0.05164, allocations: 81.44 kB / 25.32 MB, free: 1.16 MB / 10.45 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002335/0.05189, allocations: 134.3 kB / 25.45 MB, free: 1.098 MB / 10.45 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003398/0.05224, allocations: 88.09 kB / 25.53 MB, free: 1.098 MB / 10.45 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.479e-06/0.05227, allocations: 0 / 25.53 MB, free: 1.098 MB / 10.45 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006763/0.05295, allocations: 238 kB / 25.77 MB, free: 1.059 MB / 10.45 MB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.05299, allocations: 6.281 kB / 25.77 MB, free: 1.059 MB / 10.45 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/0.05301, allocations: 3.625 kB / 25.78 MB, free: 1.059 MB / 10.45 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.273e-05/0.05304, allocations: 3.656 kB / 25.78 MB, free: 1.059 MB / 10.45 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002604/0.05331, allocations: 36.38 kB / 25.81 MB, free: 1.059 MB / 10.45 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.276e-06/0.05333, allocations: 3.438 kB / 25.82 MB, free: 1.059 MB / 10.45 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002063/0.05355, allocations: 25.08 kB / 25.84 MB, free: 1.055 MB / 10.45 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.213e-05/0.0536, allocations: 16.12 kB / 25.86 MB, free: 1.055 MB / 10.45 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.P1.fireOut[1],P1.emptying,P1.feeding,P1.outTransition[1].arcType,T1.activation.active,T1.activation.weaklyInputActiveVec[1],P1.fireOut[1],T1.activation.arcType[1],T1.activation.fed[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 21 * Array equations: 1 * 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.0001628/0.05378, allocations: 155.4 kB / 26.01 MB, free: 0.9141 MB / 10.45 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.22e-05/0.05385, allocations: 11.34 kB / 26.02 MB, free: 0.9102 MB / 10.45 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008929/0.05475, allocations: 292.1 kB / 26.31 MB, free: 0.875 MB / 10.45 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.812e-05/0.05479, allocations: 3.906 kB / 26.31 MB, free: 0.8711 MB / 10.45 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.05481, allocations: 0 / 26.31 MB, free: 0.8711 MB / 10.45 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.386e-06/0.05482, allocations: 3.75 kB / 26.31 MB, free: 0.8711 MB / 10.45 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009146/0.05575, allocations: 0.4924 MB / 26.81 MB, free: 0.6016 MB / 10.45 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/0.05577, allocations: 3.656 kB / 26.81 MB, free: 0.6016 MB / 10.45 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002251/0.05601, allocations: 31.14 kB / 26.84 MB, free: 0.5977 MB / 10.45 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.021e-06/0.05603, allocations: 0 / 26.84 MB, free: 0.5977 MB / 10.45 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.695e-05/0.05606, allocations: 9.219 kB / 26.85 MB, free: 0.5977 MB / 10.45 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.05607, allocations: 0 / 26.85 MB, free: 0.5977 MB / 10.45 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.05609, allocations: 3.656 kB / 26.85 MB, free: 0.5977 MB / 10.45 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008386/0.05693, allocations: 393.1 kB / 27.24 MB, free: 460 kB / 10.45 MB Notification: Performance of postOpt removeConstants (simulation): time 4.24e-05/0.057, allocations: 91.77 kB / 27.33 MB, free: 356 kB / 10.45 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.646e-05/0.05707, allocations: 9.188 kB / 27.33 MB, free: 352 kB / 10.45 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002142/0.05729, allocations: 17.7 kB / 27.35 MB, free: 352 kB / 10.45 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001454/0.05745, allocations: 37.97 kB / 27.39 MB, free: 348 kB / 10.45 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.382e-05/0.0575, allocations: 12.34 kB / 27.4 MB, free: 344 kB / 10.45 MB Notification: Performance of sort global known variables: time 8.366e-05/0.05759, allocations: 105.1 kB / 27.5 MB, free: 268 kB / 10.45 MB Notification: Performance of remove unused functions: time 0.0005655/0.05817, allocations: 89.97 kB / 27.59 MB, free: 260 kB / 10.45 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (P1.t_) * Number of discrete variables: 4 (T1.activation.active,T1.activation.weaklyInputActiveVec[1],P1.fireOut[1],P1.emptying) * Number of discrete states: 3 (P1.fireOut[1],T1.activation.weaklyInputActiveVec[1],T1.activation.active) * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 13 * Array equations: 1 * 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 Backend phase and start with SimCode phase: time 0.000348/0.05853, allocations: 165.6 kB / 27.75 MB, free: 160 kB / 10.45 MB Notification: Performance of simCode: created initialization part: time 0.0005842/0.05913, allocations: 246.5 kB / 27.99 MB, free: 116 kB / 10.45 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.05916, allocations: 7.156 kB / 28 MB, free: 112 kB / 10.45 MB Notification: Performance of simCode: created simulation system equations: time 0.0002887/0.05945, allocations: 132.2 kB / 28.13 MB, free: 80 kB / 10.45 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002921/0.05976, allocations: 19.95 kB / 28.15 MB, free: 76 kB / 10.45 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001022/0.0608, allocations: 330.3 kB / 28.47 MB, free: 3.367 MB / 13.93 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006689/0.0615, allocations: 0.8208 MB / 29.29 MB, free: 2.574 MB / 13.93 MB Notification: Performance of SimCode: time 4.108e-06/0.06152, allocations: 0 / 29.29 MB, free: 2.574 MB / 13.93 MB Notification: Performance of Templates: time 0.009963/0.0715, allocations: 2.8 MB / 32.09 MB, free: 360 kB / 13.93 MB make -j1 -f ConPNlib_ConPNlib.Examples.Test2.makefile (rm -f ConPNlib_ConPNlib.Examples.Test2.pipe ; mkfifo ConPNlib_ConPNlib.Examples.Test2.pipe ; head -c 1048576 < ConPNlib_ConPNlib.Examples.Test2.pipe >> ../files/ConPNlib_ConPNlib.Examples.Test2.sim & ./ConPNlib_ConPNlib.Examples.Test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ConPNlib_ConPNlib.Examples.Test2.pipe 2>&1)