Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ConPNlib_ConPNlib.Examples.Test8.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.Test8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test8") translateModel(ConPNlib.Examples.Test8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test8") [: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.01597/0.01597, allocations: 1.336 MB / 8.618 MB, free: 2.066 MB / 6.207 MB Notification: Performance of FrontEnd - loaded program: time 9.248e-06/9.387e-06, allocations: 0 / 12.82 MB, free: 2.02 MB / 8.277 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.001056/0.001098, allocations: 357 kB / 13.17 MB, free: 1.684 MB / 8.277 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.01201/0.01314, allocations: 3.285 MB / 16.45 MB, free: 1.609 MB / 8.277 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001635/0.01336, allocations: 50.92 kB / 16.5 MB, free: 1.59 MB / 8.277 MB Notification: Performance of FrontEnd: time 0.08205/0.09542, allocations: 10.63 MB / 27.13 MB, free: 216 kB / 11.04 MB Notification: Performance of Transformations before backend: time 5.296e-05/0.09553, allocations: 18.52 kB / 27.15 MB, free: 216 kB / 11.04 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 0.002122/0.09767, allocations: 0.8613 MB / 28.01 MB, free: 3.344 MB / 14.74 MB Notification: Performance of prepare preOptimizeDAE: time 5.284e-05/0.09774, allocations: 10.58 kB / 28.02 MB, free: 3.344 MB / 14.74 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00038/0.09814, allocations: 83.28 kB / 28.1 MB, free: 3.305 MB / 14.74 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001458/0.09961, allocations: 461.1 kB / 28.55 MB, free: 3.059 MB / 14.74 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.014e-05/0.09972, allocations: 32.97 kB / 28.59 MB, free: 3.059 MB / 14.74 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002378/0.09997, allocations: 54.56 kB / 28.64 MB, free: 3.059 MB / 14.74 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002487/0.1025, allocations: 0.7738 MB / 29.41 MB, free: 3.055 MB / 14.74 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003185/0.1057, allocations: 1.041 MB / 30.45 MB, free: 2.949 MB / 14.74 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.794e-05/0.1057, allocations: 1.219 kB / 30.46 MB, free: 2.949 MB / 14.74 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001603/0.1059, allocations: 6.531 kB / 30.46 MB, free: 2.949 MB / 14.74 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001725/0.1061, allocations: 59.34 kB / 30.52 MB, free: 2.945 MB / 14.74 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006172/0.1123, allocations: 1.86 MB / 32.38 MB, free: 1.609 MB / 14.74 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001428/0.1138, allocations: 0.5336 MB / 32.91 MB, free: 1.066 MB / 14.74 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008617/0.1147, allocations: 301.8 kB / 33.21 MB, free: 0.7969 MB / 14.74 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009607/0.1157, allocations: 0.601 MB / 33.81 MB, free: 96 kB / 14.74 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.17e-05/0.1157, allocations: 38.56 kB / 33.85 MB, free: 48 kB / 14.74 MB Notification: Performance of pre-optimization done (n=40): time 4.088e-06/0.1157, allocations: 0 / 33.85 MB, free: 48 kB / 14.74 MB Notification: Performance of matching and sorting (n=40): time 0.009351/0.1251, allocations: 0.5316 MB / 34.38 MB, free: 3.203 MB / 14.74 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001361/0.1253, allocations: 213.4 kB / 34.59 MB, free: 2.984 MB / 14.74 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03038/0.1557, allocations: 246.9 kB / 34.83 MB, free: 2.891 MB / 14.74 MB Notification: Performance of collectPreVariables (initialization): time 0.0001767/0.1559, allocations: 34.06 kB / 34.86 MB, free: 2.859 MB / 14.74 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003785/0.1563, allocations: 337.1 kB / 35.19 MB, free: 2.711 MB / 14.74 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002101/0.1565, allocations: 123.6 kB / 35.31 MB, free: 2.641 MB / 14.74 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.711e-05/0.1566, allocations: 4.188 kB / 35.32 MB, free: 2.641 MB / 14.74 MB Notification: Performance of setup shared object (initialization): time 0.000112/0.1567, allocations: 343.4 kB / 35.65 MB, free: 2.328 MB / 14.74 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00526/0.162, allocations: 260.3 kB / 35.91 MB, free: 2.328 MB / 14.74 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009936/0.163, allocations: 432.5 kB / 36.33 MB, free: 2.121 MB / 14.74 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001153/0.1642, allocations: 277.8 kB / 36.6 MB, free: 2.113 MB / 14.74 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.946e-06/0.1642, allocations: 3.188 kB / 36.6 MB, free: 2.113 MB / 14.74 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002348/0.1666, allocations: 0.6767 MB / 37.28 MB, free: 2.059 MB / 14.74 MB Notification: Performance of prepare postOptimizeDAE: time 2.299e-05/0.1666, allocations: 6.656 kB / 37.29 MB, free: 2.059 MB / 14.74 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.796e-05/0.1667, allocations: 8.438 kB / 37.29 MB, free: 2.059 MB / 14.74 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.577e-05/0.1667, allocations: 8.344 kB / 37.3 MB, free: 2.059 MB / 14.74 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006914/0.1674, allocations: 91.5 kB / 37.39 MB, free: 2.051 MB / 14.74 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.699e-05/0.1675, allocations: 10.62 kB / 37.4 MB, free: 2.051 MB / 14.74 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006865/0.1682, allocations: 77.61 kB / 37.48 MB, free: 2.035 MB / 14.74 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001478/0.1683, allocations: 37.95 kB / 37.51 MB, free: 2.035 MB / 14.74 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 30 ($PRE.P1.fireOut[1],$PRE.P1.fireOut[2],P1.emptying,$PRE.P2.fireIn[1],P2.feeding,$PRE.P3.fireIn[1],P3.feeding,P1.feeding,P1.outTransition[2].arcType,P1.outTransition[1].arcType,P3.emptying,P2.emptying,P1.fireOut[1],P1.fireOut[2],P2.fireIn[1],T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyOutputActiveVec[1],T2.activation.active,T2.activation.weaklyInputActiveVec[1],T2.activation.weaklyOutputActiveVec[1],P3.fireIn[1],T1.activation.emptied[1],T2.activation.emptied[1],T1.activation.arcType[1],T2.activation.arcType[1],T1.activation.fed[1],T2.activation.fed[1],T2.outPlaces[1].enabledByInPlaces,T1.outPlaces[1].enabledByInPlaces) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 63 * Array equations: 3 * Algorithm blocks: 2 * 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.0003733/0.1687, allocations: 239.6 kB / 37.75 MB, free: 1.848 MB / 14.74 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001529/0.1689, allocations: 37.72 kB / 37.78 MB, free: 1.828 MB / 14.74 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01294/0.1818, allocations: 0.593 MB / 38.38 MB, free: 1.793 MB / 14.74 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.025e-05/0.1819, allocations: 3.562 kB / 38.38 MB, free: 1.793 MB / 14.74 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.906e-06/0.182, allocations: 4.859 kB / 38.39 MB, free: 1.793 MB / 14.74 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.19e-05/0.182, allocations: 2.391 kB / 38.39 MB, free: 1.793 MB / 14.74 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003197/0.1852, allocations: 1.096 MB / 39.48 MB, free: 1.352 MB / 14.74 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.708e-06/0.1853, allocations: 3.906 kB / 39.49 MB, free: 1.348 MB / 14.74 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006164/0.1859, allocations: 65.94 kB / 39.55 MB, free: 1.34 MB / 14.74 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.185e-05/0.1859, allocations: 0 / 39.55 MB, free: 1.34 MB / 14.74 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.471e-05/0.186, allocations: 15.73 kB / 39.57 MB, free: 1.34 MB / 14.74 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.68e-06/0.186, allocations: 3.219 kB / 39.57 MB, free: 1.34 MB / 14.74 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.186, allocations: 0 / 39.57 MB, free: 1.34 MB / 14.74 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002872/0.1889, allocations: 0.9449 MB / 40.52 MB, free: 0.5078 MB / 14.74 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001025/0.1891, allocations: 108.7 kB / 40.62 MB, free: 392 kB / 14.74 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001779/0.1893, allocations: 23.19 kB / 40.64 MB, free: 372 kB / 14.74 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006544/0.1899, allocations: 40.22 kB / 40.68 MB, free: 340 kB / 14.74 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004256/0.1904, allocations: 116.8 kB / 40.8 MB, free: 260 kB / 14.74 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001939/0.1906, allocations: 32.33 kB / 40.83 MB, free: 248 kB / 14.74 MB Notification: Performance of sort global known variables: time 0.007189/0.1978, allocations: 164.2 kB / 40.99 MB, free: 2.355 MB / 14.74 MB Notification: Performance of remove unused functions: time 0.00167/0.1995, allocations: 216.4 kB / 41.2 MB, free: 2.355 MB / 14.74 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (P1.t_,P2.t_,P3.t_) * Number of discrete variables: 13 (P1.fireOut[1],P1.fireOut[2],P1.emptying,P2.fireIn[1],P2.feeding,T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyOutputActiveVec[1],T2.activation.active,T2.activation.weaklyInputActiveVec[1],T2.activation.weaklyOutputActiveVec[1],P3.fireIn[1],P3.feeding) * Number of discrete states: 10 (P3.fireIn[1],P2.fireIn[1],P1.fireOut[1],P1.fireOut[2],T1.activation.weaklyOutputActiveVec[1],T1.activation.weaklyInputActiveVec[1],T1.activation.active,T2.activation.weaklyOutputActiveVec[1],T2.activation.weaklyInputActiveVec[1],T2.activation.active) * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 34 * Array equations: 3 * Algorithm blocks: 2 * 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.0008621/0.2004, allocations: 210.3 kB / 41.41 MB, free: 2.266 MB / 14.74 MB Notification: Performance of simCode: created initialization part: time 0.003066/0.2035, allocations: 0.7716 MB / 42.18 MB, free: 2.203 MB / 14.74 MB Notification: Performance of simCode: created event and clocks part: time 9.819e-06/0.2036, allocations: 0 / 42.18 MB, free: 2.203 MB / 14.74 MB Notification: Performance of simCode: created simulation system equations: time 0.001893/0.2055, allocations: 437.8 kB / 42.61 MB, free: 2.141 MB / 14.74 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009044/0.2065, allocations: 39.94 kB / 42.64 MB, free: 2.137 MB / 14.74 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004659/0.2112, allocations: 1.039 MB / 43.68 MB, free: 1.902 MB / 14.74 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001128/0.2124, allocations: 1.094 MB / 44.78 MB, free: 1.199 MB / 14.74 MB Notification: Performance of SimCode: time 1.072e-06/0.2124, allocations: 0 / 44.78 MB, free: 1.199 MB / 14.74 MB Notification: Performance of Templates: time 0.02487/0.2373, allocations: 6.785 MB / 51.56 MB, free: 0.7812 MB / 14.74 MB make -j1 -f ConPNlib_ConPNlib.Examples.Test8.makefile (rm -f ConPNlib_ConPNlib.Examples.Test8.pipe ; mkfifo ConPNlib_ConPNlib.Examples.Test8.pipe ; head -c 1048576 < ConPNlib_ConPNlib.Examples.Test8.pipe >> ../files/ConPNlib_ConPNlib.Examples.Test8.sim & ./ConPNlib_ConPNlib.Examples.Test8 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ConPNlib_ConPNlib.Examples.Test8.pipe 2>&1)