Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ConPNlib_ConPNlib.Examples.Test12.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.Test12,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test12") translateModel(ConPNlib.Examples.Test12,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test12") [: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.01493/0.01493, allocations: 1.338 MB / 8.624 MB, free: 1.652 MB / 5.871 MB Notification: Performance of FrontEnd - loaded program: time 9.147e-06/9.307e-06, allocations: 0 / 12.82 MB, free: 1.113 MB / 7.832 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0009837/0.001025, allocations: 366.4 kB / 13.18 MB, free: 0.7656 MB / 7.832 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.009677/0.01073, allocations: 3.282 MB / 16.46 MB, free: 0.5273 MB / 7.832 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001442/0.01093, allocations: 47.98 kB / 16.51 MB, free: 492 kB / 7.832 MB Notification: Performance of FrontEnd: time 0.06955/0.0805, allocations: 12.45 MB / 28.96 MB, free: 2.914 MB / 13.93 MB Notification: Performance of Transformations before backend: time 4.712e-05/0.08059, allocations: 20.5 kB / 28.98 MB, free: 2.895 MB / 13.93 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 269 * Number of variables: 269 Notification: Performance of Generate backend data structure: time 0.001956/0.08256, allocations: 0.9851 MB / 29.97 MB, free: 1.859 MB / 13.93 MB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.08261, allocations: 8.609 kB / 29.97 MB, free: 1.852 MB / 13.93 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002854/0.08291, allocations: 98.88 kB / 30.07 MB, free: 1.754 MB / 13.93 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001297/0.08422, allocations: 0.5123 MB / 30.58 MB, free: 1.203 MB / 13.93 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.713e-05/0.08431, allocations: 36 kB / 30.62 MB, free: 1.168 MB / 13.93 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002271/0.08456, allocations: 80 kB / 30.7 MB, free: 1.09 MB / 13.93 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002699/0.08727, allocations: 0.9607 MB / 31.66 MB, free: 128 kB / 13.93 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008901/0.09619, allocations: 1.274 MB / 32.93 MB, free: 1.902 MB / 13.93 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.436e-05/0.09627, allocations: 0 / 32.93 MB, free: 1.902 MB / 13.93 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001287/0.09641, allocations: 8.375 kB / 32.94 MB, free: 1.902 MB / 13.93 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001481/0.09657, allocations: 71.62 kB / 33.01 MB, free: 1.898 MB / 13.93 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004661/0.1012, allocations: 2.322 MB / 35.33 MB, free: 1.238 MB / 13.93 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001062/0.1023, allocations: 0.6579 MB / 35.99 MB, free: 0.8828 MB / 13.93 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007614/0.1031, allocations: 406.3 kB / 36.39 MB, free: 0.7305 MB / 13.93 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006186/0.1093, allocations: 0.8663 MB / 37.25 MB, free: 1.871 MB / 13.93 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.028e-05/0.1094, allocations: 38.69 kB / 37.29 MB, free: 1.832 MB / 13.93 MB Notification: Performance of pre-optimization done (n=52): time 3.988e-06/0.1094, allocations: 0 / 37.29 MB, free: 1.832 MB / 13.93 MB Notification: Performance of matching and sorting (n=52): time 0.002248/0.1116, allocations: 0.7274 MB / 38.02 MB, free: 1.781 MB / 13.93 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001165/0.1118, allocations: 244.3 kB / 38.26 MB, free: 1.531 MB / 13.93 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003699/0.1122, allocations: 264 kB / 38.51 MB, free: 1.438 MB / 13.93 MB Notification: Performance of collectPreVariables (initialization): time 7.446e-05/0.1123, allocations: 36.36 kB / 38.55 MB, free: 1.406 MB / 13.93 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002791/0.1126, allocations: 399.8 kB / 38.94 MB, free: 1.234 MB / 13.93 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001712/0.1127, allocations: 158.6 kB / 39.09 MB, free: 1.145 MB / 13.93 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.95e-05/0.1128, allocations: 4.719 kB / 39.1 MB, free: 1.145 MB / 13.93 MB Notification: Performance of setup shared object (initialization): time 8.894e-05/0.1129, allocations: 346.4 kB / 39.44 MB, free: 0.832 MB / 13.93 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007551/0.1137, allocations: 333 kB / 39.76 MB, free: 0.8281 MB / 13.93 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008936/0.1146, allocations: 0.5026 MB / 40.26 MB, free: 0.6289 MB / 13.93 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001008/0.1156, allocations: 346.3 kB / 40.6 MB, free: 0.6211 MB / 13.93 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/0.1156, allocations: 6.938 kB / 40.61 MB, free: 0.6211 MB / 13.93 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002488/0.1181, allocations: 0.9224 MB / 41.53 MB, free: 484 kB / 13.93 MB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.1182, allocations: 7.406 kB / 41.54 MB, free: 484 kB / 13.93 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.24e-05/0.1182, allocations: 2.969 kB / 41.54 MB, free: 484 kB / 13.93 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002938/0.1211, allocations: 438.2 kB / 41.97 MB, free: 420 kB / 13.93 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004627/0.1216, allocations: 83.97 kB / 42.05 MB, free: 348 kB / 13.93 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007232/0.1289, allocations: 0.9427 MB / 42.99 MB, free: 1.008 MB / 13.93 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006829/0.1296, allocations: 72.86 kB / 43.07 MB, free: 1.008 MB / 13.93 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001282/0.1297, allocations: 49.34 kB / 43.11 MB, free: 1.008 MB / 13.93 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: T2.speedSumIn[1]:VARIABLE(protected = true ) "Input speeds of continuous input places" type: Real [1] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 34 ($PRE.P2.fireIn[1],P2.feeding,$PRE.P3.fireIn[1],P3.feeding,P2.emptying,P3.emptying,P1.outTransition[2].arcType,P1.outTransition[1].arcType,T1.activation.emptied[1],T1.activation.active,T1.activation.weaklyOutputActiveVec[1],T2.activation.fed[1],T2.activation.active,T2.activation.weaklyInputActiveVec[1],T2.activation.weaklyOutputActiveVec[1],T3.activation.fed[1],T3.activation.active,T3.activation.weaklyInputActiveVec[1],T3.activation.weaklyOutputActiveVec[1],$PRE.P1.fireIn[1],P1.fireIn[1],$PRE.P1.fireOut[1],P1.fireOut[1],$PRE.P1.fireOut[2],P1.fireOut[2],P2.fireIn[1],P3.fireIn[1],T2.activation.arcType[1],T3.activation.arcType[1],T3.activation.emptied[1],T2.activation.emptied[1],T2.outPlaces[1].enabledByInPlaces,T3.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): 64 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 11} Notification: Performance of prepare postOptimizeDAE: time 0.0003855/0.1301, allocations: 275.4 kB / 43.38 MB, free: 0.8047 MB / 13.93 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001264/0.1302, allocations: 39.59 kB / 43.42 MB, free: 0.8047 MB / 13.93 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002931/0.1332, allocations: 0.9743 MB / 44.4 MB, free: 0.75 MB / 13.93 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.544e-05/0.1333, allocations: 7.219 kB / 44.4 MB, free: 0.75 MB / 13.93 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.1333, allocations: 1.031 kB / 44.4 MB, free: 0.75 MB / 13.93 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.064e-05/0.1333, allocations: 3.797 kB / 44.41 MB, free: 0.75 MB / 13.93 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003358/0.1367, allocations: 1.473 MB / 45.88 MB, free: 480 kB / 13.93 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.196e-06/0.1367, allocations: 0 / 45.88 MB, free: 480 kB / 13.93 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003701/0.1371, allocations: 53.77 kB / 45.93 MB, free: 480 kB / 13.93 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001813/0.1389, allocations: 401 kB / 46.32 MB, free: 468 kB / 13.93 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001183/0.1391, allocations: 20.09 kB / 46.34 MB, free: 468 kB / 13.93 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00164/0.1407, allocations: 0.9841 MB / 47.33 MB, free: 4.535 MB / 18.61 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/0.1408, allocations: 4 kB / 47.33 MB, free: 4.531 MB / 18.61 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003738/0.1445, allocations: 1.347 MB / 48.68 MB, free: 3.355 MB / 18.61 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001573/0.1447, allocations: 117.8 kB / 48.79 MB, free: 3.25 MB / 18.61 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001947/0.1449, allocations: 17.83 kB / 48.81 MB, free: 3.234 MB / 18.61 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005183/0.1455, allocations: 53.14 kB / 48.86 MB, free: 3.191 MB / 18.61 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004463/0.1459, allocations: 147.8 kB / 49.01 MB, free: 3.094 MB / 18.61 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001228/0.1461, allocations: 37.53 kB / 49.05 MB, free: 3.062 MB / 18.61 MB Notification: Performance of sort global known variables: time 0.0002501/0.1463, allocations: 167.7 kB / 49.21 MB, free: 2.91 MB / 18.61 MB Notification: Performance of remove unused functions: time 0.001186/0.1475, allocations: 243.4 kB / 49.45 MB, free: 2.711 MB / 18.61 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: 18 (T1.activation.emptied[1],T1.activation.active,T1.activation.weaklyOutputActiveVec[1],T2.activation.fed[1],T2.activation.active,T2.activation.weaklyInputActiveVec[1],T2.activation.weaklyOutputActiveVec[1],T3.activation.fed[1],T3.activation.active,T3.activation.weaklyInputActiveVec[1],T3.activation.weaklyOutputActiveVec[1],P1.fireIn[1],P1.fireOut[1],P1.fireOut[2],P2.fireIn[1],P2.feeding,P3.fireIn[1],P3.feeding) * Number of discrete states: 13 (P3.fireIn[1],P2.fireIn[1],P1.fireOut[1],P1.fireOut[2],P1.fireIn[1],T1.activation.weaklyOutputActiveVec[1],T1.activation.active,T2.activation.weaklyOutputActiveVec[1],T2.activation.weaklyInputActiveVec[1],T2.activation.active,T3.activation.weaklyOutputActiveVec[1],T3.activation.weaklyInputActiveVec[1],T3.activation.active) * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.000666/0.1482, allocations: 224.8 kB / 49.67 MB, free: 2.516 MB / 18.61 MB Notification: Performance of simCode: created initialization part: time 0.002616/0.1509, allocations: 1.015 MB / 50.68 MB, free: 1.586 MB / 18.61 MB Notification: Performance of simCode: created event and clocks part: time 4.598e-06/0.1509, allocations: 0 / 50.68 MB, free: 1.586 MB / 18.61 MB Notification: Performance of simCode: created simulation system equations: time 0.001527/0.1524, allocations: 0.5795 MB / 51.26 MB, free: 1.039 MB / 18.61 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005008/0.153, allocations: 43.14 kB / 51.3 MB, free: 1.008 MB / 18.61 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01092/0.1639, allocations: 1.351 MB / 52.65 MB, free: 5.426 MB / 18.61 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008963/0.1649, allocations: 1.145 MB / 53.8 MB, free: 4.723 MB / 18.61 MB Notification: Performance of SimCode: time 1.002e-06/0.1649, allocations: 6.812 kB / 53.81 MB, free: 4.723 MB / 18.61 MB Notification: Performance of Templates: time 0.03235/0.1973, allocations: 9.471 MB / 63.28 MB, free: 4.543 MB / 18.61 MB make -j1 -f ConPNlib_ConPNlib.Examples.Test12.makefile (rm -f ConPNlib_ConPNlib.Examples.Test12.pipe ; mkfifo ConPNlib_ConPNlib.Examples.Test12.pipe ; head -c 1048576 < ConPNlib_ConPNlib.Examples.Test12.pipe >> ../files/ConPNlib_ConPNlib.Examples.Test12.sim & ./ConPNlib_ConPNlib.Examples.Test12 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ConPNlib_ConPNlib.Examples.Test12.pipe 2>&1)