Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ConPNlib_ConPNlib.Examples.Test10.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.Test10,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test10") translateModel(ConPNlib.Examples.Test10,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test10") [: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.01796/0.01796, allocations: 1.338 MB / 8.624 MB, free: 1.656 MB / 5.871 MB Notification: Performance of FrontEnd - loaded program: time 1.294e-05/1.32e-05, allocations: 0 / 12.83 MB, free: 1.113 MB / 7.832 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.000987/0.001039, allocations: 358 kB / 13.18 MB, free: 0.7734 MB / 7.832 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.01188/0.01294, allocations: 3.334 MB / 16.51 MB, free: 496 kB / 7.832 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002001/0.01322, allocations: 47.98 kB / 16.56 MB, free: 444 kB / 7.832 MB Notification: Performance of FrontEnd: time 0.06665/0.07989, allocations: 13.28 MB / 29.84 MB, free: 3.504 MB / 13.94 MB Notification: Performance of Transformations before backend: time 4.89e-05/0.07999, allocations: 23.19 kB / 29.86 MB, free: 3.504 MB / 13.94 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 301 * Number of variables: 301 Notification: Performance of Generate backend data structure: time 0.001942/0.08194, allocations: 1.035 MB / 30.89 MB, free: 2.855 MB / 13.94 MB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.08199, allocations: 8.328 kB / 30.9 MB, free: 2.855 MB / 13.94 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003138/0.08232, allocations: 109 kB / 31.01 MB, free: 2.797 MB / 13.94 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001269/0.0836, allocations: 0.5173 MB / 31.53 MB, free: 2.551 MB / 13.94 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.862e-05/0.08369, allocations: 40.66 kB / 31.57 MB, free: 2.551 MB / 13.94 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002047/0.08391, allocations: 78.64 kB / 31.64 MB, free: 2.547 MB / 13.94 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002511/0.08643, allocations: 0.9929 MB / 32.63 MB, free: 2.535 MB / 13.94 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004136/0.0906, allocations: 1.368 MB / 34 MB, free: 1.547 MB / 13.94 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.575e-05/0.09069, allocations: 0 / 34 MB, free: 1.547 MB / 13.94 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001372/0.09083, allocations: 9.812 kB / 34.01 MB, free: 1.543 MB / 13.94 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001772/0.09102, allocations: 78.39 kB / 34.09 MB, free: 1.477 MB / 13.94 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01337/0.1044, allocations: 2.527 MB / 36.62 MB, free: 1.957 MB / 13.94 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009737/0.1054, allocations: 0.5387 MB / 37.15 MB, free: 1.84 MB / 13.94 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007098/0.1062, allocations: 384 kB / 37.53 MB, free: 1.828 MB / 13.94 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006164/0.1068, allocations: 0.6018 MB / 38.13 MB, free: 1.172 MB / 13.94 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.821e-05/0.1068, allocations: 39.97 kB / 38.17 MB, free: 1.133 MB / 13.94 MB Notification: Performance of pre-optimization done (n=50): time 3.307e-06/0.1068, allocations: 0 / 38.17 MB, free: 1.133 MB / 13.94 MB Notification: Performance of matching and sorting (n=50): time 0.001816/0.1087, allocations: 0.5729 MB / 38.74 MB, free: 1.094 MB / 13.94 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001181/0.1088, allocations: 265.5 kB / 39 MB, free: 0.8125 MB / 13.94 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004543/0.1093, allocations: 314.8 kB / 39.31 MB, free: 0.7188 MB / 13.94 MB Notification: Performance of collectPreVariables (initialization): time 7.069e-05/0.1094, allocations: 37.58 kB / 39.35 MB, free: 0.6875 MB / 13.94 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003507/0.1097, allocations: 451 kB / 39.79 MB, free: 468 kB / 13.94 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001769/0.1099, allocations: 156.5 kB / 39.94 MB, free: 380 kB / 13.94 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.973e-05/0.11, allocations: 1.906 kB / 39.94 MB, free: 380 kB / 13.94 MB Notification: Performance of setup shared object (initialization): time 9.706e-05/0.1101, allocations: 355.2 kB / 40.29 MB, free: 60 kB / 13.94 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007455/0.1109, allocations: 315.5 kB / 40.6 MB, free: 60 kB / 13.94 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001226/0.1121, allocations: 0.5762 MB / 41.17 MB, free: 4.324 MB / 18.59 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00108/0.1132, allocations: 354.8 kB / 41.52 MB, free: 4.23 MB / 18.59 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.835e-06/0.1132, allocations: 3.969 kB / 41.52 MB, free: 4.23 MB / 18.59 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.002422/0.1156, allocations: 0.8547 MB / 42.38 MB, free: 3.645 MB / 18.59 MB Notification: Performance of prepare postOptimizeDAE: time 2.262e-05/0.1157, allocations: 4.312 kB / 42.38 MB, free: 3.641 MB / 18.59 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.985e-05/0.1157, allocations: 8 kB / 42.39 MB, free: 3.633 MB / 18.59 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.868e-05/0.1158, allocations: 15.14 kB / 42.41 MB, free: 3.621 MB / 18.59 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000745/0.1165, allocations: 123.3 kB / 42.53 MB, free: 3.516 MB / 18.59 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.656e-05/0.1166, allocations: 18.75 kB / 42.54 MB, free: 3.5 MB / 18.59 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006766/0.1173, allocations: 89.75 kB / 42.63 MB, free: 3.422 MB / 18.59 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001495/0.1174, allocations: 54.48 kB / 42.68 MB, free: 3.375 MB / 18.59 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 39 ($PRE.P1.fireOut[1],P1.emptying,$PRE.P2.fireOut[1],$PRE.P2.fireOut[2],P2.emptying,$PRE.P3.fireIn[1],P3.feeding,$PRE.P4.fireIn[1],P4.feeding,P1.feeding,P1.outTransition[1].arcType,P3.emptying,P4.emptying,P2.feeding,P2.outTransition[1].arcType,IA1.outTransition.arcType,P1.fireOut[1],P2.fireOut[1],P2.fireOut[2],T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyInputActiveVec[2],T1.activation.weaklyOutputActiveVec[1],T2.activation.active,T2.activation.weaklyInputActiveVec[1],T2.activation.weaklyOutputActiveVec[1],P3.fireIn[1],P4.fireIn[1],T1.activation.arcType[2],T2.activation.arcType[1],T2.activation.fed[1],T1.activation.fed[2],T2.activation.emptied[1],T1.activation.emptied[1],T1.activation.arcType[1],T1.activation.fed[1],T1.outPlaces[1].enabledByInPlaces,T2.outPlaces[1].enabledByInPlaces,P2.outTransition[2].arcType) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 85 * Array equations: 4 * 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.0003994/0.1178, allocations: 252.1 kB / 42.93 MB, free: 3.125 MB / 18.59 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001444/0.118, allocations: 43.53 kB / 42.97 MB, free: 3.082 MB / 18.59 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002423/0.1204, allocations: 0.7198 MB / 43.69 MB, free: 2.477 MB / 18.59 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.048e-05/0.1205, allocations: 13.64 kB / 43.71 MB, free: 2.465 MB / 18.59 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/0.1205, allocations: 3.469 kB / 43.71 MB, free: 2.465 MB / 18.59 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.808e-06/0.1205, allocations: 2.578 kB / 43.71 MB, free: 2.465 MB / 18.59 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00337/0.1239, allocations: 1.305 MB / 45.02 MB, free: 1.352 MB / 18.59 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.017e-06/0.124, allocations: 0 / 45.02 MB, free: 1.352 MB / 18.59 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006252/0.1246, allocations: 80.27 kB / 45.1 MB, free: 1.285 MB / 18.59 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.337e-05/0.1246, allocations: 4 kB / 45.1 MB, free: 1.281 MB / 18.59 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.099e-05/0.1247, allocations: 15.05 kB / 45.11 MB, free: 1.27 MB / 18.59 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.876e-06/0.1247, allocations: 7.281 kB / 45.12 MB, free: 1.266 MB / 18.59 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.491e-06/0.1248, allocations: 7.562 kB / 45.13 MB, free: 1.262 MB / 18.59 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002934/0.1277, allocations: 1.119 MB / 46.25 MB, free: 248 kB / 18.59 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001503/0.1279, allocations: 112.5 kB / 46.36 MB, free: 116 kB / 18.59 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001766/0.1281, allocations: 23.98 kB / 46.38 MB, free: 92 kB / 18.59 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005503/0.1287, allocations: 51.95 kB / 46.43 MB, free: 40 kB / 18.59 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.006848/0.1355, allocations: 129 kB / 46.56 MB, free: 5.988 MB / 18.59 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000136/0.1357, allocations: 38.64 kB / 46.6 MB, free: 5.988 MB / 18.59 MB Notification: Performance of sort global known variables: time 0.0002416/0.1359, allocations: 186 kB / 46.78 MB, free: 5.91 MB / 18.59 MB Notification: Performance of remove unused functions: time 0.001084/0.137, allocations: 251.3 kB / 47.02 MB, free: 5.91 MB / 18.59 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (P1.t_,P2.t_,P3.t_,P4.t_) * Number of discrete variables: 16 (P1.fireOut[1],P1.emptying,P2.fireOut[1],P2.fireOut[2],P2.emptying,T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyInputActiveVec[2],T1.activation.weaklyOutputActiveVec[1],T2.activation.active,T2.activation.weaklyInputActiveVec[1],T2.activation.weaklyOutputActiveVec[1],P3.fireIn[1],P3.feeding,P4.fireIn[1],P4.feeding) * Number of discrete states: 12 (P4.fireIn[1],P3.fireIn[1],P2.fireOut[1],P2.fireOut[2],P1.fireOut[1],T1.activation.weaklyOutputActiveVec[1],T1.activation.weaklyInputActiveVec[2],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 (49): * Single equations (assignments): 43 * Array equations: 4 * 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.000516/0.1376, allocations: 218 kB / 47.24 MB, free: 5.82 MB / 18.59 MB Notification: Performance of simCode: created initialization part: time 0.002296/0.1399, allocations: 0.9545 MB / 48.19 MB, free: 5.754 MB / 18.59 MB Notification: Performance of simCode: created event and clocks part: time 8.646e-06/0.14, allocations: 0 / 48.19 MB, free: 5.754 MB / 18.59 MB Notification: Performance of simCode: created simulation system equations: time 0.001478/0.1414, allocations: 0.5168 MB / 48.71 MB, free: 5.691 MB / 18.59 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005327/0.142, allocations: 50 kB / 48.76 MB, free: 5.691 MB / 18.59 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003753/0.1458, allocations: 1.406 MB / 50.16 MB, free: 5.344 MB / 18.59 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001219/0.147, allocations: 1.215 MB / 51.38 MB, free: 4.586 MB / 18.59 MB Notification: Performance of SimCode: time 1.242e-06/0.1471, allocations: 0 / 51.38 MB, free: 4.586 MB / 18.59 MB Notification: Performance of Templates: time 0.02986/0.1769, allocations: 8.043 MB / 59.42 MB, free: 4.199 MB / 18.59 MB make -j1 -f ConPNlib_ConPNlib.Examples.Test10.makefile (rm -f ConPNlib_ConPNlib.Examples.Test10.pipe ; mkfifo ConPNlib_ConPNlib.Examples.Test10.pipe ; head -c 1048576 < ConPNlib_ConPNlib.Examples.Test10.pipe >> ../files/ConPNlib_ConPNlib.Examples.Test10.sim & ./ConPNlib_ConPNlib.Examples.Test10 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ConPNlib_ConPNlib.Examples.Test10.pipe 2>&1)