Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ConPNlib_ConPNlib.Examples.Test7.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.Test7,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test7") translateModel(ConPNlib.Examples.Test7,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test7") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo): time 0.008281/0.008281, allocations: 1.337 MB / 8.814 MB, free: 244 kB / 5.871 MB Notification: Performance of FrontEnd - loaded program: time 1.643e-05/1.645e-05, allocations: 2.781 kB / 13.13 MB, free: 2.277 MB / 7.832 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0006426/0.0006819, allocations: 357.2 kB / 13.48 MB, free: 2.242 MB / 7.832 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.004373/0.005069, allocations: 3.353 MB / 16.84 MB, free: 1.922 MB / 10.45 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001516/0.005276, allocations: 51.05 kB / 16.89 MB, free: 1.875 MB / 10.45 MB Notification: Performance of FrontEnd - DAE generated: time 0.03319/0.03848, allocations: 6.861 MB / 23.75 MB, free: 364 kB / 10.45 MB Notification: Performance of FrontEnd: time 1.713e-06/0.03853, allocations: 0 / 23.75 MB, free: 364 kB / 10.45 MB Notification: Performance of Transformations before backend: time 2.263e-05/0.03857, allocations: 4 kB / 23.75 MB, free: 360 kB / 10.45 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.008717/0.0473, allocations: 0.6174 MB / 24.37 MB, free: 484 kB / 10.45 MB Notification: Performance of prepare preOptimizeDAE: time 4.87e-05/0.04737, allocations: 9.156 kB / 24.38 MB, free: 484 kB / 10.45 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002116/0.04759, allocations: 42.98 kB / 24.42 MB, free: 464 kB / 10.45 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005826/0.04818, allocations: 314.8 kB / 24.73 MB, free: 256 kB / 10.45 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.856e-05/0.04824, allocations: 15.19 kB / 24.74 MB, free: 256 kB / 10.45 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.321e-05/0.04834, allocations: 28.28 kB / 24.77 MB, free: 256 kB / 10.45 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009025/0.04925, allocations: 388.8 kB / 25.15 MB, free: 256 kB / 10.45 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001138/0.05041, allocations: 0.536 MB / 25.69 MB, free: 3.668 MB / 13.95 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.029e-05/0.05045, allocations: 0 / 25.69 MB, free: 3.668 MB / 13.95 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.008e-05/0.05052, allocations: 7.266 kB / 25.69 MB, free: 3.664 MB / 13.95 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.349e-05/0.05061, allocations: 35.12 kB / 25.73 MB, free: 3.664 MB / 13.95 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002095/0.05272, allocations: 1.054 MB / 26.78 MB, free: 3.273 MB / 13.95 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005207/0.05328, allocations: 285.8 kB / 27.06 MB, free: 3.152 MB / 13.95 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002843/0.05358, allocations: 151.2 kB / 27.21 MB, free: 3.145 MB / 13.95 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007102/0.0543, allocations: 0.598 MB / 27.8 MB, free: 2.488 MB / 13.95 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.512e-05/0.05436, allocations: 43.62 kB / 27.85 MB, free: 2.441 MB / 13.95 MB Notification: Performance of pre-optimization done (n=22): time 2.946e-06/0.05437, allocations: 0 / 27.85 MB, free: 2.441 MB / 13.95 MB Notification: Performance of matching and sorting (n=22): time 0.0008395/0.05522, allocations: 267.6 kB / 28.11 MB, free: 2.352 MB / 13.95 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.777e-05/0.05533, allocations: 146.3 kB / 28.25 MB, free: 2.191 MB / 13.95 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002241/0.05557, allocations: 179.8 kB / 28.43 MB, free: 2.059 MB / 13.95 MB Notification: Performance of collectPreVariables (initialization): time 4.356e-05/0.05562, allocations: 25.7 kB / 28.45 MB, free: 2.027 MB / 13.95 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001918/0.05582, allocations: 224.4 kB / 28.67 MB, free: 1.855 MB / 13.95 MB Notification: Performance of collectInitialBindings (initialization): time 9.758e-05/0.05593, allocations: 72.08 kB / 28.74 MB, free: 1.805 MB / 13.95 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.687e-05/0.05597, allocations: 1.031 kB / 28.74 MB, free: 1.805 MB / 13.95 MB Notification: Performance of setup shared object (initialization): time 0.0001435/0.05613, allocations: 330.1 kB / 29.07 MB, free: 1.484 MB / 13.95 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00029/0.05643, allocations: 125 kB / 29.19 MB, free: 1.441 MB / 13.95 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003922/0.05683, allocations: 239.2 kB / 29.42 MB, free: 1.234 MB / 13.95 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005129/0.05736, allocations: 144.4 kB / 29.56 MB, free: 1.125 MB / 13.95 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.441e-06/0.05738, allocations: 0 / 29.56 MB, free: 1.125 MB / 13.95 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001099/0.05849, allocations: 377.6 kB / 29.93 MB, free: 0.8008 MB / 13.95 MB Notification: Performance of prepare postOptimizeDAE: time 8.999e-05/0.05862, allocations: 45.67 kB / 29.98 MB, free: 0.7539 MB / 13.95 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.48e-05/0.05864, allocations: 8.312 kB / 29.98 MB, free: 0.7461 MB / 13.95 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.82e-05/0.05868, allocations: 10.95 kB / 29.99 MB, free: 0.7383 MB / 13.95 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003434/0.05904, allocations: 50.36 kB / 30.04 MB, free: 0.6953 MB / 13.95 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.48e-05/0.05907, allocations: 10.28 kB / 30.05 MB, free: 0.6875 MB / 13.95 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003111/0.05939, allocations: 37.52 kB / 30.09 MB, free: 0.6562 MB / 13.95 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.092e-05/0.05947, allocations: 23.56 kB / 30.11 MB, free: 0.6367 MB / 13.95 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 16 ($PRE.P1.fireOut[1],P1.emptying,$PRE.P2.fireIn[1],P2.feeding,P1.feeding,P1.outTransition[1].arcType,P2.emptying,P1.fireOut[1],P2.fireIn[1],T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyOutputActiveVec[1],T1.activation.emptied[1],T1.activation.arcType[1],T1.activation.fed[1],T1.outPlaces[1].enabledByInPlaces) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 35 * Array equations: 2 * 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.0002397/0.05972, allocations: 172.5 kB / 30.28 MB, free: 476 kB / 13.95 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.724e-05/0.05982, allocations: 23.77 kB / 30.3 MB, free: 452 kB / 13.95 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001049/0.06088, allocations: 332.1 kB / 30.63 MB, free: 168 kB / 13.95 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-05/0.06094, allocations: 6.391 kB / 30.64 MB, free: 164 kB / 13.95 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.06096, allocations: 0 / 30.64 MB, free: 164 kB / 13.95 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/0.06098, allocations: 4 kB / 30.64 MB, free: 160 kB / 13.95 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0107/0.07169, allocations: 0.6759 MB / 31.32 MB, free: 2.926 MB / 13.95 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.852e-06/0.07174, allocations: 0.7188 kB / 31.32 MB, free: 2.926 MB / 13.95 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002937/0.07204, allocations: 43.98 kB / 31.36 MB, free: 2.926 MB / 13.95 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.077e-06/0.07207, allocations: 3.844 kB / 31.36 MB, free: 2.926 MB / 13.95 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.478e-05/0.07211, allocations: 7.391 kB / 31.37 MB, free: 2.926 MB / 13.95 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.559e-06/0.07213, allocations: 0 / 31.37 MB, free: 2.926 MB / 13.95 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.07214, allocations: 5.062 kB / 31.37 MB, free: 2.926 MB / 13.95 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00116/0.07331, allocations: 0.5438 MB / 31.92 MB, free: 2.793 MB / 13.95 MB Notification: Performance of postOpt removeConstants (simulation): time 7.538e-05/0.07341, allocations: 97.58 kB / 32.01 MB, free: 2.699 MB / 13.95 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001006/0.07353, allocations: 7.578 kB / 32.02 MB, free: 2.699 MB / 13.95 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000348/0.0739, allocations: 22.47 kB / 32.04 MB, free: 2.699 MB / 13.95 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001935/0.07411, allocations: 54.7 kB / 32.1 MB, free: 2.699 MB / 13.95 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.988e-05/0.07417, allocations: 17.44 kB / 32.11 MB, free: 2.699 MB / 13.95 MB Notification: Performance of sorting global known variables: time 0.0001058/0.07429, allocations: 126.9 kB / 32.24 MB, free: 2.621 MB / 13.95 MB Notification: Performance of sort global known variables: time 4.91e-07/0.0743, allocations: 0.5625 kB / 32.24 MB, free: 2.621 MB / 13.95 MB Notification: Performance of remove unused functions: time 0.000683/0.07499, allocations: 158.1 kB / 32.39 MB, free: 2.621 MB / 13.95 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (P1.t_,P2.t_) * Number of discrete variables: 7 (P1.fireOut[1],P1.emptying,P2.fireIn[1],P2.feeding,T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyOutputActiveVec[1]) * Number of discrete states: 5 (P2.fireIn[1],P1.fireOut[1],T1.activation.weaklyOutputActiveVec[1],T1.activation.weaklyInputActiveVec[1],T1.activation.active) * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 19 * Array equations: 2 * 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.0004173/0.07542, allocations: 201.5 kB / 32.59 MB, free: 2.527 MB / 13.95 MB Notification: Performance of simCode: created initialization part: time 0.000888/0.07633, allocations: 434.9 kB / 33.01 MB, free: 2.457 MB / 13.95 MB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.07635, allocations: 0 / 33.01 MB, free: 2.457 MB / 13.95 MB Notification: Performance of simCode: created simulation system equations: time 0.0003874/0.07675, allocations: 245.7 kB / 33.25 MB, free: 2.395 MB / 13.95 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003939/0.07716, allocations: 19.52 kB / 33.27 MB, free: 2.395 MB / 13.95 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001437/0.07861, allocations: 0.549 MB / 33.82 MB, free: 2.238 MB / 13.95 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003459/0.07899, allocations: 0.8642 MB / 34.69 MB, free: 1.539 MB / 13.95 MB Notification: Performance of simCode: alias equations: time 0.0003465/0.07935, allocations: 76.59 kB / 34.76 MB, free: 1.539 MB / 13.95 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001194/0.07948, allocations: 35.45 kB / 34.8 MB, free: 1.531 MB / 13.95 MB Notification: Performance of SimCode: time 1.142e-06/0.07949, allocations: 0 / 34.8 MB, free: 1.531 MB / 13.95 MB Notification: Performance of Templates: time 0.02177/0.1013, allocations: 3.781 MB / 38.58 MB, free: 2.109 MB / 13.95 MB make -j1 -f ConPNlib_ConPNlib.Examples.Test7.makefile (rm -f ConPNlib_ConPNlib.Examples.Test7.pipe ; mkfifo ConPNlib_ConPNlib.Examples.Test7.pipe ; head -c 1048576 < ConPNlib_ConPNlib.Examples.Test7.pipe >> ../files/ConPNlib_ConPNlib.Examples.Test7.sim & ./ConPNlib_ConPNlib.Examples.Test7 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ConPNlib_ConPNlib.Examples.Test7.pipe 2>&1)