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.03174/0.03175, allocations: 1.357 MB / 16.3 MB, free: 5.305 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.607e-05/1.601e-05, allocations: 0 / 23.22 MB, free: 4.055 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0006573/0.0006947, allocations: 360.1 kB / 23.58 MB, free: 3.902 MB / 13.93 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.004634/0.005343, allocations: 4.102 MB / 27.68 MB, free: 4.57 MB / 18.57 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001494/0.005533, allocations: 47.98 kB / 27.72 MB, free: 4.523 MB / 18.57 MB Notification: Performance of FrontEnd - DAE generated: time 0.03816/0.04371, allocations: 6.969 MB / 34.69 MB, free: 4.836 MB / 18.57 MB Notification: Performance of FrontEnd: time 1.993e-06/0.04375, allocations: 0 / 34.69 MB, free: 4.836 MB / 18.57 MB Notification: Performance of Transformations before backend: time 2.257e-05/0.04379, allocations: 11.16 kB / 34.7 MB, free: 4.832 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.0008929/0.04469, allocations: 0.6228 MB / 35.33 MB, free: 4.344 MB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.04474, allocations: 8.578 kB / 35.34 MB, free: 4.344 MB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001138/0.04486, allocations: 48.83 kB / 35.38 MB, free: 4.324 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005033/0.04538, allocations: 324.5 kB / 35.7 MB, free: 4.102 MB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.336e-05/0.04543, allocations: 42.31 kB / 35.74 MB, free: 4.102 MB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001005/0.04554, allocations: 44.19 kB / 35.78 MB, free: 4.102 MB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001322/0.04688, allocations: 0.6187 MB / 36.4 MB, free: 4.02 MB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.25e-05/0.04692, allocations: 2.438 kB / 36.41 MB, free: 4.02 MB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.417e-05/0.04699, allocations: 19.67 kB / 36.42 MB, free: 4.02 MB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.813e-05/0.04708, allocations: 36.11 kB / 36.46 MB, free: 4.016 MB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00111/0.0482, allocations: 426.8 kB / 36.88 MB, free: 3.945 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002142/0.05036, allocations: 1.153 MB / 38.03 MB, free: 3.051 MB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007839/0.05119, allocations: 341.8 kB / 38.36 MB, free: 2.723 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000544/0.05176, allocations: 0.5953 MB / 38.96 MB, free: 2.02 MB / 18.57 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.311e-05/0.05181, allocations: 42.62 kB / 39 MB, free: 1.969 MB / 18.57 MB Notification: Performance of pre-optimization done (n=22): time 5.059e-06/0.05183, allocations: 4 kB / 39 MB, free: 1.965 MB / 18.57 MB Notification: Performance of matching and sorting (n=22): time 0.002069/0.05392, allocations: 0.5298 MB / 39.53 MB, free: 1.449 MB / 18.57 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001063/0.05409, allocations: 144.5 kB / 39.68 MB, free: 1.277 MB / 18.57 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003924/0.05451, allocations: 204.3 kB / 39.87 MB, free: 1.07 MB / 18.57 MB Notification: Performance of collectPreVariables (initialization): time 5.744e-05/0.05459, allocations: 33.7 kB / 39.91 MB, free: 1.031 MB / 18.57 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002143/0.05482, allocations: 222.1 kB / 40.12 MB, free: 0.8164 MB / 18.57 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001512/0.05499, allocations: 70.66 kB / 40.19 MB, free: 0.75 MB / 18.57 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.969e-05/0.05507, allocations: 15.94 kB / 40.21 MB, free: 0.7344 MB / 18.57 MB Notification: Performance of setup shared object (initialization): time 9.623e-05/0.05519, allocations: 326.8 kB / 40.53 MB, free: 416 kB / 18.57 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005764/0.05578, allocations: 148.5 kB / 40.67 MB, free: 264 kB / 18.57 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01906/0.07486, allocations: 259.2 kB / 40.93 MB, free: 3.48 MB / 18.57 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005918/0.0755, allocations: 191.8 kB / 41.11 MB, free: 3.449 MB / 18.57 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.703e-06/0.07553, allocations: 3.094 kB / 41.12 MB, free: 3.449 MB / 18.57 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.00112/0.07665, allocations: 480.6 kB / 41.59 MB, free: 3.379 MB / 18.57 MB Notification: Performance of prepare postOptimizeDAE: time 6.578e-05/0.07674, allocations: 46.72 kB / 41.63 MB, free: 3.348 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.178e-05/0.07676, allocations: 2.594 kB / 41.63 MB, free: 3.348 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.524e-05/0.07679, allocations: 5.188 kB / 41.64 MB, free: 3.348 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003101/0.07711, allocations: 53.61 kB / 41.69 MB, free: 3.348 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.191e-05/0.07714, allocations: 9.219 kB / 41.7 MB, free: 3.348 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002776/0.07742, allocations: 45.91 kB / 41.75 MB, free: 3.348 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.849e-05/0.07749, allocations: 19.62 kB / 41.76 MB, free: 3.348 MB / 18.57 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 () * Number of clocked 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.0003593/0.07786, allocations: 254.7 kB / 42.01 MB, free: 3.203 MB / 18.57 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001072/0.07798, allocations: 25.3 kB / 42.04 MB, free: 3.203 MB / 18.57 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001075/0.07907, allocations: 425.4 kB / 42.45 MB, free: 3.125 MB / 18.57 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.55e-05/0.07912, allocations: 4.281 kB / 42.46 MB, free: 3.125 MB / 18.57 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.07913, allocations: 2.062 kB / 42.46 MB, free: 3.125 MB / 18.57 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.07914, allocations: 0 / 42.46 MB, free: 3.125 MB / 18.57 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001453/0.08061, allocations: 0.8282 MB / 43.29 MB, free: 2.797 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.08063, allocations: 3.344 kB / 43.29 MB, free: 2.797 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002517/0.08089, allocations: 29.45 kB / 43.32 MB, free: 2.797 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.202e-06/0.08091, allocations: 3.281 kB / 43.32 MB, free: 2.797 MB / 18.57 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.503e-05/0.08095, allocations: 6.531 kB / 43.33 MB, free: 2.797 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.08097, allocations: 3.625 kB / 43.33 MB, free: 2.797 MB / 18.57 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.08098, allocations: 3.688 kB / 43.34 MB, free: 2.797 MB / 18.57 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001354/0.08234, allocations: 0.6383 MB / 43.98 MB, free: 2.621 MB / 18.57 MB Notification: Performance of postOpt removeConstants (simulation): time 5.592e-05/0.08242, allocations: 103.2 kB / 44.08 MB, free: 2.527 MB / 18.57 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.871e-05/0.0825, allocations: 10.53 kB / 44.09 MB, free: 2.527 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002486/0.08276, allocations: 29.94 kB / 44.12 MB, free: 2.527 MB / 18.57 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001908/0.08296, allocations: 58.5 kB / 44.17 MB, free: 2.527 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.867e-05/0.08302, allocations: 22.48 kB / 44.19 MB, free: 2.527 MB / 18.57 MB Notification: Performance of sorting global known variables: time 0.0001479/0.08318, allocations: 143.1 kB / 44.33 MB, free: 2.453 MB / 18.57 MB Notification: Performance of sort global known variables: time 3.71e-07/0.08319, allocations: 0 / 44.33 MB, free: 2.453 MB / 18.57 MB Notification: Performance of remove unused functions: time 0.000678/0.08388, allocations: 157.8 kB / 44.49 MB, free: 2.453 MB / 18.57 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) * Number of clocked states: 0 () * 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.000408/0.0843, allocations: 202.8 kB / 44.69 MB, free: 2.344 MB / 18.57 MB Notification: Performance of simCode: created initialization part: time 0.001081/0.08539, allocations: 477.5 kB / 45.15 MB, free: 2.176 MB / 18.57 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.08542, allocations: 2.734 kB / 45.16 MB, free: 2.176 MB / 18.57 MB Notification: Performance of simCode: created simulation system equations: time 0.0004827/0.08591, allocations: 270.6 kB / 45.42 MB, free: 2.043 MB / 18.57 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003606/0.08628, allocations: 28.88 kB / 45.45 MB, free: 2.027 MB / 18.57 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001493/0.08779, allocations: 0.8211 MB / 46.27 MB, free: 1.27 MB / 18.57 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003267/0.08814, allocations: 0.8536 MB / 47.12 MB, free: 468 kB / 18.57 MB Notification: Performance of simCode: alias equations: time 0.0003463/0.0885, allocations: 86.58 kB / 47.21 MB, free: 408 kB / 18.57 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001205/0.08863, allocations: 38.56 kB / 47.24 MB, free: 376 kB / 18.57 MB Notification: Performance of SimCode: time 8.82e-07/0.08864, allocations: 0 / 47.24 MB, free: 376 kB / 18.57 MB Notification: Performance of Templates: time 0.01274/0.1014, allocations: 3.951 MB / 51.2 MB, free: 3.184 MB / 24.77 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)