Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ConPNlib_ConPNlib.Examples.Test3.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.Test3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test3") translateModel(ConPNlib.Examples.Test3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test3") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo): time 0.01656/0.01656, allocations: 1.358 MB / 16.3 MB, free: 5.305 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.792e-05/1.79e-05, allocations: 0 / 23.22 MB, free: 4.027 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0006921/0.0007367, allocations: 360.1 kB / 23.57 MB, free: 3.875 MB / 13.93 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.005016/0.005768, allocations: 4.096 MB / 27.67 MB, free: 4.578 MB / 18.57 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001663/0.005982, allocations: 47.98 kB / 27.71 MB, free: 4.531 MB / 18.57 MB Notification: Performance of FrontEnd - DAE generated: time 0.03536/0.04135, allocations: 5.23 MB / 32.94 MB, free: 4.996 MB / 18.57 MB Notification: Performance of FrontEnd: time 2.395e-06/0.0414, allocations: 0 / 32.94 MB, free: 4.996 MB / 18.57 MB Notification: Performance of Transformations before backend: time 2.076e-05/0.04143, allocations: 6.016 kB / 32.95 MB, free: 4.996 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.0007862/0.04223, allocations: 0.5091 MB / 33.46 MB, free: 4.566 MB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.04228, allocations: 9.141 kB / 33.47 MB, free: 4.566 MB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.327e-05/0.04237, allocations: 25.52 kB / 33.49 MB, free: 4.555 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003615/0.04274, allocations: 246.5 kB / 33.73 MB, free: 4.355 MB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.308e-05/0.04279, allocations: 18.78 kB / 33.75 MB, free: 4.355 MB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.822e-05/0.04286, allocations: 25.12 kB / 33.78 MB, free: 4.355 MB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007429/0.04361, allocations: 341 kB / 34.11 MB, free: 4.293 MB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.639e-05/0.04364, allocations: 0 / 34.11 MB, free: 4.293 MB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.832e-05/0.04369, allocations: 11.69 kB / 34.12 MB, free: 4.293 MB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.37e-05/0.04374, allocations: 13.86 kB / 34.13 MB, free: 4.289 MB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005437/0.0443, allocations: 215.5 kB / 34.35 MB, free: 4.289 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001264/0.04557, allocations: 0.734 MB / 35.08 MB, free: 3.902 MB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003652/0.04596, allocations: 134.1 kB / 35.21 MB, free: 3.879 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003776/0.04636, allocations: 434.5 kB / 35.63 MB, free: 3.406 MB / 18.57 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.507e-05/0.0464, allocations: 47 kB / 35.68 MB, free: 3.367 MB / 18.57 MB Notification: Performance of pre-optimization done (n=13): time 2.726e-06/0.04641, allocations: 0 / 35.68 MB, free: 3.367 MB / 18.57 MB Notification: Performance of matching and sorting (n=13): time 0.0008344/0.04725, allocations: 371.4 kB / 36.04 MB, free: 3.203 MB / 18.57 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.854e-05/0.04731, allocations: 114.2 kB / 36.15 MB, free: 3.078 MB / 18.57 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001423/0.04747, allocations: 142.3 kB / 36.29 MB, free: 2.977 MB / 18.57 MB Notification: Performance of collectPreVariables (initialization): time 2.517e-05/0.0475, allocations: 32.39 kB / 36.33 MB, free: 2.945 MB / 18.57 MB Notification: Performance of collectInitialEqns (initialization): time 8.289e-05/0.0476, allocations: 148.8 kB / 36.47 MB, free: 2.832 MB / 18.57 MB Notification: Performance of collectInitialBindings (initialization): time 5.055e-05/0.04766, allocations: 44.92 kB / 36.51 MB, free: 2.809 MB / 18.57 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.84e-05/0.04769, allocations: 3.688 kB / 36.52 MB, free: 2.809 MB / 18.57 MB Notification: Performance of setup shared object (initialization): time 6.17e-05/0.04776, allocations: 320.5 kB / 36.83 MB, free: 2.496 MB / 18.57 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002104/0.04798, allocations: 73.05 kB / 36.9 MB, free: 2.492 MB / 18.57 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002449/0.04824, allocations: 139.1 kB / 37.04 MB, free: 2.422 MB / 18.57 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00023/0.04848, allocations: 106.2 kB / 37.14 MB, free: 2.387 MB / 18.57 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/0.0485, allocations: 7.406 kB / 37.15 MB, free: 2.383 MB / 18.57 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006655/0.04917, allocations: 292.7 kB / 37.44 MB, free: 2.305 MB / 18.57 MB Notification: Performance of prepare postOptimizeDAE: time 5.01e-05/0.04924, allocations: 42.81 kB / 37.48 MB, free: 2.27 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.794e-06/0.04926, allocations: 0 / 37.48 MB, free: 2.27 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/0.04928, allocations: 4.156 kB / 37.48 MB, free: 2.27 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001954/0.04949, allocations: 34.48 kB / 37.51 MB, free: 2.262 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.04951, allocations: 3.938 kB / 37.52 MB, free: 2.262 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001516/0.04967, allocations: 24.08 kB / 37.54 MB, free: 2.258 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.565e-05/0.04972, allocations: 10.98 kB / 37.55 MB, free: 2.258 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: 8 ($PRE.P1.fireIn[1],P1.feeding,P1.emptying,T1.activation.active,T1.activation.weaklyOutputActiveVec[1],P1.fireIn[1],T1.activation.emptied[1],T1.outPlaces[1].enabledByInPlaces) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 18 * 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.0002131/0.04994, allocations: 193 kB / 37.74 MB, free: 2.109 MB / 18.57 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.368e-05/0.05001, allocations: 10 kB / 37.75 MB, free: 2.105 MB / 18.57 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007811/0.0508, allocations: 326.2 kB / 38.07 MB, free: 1.973 MB / 18.57 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-05/0.05083, allocations: 6.844 kB / 38.08 MB, free: 1.973 MB / 18.57 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.05085, allocations: 0 / 38.08 MB, free: 1.973 MB / 18.57 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.05086, allocations: 3.938 kB / 38.08 MB, free: 1.969 MB / 18.57 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009538/0.05182, allocations: 0.604 MB / 38.68 MB, free: 1.539 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.05184, allocations: 1.062 kB / 38.69 MB, free: 1.539 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001712/0.05202, allocations: 29.42 kB / 38.71 MB, free: 1.531 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/0.05204, allocations: 0 / 38.71 MB, free: 1.531 MB / 18.57 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.382e-05/0.05207, allocations: 6.375 kB / 38.72 MB, free: 1.531 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.05208, allocations: 2.688 kB / 38.72 MB, free: 1.531 MB / 18.57 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.05209, allocations: 0 / 38.72 MB, free: 1.531 MB / 18.57 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008322/0.05293, allocations: 451.8 kB / 39.16 MB, free: 1.137 MB / 18.57 MB Notification: Performance of postOpt removeConstants (simulation): time 3.76e-05/0.05299, allocations: 88.38 kB / 39.25 MB, free: 1.035 MB / 18.57 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.642e-05/0.05304, allocations: 13.95 kB / 39.26 MB, free: 1.023 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001736/0.05322, allocations: 11.33 kB / 39.27 MB, free: 1.016 MB / 18.57 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001209/0.05336, allocations: 38.2 kB / 39.31 MB, free: 0.9922 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.827e-05/0.0534, allocations: 7.328 kB / 39.32 MB, free: 0.9883 MB / 18.57 MB Notification: Performance of sorting global known variables: time 8.828e-05/0.0535, allocations: 118.4 kB / 39.43 MB, free: 0.8789 MB / 18.57 MB Notification: Performance of sort global known variables: time 3.7e-07/0.05351, allocations: 0 / 39.43 MB, free: 0.8789 MB / 18.57 MB Notification: Performance of remove unused functions: time 0.0005115/0.05403, allocations: 100.1 kB / 39.53 MB, free: 0.7852 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.weaklyOutputActiveVec[1],P1.fireIn[1],P1.feeding) * Number of discrete states: 3 (P1.fireIn[1],T1.activation.weaklyOutputActiveVec[1],T1.activation.active) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * 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.0002918/0.05433, allocations: 161.5 kB / 39.69 MB, free: 0.625 MB / 18.57 MB Notification: Performance of simCode: created initialization part: time 0.0006019/0.05495, allocations: 268.1 kB / 39.95 MB, free: 392 kB / 18.57 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.05497, allocations: 0 / 39.95 MB, free: 392 kB / 18.57 MB Notification: Performance of simCode: created simulation system equations: time 0.0002689/0.05524, allocations: 159.5 kB / 40.11 MB, free: 236 kB / 18.57 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002505/0.05551, allocations: 14.94 kB / 40.12 MB, free: 224 kB / 18.57 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01335/0.06887, allocations: 482.6 kB / 40.59 MB, free: 3.754 MB / 18.57 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000393/0.06931, allocations: 0.768 MB / 41.36 MB, free: 9.441 MB / 24.96 MB Notification: Performance of simCode: alias equations: time 0.0002539/0.06958, allocations: 59.53 kB / 41.42 MB, free: 9.441 MB / 24.96 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001075/0.0697, allocations: 37.64 kB / 41.46 MB, free: 9.434 MB / 24.96 MB Notification: Performance of SimCode: time 1.122e-06/0.06971, allocations: 1.312 kB / 41.46 MB, free: 9.434 MB / 24.96 MB Notification: Performance of Templates: time 0.007184/0.0769, allocations: 2.299 MB / 43.76 MB, free: 9.352 MB / 24.96 MB make -j1 -f ConPNlib_ConPNlib.Examples.Test3.makefile (rm -f ConPNlib_ConPNlib.Examples.Test3.pipe ; mkfifo ConPNlib_ConPNlib.Examples.Test3.pipe ; head -c 1048576 < ConPNlib_ConPNlib.Examples.Test3.pipe >> ../files/ConPNlib_ConPNlib.Examples.Test3.sim & ./ConPNlib_ConPNlib.Examples.Test3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ConPNlib_ConPNlib.Examples.Test3.pipe 2>&1)