Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ConPNlib_ConPNlib.Examples.Test2.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.Test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test2") translateModel(ConPNlib.Examples.Test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo): time 0.01029/0.01029, allocations: 1.338 MB / 13.9 MB, free: 1.406 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.671e-05/1.681e-05, allocations: 3.984 kB / 19.23 MB, free: 2.105 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.000765/0.0008128, allocations: 359.7 kB / 19.58 MB, free: 1.781 MB / 13.93 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.01595/0.01678, allocations: 4.009 MB / 23.59 MB, free: 2.824 MB / 13.93 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001205/0.01695, allocations: 49.92 kB / 23.64 MB, free: 2.805 MB / 13.93 MB Notification: Performance of FrontEnd - DAE generated: time 0.02191/0.03887, allocations: 5.372 MB / 29.01 MB, free: 2.227 MB / 18.57 MB Notification: Performance of FrontEnd: time 1.413e-06/0.03892, allocations: 0 / 29.01 MB, free: 2.227 MB / 18.57 MB Notification: Performance of Transformations before backend: time 2.392e-05/0.03896, allocations: 4 kB / 29.02 MB, free: 2.223 MB / 18.57 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.0008625/0.03983, allocations: 0.5041 MB / 29.52 MB, free: 1.672 MB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 5.109e-05/0.03989, allocations: 12.31 kB / 29.53 MB, free: 1.66 MB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.269e-05/0.03999, allocations: 24.58 kB / 29.56 MB, free: 1.637 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005028/0.04051, allocations: 256.5 kB / 29.81 MB, free: 1.348 MB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.467e-05/0.04056, allocations: 16.91 kB / 29.83 MB, free: 1.332 MB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.035e-05/0.04064, allocations: 28.34 kB / 29.85 MB, free: 1.305 MB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008476/0.0415, allocations: 349.7 kB / 30.19 MB, free: 0.9492 MB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.723e-05/0.04153, allocations: 0 / 30.19 MB, free: 0.9492 MB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.054e-05/0.04159, allocations: 23.88 kB / 30.22 MB, free: 0.9258 MB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.948e-05/0.04166, allocations: 16.56 kB / 30.23 MB, free: 0.9102 MB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005878/0.04226, allocations: 218.1 kB / 30.45 MB, free: 0.6992 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01278/0.05505, allocations: 0.68 MB / 31.13 MB, free: 3.582 MB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004222/0.05553, allocations: 139.1 kB / 31.26 MB, free: 3.559 MB / 18.57 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002012/0.05575, allocations: 81.64 kB / 31.34 MB, free: 3.551 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004169/0.05618, allocations: 435.8 kB / 31.77 MB, free: 3.082 MB / 18.57 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.898e-05/0.05623, allocations: 34.38 kB / 31.8 MB, free: 3.043 MB / 18.57 MB Notification: Performance of pre-optimization done (n=14): time 3.496e-06/0.05624, allocations: 0 / 31.8 MB, free: 3.043 MB / 18.57 MB Notification: Performance of matching and sorting (n=14): time 0.0005553/0.0568, allocations: 219.5 kB / 32.02 MB, free: 2.98 MB / 18.57 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.711e-05/0.05688, allocations: 113 kB / 32.13 MB, free: 2.855 MB / 18.57 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001691/0.05706, allocations: 149.5 kB / 32.27 MB, free: 2.754 MB / 18.57 MB Notification: Performance of collectPreVariables (initialization): time 2.727e-05/0.0571, allocations: 28.02 kB / 32.3 MB, free: 2.723 MB / 18.57 MB Notification: Performance of collectInitialEqns (initialization): time 8.969e-05/0.0572, allocations: 156.2 kB / 32.45 MB, free: 2.617 MB / 18.57 MB Notification: Performance of collectInitialBindings (initialization): time 5.4e-05/0.05726, allocations: 46.91 kB / 32.5 MB, free: 2.594 MB / 18.57 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.968e-05/0.05729, allocations: 7.375 kB / 32.51 MB, free: 2.594 MB / 18.57 MB Notification: Performance of setup shared object (initialization): time 6.392e-05/0.05737, allocations: 323.2 kB / 32.82 MB, free: 2.281 MB / 18.57 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002072/0.05758, allocations: 87.05 kB / 32.91 MB, free: 2.281 MB / 18.57 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002385/0.05784, allocations: 137 kB / 33.04 MB, free: 2.215 MB / 18.57 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002193/0.05807, allocations: 116.4 kB / 33.15 MB, free: 2.184 MB / 18.57 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.05809, allocations: 3.062 kB / 33.16 MB, free: 2.184 MB / 18.57 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000559/0.05866, allocations: 282.2 kB / 33.43 MB, free: 2.113 MB / 18.57 MB Notification: Performance of prepare postOptimizeDAE: time 4.917e-05/0.05872, allocations: 43.83 kB / 33.48 MB, free: 2.082 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.05874, allocations: 3.438 kB / 33.48 MB, free: 2.082 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.928e-05/0.05877, allocations: 3.719 kB / 33.48 MB, free: 2.082 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000236/0.05901, allocations: 32.2 kB / 33.51 MB, free: 2.082 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.059e-05/0.05904, allocations: 7.516 kB / 33.52 MB, free: 2.082 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001853/0.05923, allocations: 21.28 kB / 33.54 MB, free: 2.078 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.566e-05/0.05929, allocations: 21.83 kB / 33.56 MB, free: 2.074 MB / 18.57 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.P1.fireOut[1],P1.emptying,P1.feeding,P1.outTransition[1].arcType,T1.activation.active,T1.activation.weaklyInputActiveVec[1],P1.fireOut[1],T1.activation.arcType[1],T1.activation.fed[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 21 * Array equations: 1 * 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.000141/0.05944, allocations: 161.1 kB / 33.72 MB, free: 1.938 MB / 18.57 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.456e-05/0.05951, allocations: 10.59 kB / 33.73 MB, free: 1.934 MB / 18.57 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007163/0.06023, allocations: 304 kB / 34.03 MB, free: 1.867 MB / 18.57 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.119e-05/0.06027, allocations: 7.297 kB / 34.03 MB, free: 1.867 MB / 18.57 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.06029, allocations: 0 / 34.03 MB, free: 1.867 MB / 18.57 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.0603, allocations: 3.656 kB / 34.04 MB, free: 1.867 MB / 18.57 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008624/0.06117, allocations: 0.5867 MB / 34.62 MB, free: 1.539 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.06119, allocations: 1.562 kB / 34.63 MB, free: 1.539 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002002/0.0614, allocations: 25.83 kB / 34.65 MB, free: 1.539 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.289e-06/0.06142, allocations: 7.781 kB / 34.66 MB, free: 1.539 MB / 18.57 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.746e-05/0.06146, allocations: 9.953 kB / 34.67 MB, free: 1.539 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.06147, allocations: 0 / 34.67 MB, free: 1.539 MB / 18.57 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.06148, allocations: 0 / 34.67 MB, free: 1.539 MB / 18.57 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007159/0.0622, allocations: 439.9 kB / 35.1 MB, free: 1.367 MB / 18.57 MB Notification: Performance of postOpt removeConstants (simulation): time 4.077e-05/0.06226, allocations: 91.08 kB / 35.19 MB, free: 1.266 MB / 18.57 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.931e-05/0.06232, allocations: 9.781 kB / 35.2 MB, free: 1.266 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001838/0.06251, allocations: 20.75 kB / 35.22 MB, free: 1.266 MB / 18.57 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001231/0.06265, allocations: 35.58 kB / 35.25 MB, free: 1.266 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.306e-05/0.0627, allocations: 10.06 kB / 35.26 MB, free: 1.266 MB / 18.57 MB Notification: Performance of sorting global known variables: time 9.574e-05/0.0628, allocations: 111.5 kB / 35.37 MB, free: 1.191 MB / 18.57 MB Notification: Performance of sort global known variables: time 1.723e-06/0.06281, allocations: 0 / 35.37 MB, free: 1.191 MB / 18.57 MB Notification: Performance of remove unused functions: time 0.0005378/0.06336, allocations: 101.4 kB / 35.47 MB, free: 1.184 MB / 18.57 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (P1.t_) * Number of discrete variables: 4 (T1.activation.active,T1.activation.weaklyInputActiveVec[1],P1.fireOut[1],P1.emptying) * Number of discrete states: 3 (P1.fireOut[1],T1.activation.weaklyInputActiveVec[1],T1.activation.active) * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 13 * Array equations: 1 * 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.0003179/0.06369, allocations: 165.9 kB / 35.63 MB, free: 1.09 MB / 18.57 MB Notification: Performance of simCode: created initialization part: time 0.0006049/0.06431, allocations: 284.2 kB / 35.91 MB, free: 1.02 MB / 18.57 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.06433, allocations: 0 / 35.91 MB, free: 1.02 MB / 18.57 MB Notification: Performance of simCode: created simulation system equations: time 0.0002588/0.0646, allocations: 165.3 kB / 36.07 MB, free: 0.9531 MB / 18.57 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002708/0.06488, allocations: 15.61 kB / 36.09 MB, free: 0.9492 MB / 18.57 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008316/0.06573, allocations: 337.1 kB / 36.42 MB, free: 0.8359 MB / 18.57 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003136/0.06606, allocations: 0.7677 MB / 37.18 MB, free: 6.527 MB / 24.96 MB Notification: Performance of simCode: alias equations: time 0.0002588/0.06633, allocations: 71.42 kB / 37.25 MB, free: 6.52 MB / 24.96 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001031/0.06645, allocations: 41.05 kB / 37.29 MB, free: 6.508 MB / 24.96 MB Notification: Performance of SimCode: time 1.072e-06/0.06646, allocations: 0 / 37.29 MB, free: 6.508 MB / 24.96 MB Notification: Performance of Templates: time 0.008406/0.07488, allocations: 2.536 MB / 39.83 MB, free: 5.602 MB / 24.96 MB make -j1 -f ConPNlib_ConPNlib.Examples.Test2.makefile (rm -f ConPNlib_ConPNlib.Examples.Test2.pipe ; mkfifo ConPNlib_ConPNlib.Examples.Test2.pipe ; head -c 1048576 < ConPNlib_ConPNlib.Examples.Test2.pipe >> ../files/ConPNlib_ConPNlib.Examples.Test2.sim & ./ConPNlib_ConPNlib.Examples.Test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ConPNlib_ConPNlib.Examples.Test2.pipe 2>&1)