Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ConPNlib_ConPNlib.Examples.Test6.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.Test6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test6") translateModel(ConPNlib.Examples.Test6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test6") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo): time 0.01316/0.01316, allocations: 1.341 MB / 8.814 MB, free: 244 kB / 5.871 MB Notification: Performance of FrontEnd - loaded program: time 1.863e-05/1.864e-05, allocations: 3.062 kB / 13.13 MB, free: 2.941 MB / 7.832 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0008843/0.0009363, allocations: 357.4 kB / 13.48 MB, free: 2.801 MB / 7.832 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.01363/0.01462, allocations: 3.345 MB / 16.83 MB, free: 0.7539 MB / 7.832 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001356/0.01481, allocations: 46.73 kB / 16.87 MB, free: 0.7539 MB / 7.832 MB Notification: Performance of FrontEnd - DAE generated: time 0.03948/0.05431, allocations: 6.865 MB / 23.74 MB, free: 4.211 MB / 14.12 MB Notification: Performance of FrontEnd: time 3.436e-06/0.05438, allocations: 0 / 23.74 MB, free: 4.211 MB / 14.12 MB Notification: Performance of Transformations before backend: time 4.847e-05/0.05445, allocations: 9.188 kB / 23.74 MB, free: 4.207 MB / 14.12 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.00169/0.05616, allocations: 0.6202 MB / 24.37 MB, free: 3.723 MB / 14.12 MB Notification: Performance of prepare preOptimizeDAE: time 5.069e-05/0.05624, allocations: 11.16 kB / 24.38 MB, free: 3.723 MB / 14.12 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002424/0.05649, allocations: 47 kB / 24.42 MB, free: 3.703 MB / 14.12 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00117/0.05768, allocations: 308.4 kB / 24.72 MB, free: 3.496 MB / 14.12 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.7e-05/0.05782, allocations: 17.84 kB / 24.74 MB, free: 3.496 MB / 14.12 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000191/0.05803, allocations: 31.98 kB / 24.77 MB, free: 3.496 MB / 14.12 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001463/0.05952, allocations: 385.5 kB / 25.15 MB, free: 3.492 MB / 14.12 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001503/0.06108, allocations: 0.5418 MB / 25.69 MB, free: 3.391 MB / 14.12 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.263e-05/0.06115, allocations: 0 / 25.69 MB, free: 3.391 MB / 14.12 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.117e-05/0.06122, allocations: 6.984 kB / 25.7 MB, free: 3.387 MB / 14.12 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.957e-05/0.06132, allocations: 28.12 kB / 25.72 MB, free: 3.383 MB / 14.12 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002381/0.06372, allocations: 1.053 MB / 26.78 MB, free: 2.547 MB / 14.12 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006336/0.0644, allocations: 293 kB / 27.06 MB, free: 2.25 MB / 14.12 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003421/0.06477, allocations: 149.1 kB / 27.21 MB, free: 2.117 MB / 14.12 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007494/0.06554, allocations: 0.5954 MB / 27.8 MB, free: 1.414 MB / 14.12 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.201e-05/0.06563, allocations: 46.69 kB / 27.85 MB, free: 1.359 MB / 14.12 MB Notification: Performance of pre-optimization done (n=22): time 5.53e-06/0.06564, allocations: 0 / 27.85 MB, free: 1.359 MB / 14.12 MB Notification: Performance of matching and sorting (n=22): time 0.0009664/0.06662, allocations: 276 kB / 28.12 MB, free: 1.125 MB / 14.12 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001069/0.06675, allocations: 147 kB / 28.26 MB, free: 0.957 MB / 14.12 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002644/0.06703, allocations: 171.8 kB / 28.43 MB, free: 0.793 MB / 14.12 MB Notification: Performance of collectPreVariables (initialization): time 5.312e-05/0.0671, allocations: 32.98 kB / 28.46 MB, free: 0.7578 MB / 14.12 MB Notification: Performance of collectInitialEqns (initialization): time 0.000217/0.06733, allocations: 220.5 kB / 28.68 MB, free: 0.5586 MB / 14.12 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001047/0.06745, allocations: 72.31 kB / 28.75 MB, free: 0.4961 MB / 14.12 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.66e-05/0.06749, allocations: 4 kB / 28.75 MB, free: 0.4922 MB / 14.12 MB Notification: Performance of setup shared object (initialization): time 0.0001485/0.06764, allocations: 326.7 kB / 29.07 MB, free: 172 kB / 14.12 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003595/0.06802, allocations: 126.9 kB / 29.2 MB, free: 56 kB / 14.12 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00995/0.07798, allocations: 249.5 kB / 29.44 MB, free: 3.008 MB / 14.12 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005266/0.07856, allocations: 144.8 kB / 29.58 MB, free: 3.008 MB / 14.12 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.383e-06/0.07859, allocations: 0.5625 kB / 29.58 MB, free: 3.008 MB / 14.12 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009846/0.07958, allocations: 386.7 kB / 29.96 MB, free: 2.977 MB / 14.12 MB Notification: Performance of prepare postOptimizeDAE: time 6.636e-05/0.07968, allocations: 46.06 kB / 30 MB, free: 2.945 MB / 14.12 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.266e-05/0.07971, allocations: 6.953 kB / 30.01 MB, free: 2.945 MB / 14.12 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.774e-05/0.07974, allocations: 3.594 kB / 30.01 MB, free: 2.945 MB / 14.12 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003255/0.08008, allocations: 51.75 kB / 30.07 MB, free: 2.945 MB / 14.12 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.112e-05/0.0801, allocations: 4.531 kB / 30.07 MB, free: 2.945 MB / 14.12 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002865/0.0804, allocations: 39.09 kB / 30.11 MB, free: 2.945 MB / 14.12 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.197e-05/0.08048, allocations: 25.44 kB / 30.13 MB, free: 2.945 MB / 14.12 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.0001899/0.08068, allocations: 167.8 kB / 30.3 MB, free: 2.809 MB / 14.12 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.612e-05/0.08076, allocations: 27.56 kB / 30.32 MB, free: 2.809 MB / 14.12 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009825/0.08176, allocations: 331.6 kB / 30.65 MB, free: 2.762 MB / 14.12 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.75e-05/0.08181, allocations: 4.312 kB / 30.65 MB, free: 2.762 MB / 14.12 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.08183, allocations: 0 / 30.65 MB, free: 2.762 MB / 14.12 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/0.08184, allocations: 0 / 30.65 MB, free: 2.762 MB / 14.12 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001371/0.08322, allocations: 0.6816 MB / 31.33 MB, free: 2.496 MB / 14.12 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.56e-06/0.08327, allocations: 1.547 kB / 31.33 MB, free: 2.496 MB / 14.12 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002792/0.08356, allocations: 36.61 kB / 31.37 MB, free: 2.496 MB / 14.12 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.855e-06/0.08358, allocations: 0 / 31.37 MB, free: 2.496 MB / 14.12 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.667e-05/0.08363, allocations: 9.906 kB / 31.38 MB, free: 2.496 MB / 14.12 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/0.08364, allocations: 0.75 kB / 31.38 MB, free: 2.496 MB / 14.12 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.08365, allocations: 3.844 kB / 31.38 MB, free: 2.496 MB / 14.12 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001166/0.08483, allocations: 0.5539 MB / 31.94 MB, free: 2.344 MB / 14.12 MB Notification: Performance of postOpt removeConstants (simulation): time 6.181e-05/0.08493, allocations: 94.45 kB / 32.03 MB, free: 2.25 MB / 14.12 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.26e-05/0.08502, allocations: 13.47 kB / 32.04 MB, free: 2.25 MB / 14.12 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002706/0.0853, allocations: 24.19 kB / 32.07 MB, free: 2.25 MB / 14.12 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002023/0.08551, allocations: 59.66 kB / 32.13 MB, free: 2.25 MB / 14.12 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.381e-05/0.08558, allocations: 15.77 kB / 32.14 MB, free: 2.25 MB / 14.12 MB Notification: Performance of sorting global known variables: time 0.0001169/0.08571, allocations: 120 kB / 32.26 MB, free: 2.172 MB / 14.12 MB Notification: Performance of sort global known variables: time 4.3e-07/0.08572, allocations: 0 / 32.26 MB, free: 2.172 MB / 14.12 MB Notification: Performance of remove unused functions: time 0.0007989/0.08653, allocations: 157.9 kB / 32.41 MB, free: 2.172 MB / 14.12 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.0005243/0.08709, allocations: 196.5 kB / 32.6 MB, free: 2.066 MB / 14.12 MB Notification: Performance of simCode: created initialization part: time 0.0009191/0.08803, allocations: 426.4 kB / 33.02 MB, free: 1.996 MB / 14.12 MB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.08808, allocations: 0 / 33.02 MB, free: 1.996 MB / 14.12 MB Notification: Performance of simCode: created simulation system equations: time 0.0003922/0.08848, allocations: 243.2 kB / 33.26 MB, free: 1.898 MB / 14.12 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003879/0.08889, allocations: 32.98 kB / 33.29 MB, free: 1.891 MB / 14.12 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00132/0.09023, allocations: 0.5456 MB / 33.84 MB, free: 1.496 MB / 14.12 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003338/0.0906, allocations: 0.8603 MB / 34.7 MB, free: 0.6758 MB / 14.12 MB Notification: Performance of simCode: alias equations: time 0.0003515/0.09096, allocations: 81.72 kB / 34.78 MB, free: 0.6211 MB / 14.12 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001212/0.0911, allocations: 37.11 kB / 34.81 MB, free: 0.5898 MB / 14.12 MB Notification: Performance of SimCode: time 1.143e-06/0.09111, allocations: 0 / 34.81 MB, free: 0.5898 MB / 14.12 MB Notification: Performance of Templates: time 0.02219/0.1133, allocations: 3.805 MB / 38.62 MB, free: 2.129 MB / 14.12 MB make -j1 -f ConPNlib_ConPNlib.Examples.Test6.makefile (rm -f ConPNlib_ConPNlib.Examples.Test6.pipe ; mkfifo ConPNlib_ConPNlib.Examples.Test6.pipe ; head -c 1048576 < ConPNlib_ConPNlib.Examples.Test6.pipe >> ../files/ConPNlib_ConPNlib.Examples.Test6.sim & ./ConPNlib_ConPNlib.Examples.Test6 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ConPNlib_ConPNlib.Examples.Test6.pipe 2>&1)