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.0251/0.0251, allocations: 1.356 MB / 16.3 MB, free: 5.305 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 2.318e-05/2.32e-05, allocations: 2.297 kB / 23.22 MB, free: 4.059 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0009757/0.001032, allocations: 361.7 kB / 23.57 MB, free: 3.906 MB / 13.93 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.009164/0.01023, allocations: 4.107 MB / 27.68 MB, free: 4.57 MB / 18.57 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001672/0.01046, allocations: 47.98 kB / 27.73 MB, free: 4.523 MB / 18.57 MB Notification: Performance of FrontEnd - DAE generated: time 0.04002/0.0505, allocations: 6.968 MB / 34.69 MB, free: 4.824 MB / 18.57 MB Notification: Performance of FrontEnd: time 3.306e-06/0.05055, allocations: 0 / 34.69 MB, free: 4.824 MB / 18.57 MB Notification: Performance of Transformations before backend: time 2.498e-05/0.05058, allocations: 11.72 kB / 34.71 MB, free: 4.824 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.001021/0.05162, allocations: 0.6237 MB / 35.33 MB, free: 4.336 MB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.05167, allocations: 7.703 kB / 35.34 MB, free: 4.336 MB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001444/0.05182, allocations: 42.7 kB / 35.38 MB, free: 4.316 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005355/0.05237, allocations: 323.2 kB / 35.69 MB, free: 4.094 MB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.01e-05/0.05242, allocations: 39.86 kB / 35.73 MB, free: 4.094 MB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001022/0.05253, allocations: 48.25 kB / 35.78 MB, free: 4.094 MB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001395/0.05394, allocations: 0.6227 MB / 36.4 MB, free: 4.012 MB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.295e-05/0.05399, allocations: 0 / 36.4 MB, free: 4.012 MB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.786e-05/0.05407, allocations: 19 kB / 36.42 MB, free: 4.012 MB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-05/0.05416, allocations: 31.47 kB / 36.45 MB, free: 4.008 MB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001097/0.05527, allocations: 438.7 kB / 36.88 MB, free: 3.941 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002226/0.05752, allocations: 1.15 MB / 38.03 MB, free: 3.039 MB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008189/0.05838, allocations: 344.2 kB / 38.37 MB, free: 2.711 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005396/0.05894, allocations: 0.5935 MB / 38.96 MB, free: 2.008 MB / 18.57 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.45e-05/0.05898, allocations: 38.62 kB / 39 MB, free: 1.961 MB / 18.57 MB Notification: Performance of pre-optimization done (n=22): time 3.306e-06/0.05899, allocations: 0 / 39 MB, free: 1.961 MB / 18.57 MB Notification: Performance of matching and sorting (n=22): time 0.001293/0.0603, allocations: 0.5394 MB / 39.54 MB, free: 1.434 MB / 18.57 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.484e-05/0.06038, allocations: 144.5 kB / 39.68 MB, free: 1.262 MB / 18.57 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00025/0.06064, allocations: 204.3 kB / 39.88 MB, free: 1.055 MB / 18.57 MB Notification: Performance of collectPreVariables (initialization): time 5.361e-05/0.06071, allocations: 33.7 kB / 39.91 MB, free: 1.016 MB / 18.57 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001449/0.06087, allocations: 219.5 kB / 40.13 MB, free: 0.8047 MB / 18.57 MB Notification: Performance of collectInitialBindings (initialization): time 7.976e-05/0.06096, allocations: 74.42 kB / 40.2 MB, free: 0.7344 MB / 18.57 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.408e-05/0.061, allocations: 8 kB / 40.21 MB, free: 0.7266 MB / 18.57 MB Notification: Performance of setup shared object (initialization): time 6.779e-05/0.06108, allocations: 330.8 kB / 40.53 MB, free: 404 kB / 18.57 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004004/0.06149, allocations: 152.5 kB / 40.68 MB, free: 248 kB / 18.57 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01376/0.07526, allocations: 255.4 kB / 40.93 MB, free: 3.402 MB / 18.57 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005804/0.07589, allocations: 189.1 kB / 41.11 MB, free: 3.371 MB / 18.57 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.763e-06/0.07592, allocations: 7.062 kB / 41.12 MB, free: 3.371 MB / 18.57 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001136/0.07706, allocations: 479.1 kB / 41.59 MB, free: 3.301 MB / 18.57 MB Notification: Performance of prepare postOptimizeDAE: time 6.16e-05/0.07714, allocations: 46.53 kB / 41.63 MB, free: 3.27 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/0.07716, allocations: 3.75 kB / 41.64 MB, free: 3.27 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.408e-05/0.07719, allocations: 3.719 kB / 41.64 MB, free: 3.27 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000311/0.07751, allocations: 57 kB / 41.7 MB, free: 3.27 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.303e-05/0.07754, allocations: 3.5 kB / 41.7 MB, free: 3.27 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002849/0.07784, allocations: 45.95 kB / 41.74 MB, free: 3.27 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.879e-05/0.07791, allocations: 21.75 kB / 41.76 MB, free: 3.27 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.0003624/0.07828, allocations: 259.5 kB / 42.02 MB, free: 3.125 MB / 18.57 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.017e-05/0.07837, allocations: 24.34 kB / 42.04 MB, free: 3.125 MB / 18.57 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001025/0.0794, allocations: 417.6 kB / 42.45 MB, free: 3.047 MB / 18.57 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.556e-05/0.07944, allocations: 3.094 kB / 42.45 MB, free: 3.047 MB / 18.57 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.07946, allocations: 2.156 kB / 42.45 MB, free: 3.047 MB / 18.57 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.07947, allocations: 6.484 kB / 42.46 MB, free: 3.047 MB / 18.57 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001524/0.08101, allocations: 0.8267 MB / 43.29 MB, free: 2.719 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.08103, allocations: 0 / 43.29 MB, free: 2.719 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002534/0.08129, allocations: 32.16 kB / 43.32 MB, free: 2.719 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.08131, allocations: 0 / 43.32 MB, free: 2.719 MB / 18.57 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.604e-05/0.08135, allocations: 13.02 kB / 43.33 MB, free: 2.719 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.187e-06/0.08137, allocations: 0.625 kB / 43.33 MB, free: 2.719 MB / 18.57 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.08138, allocations: 6.375 kB / 43.34 MB, free: 2.719 MB / 18.57 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001294/0.08268, allocations: 0.6402 MB / 43.98 MB, free: 2.543 MB / 18.57 MB Notification: Performance of postOpt removeConstants (simulation): time 4.517e-05/0.08274, allocations: 95.92 kB / 44.07 MB, free: 2.449 MB / 18.57 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.666e-05/0.08282, allocations: 11.64 kB / 44.08 MB, free: 2.449 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002439/0.08307, allocations: 30.38 kB / 44.11 MB, free: 2.449 MB / 18.57 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001901/0.08327, allocations: 57.39 kB / 44.17 MB, free: 2.449 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.471e-05/0.08333, allocations: 16.98 kB / 44.19 MB, free: 2.449 MB / 18.57 MB Notification: Performance of sorting global known variables: time 0.0001393/0.08348, allocations: 149.3 kB / 44.33 MB, free: 2.375 MB / 18.57 MB Notification: Performance of sort global known variables: time 3.81e-07/0.08349, allocations: 0 / 44.33 MB, free: 2.375 MB / 18.57 MB Notification: Performance of remove unused functions: time 0.0006278/0.08413, allocations: 159.4 kB / 44.49 MB, free: 2.375 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.0003846/0.08453, allocations: 202 kB / 44.69 MB, free: 2.27 MB / 18.57 MB Notification: Performance of simCode: created initialization part: time 0.001017/0.08556, allocations: 484.3 kB / 45.16 MB, free: 2.148 MB / 18.57 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.08558, allocations: 0 / 45.16 MB, free: 2.148 MB / 18.57 MB Notification: Performance of simCode: created simulation system equations: time 0.0004698/0.08606, allocations: 266.3 kB / 45.42 MB, free: 2.02 MB / 18.57 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003082/0.08638, allocations: 31.09 kB / 45.45 MB, free: 2.008 MB / 18.57 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001511/0.08791, allocations: 0.8169 MB / 46.27 MB, free: 1.258 MB / 18.57 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003255/0.08826, allocations: 0.8595 MB / 47.12 MB, free: 452 kB / 18.57 MB Notification: Performance of simCode: alias equations: time 0.0003284/0.08859, allocations: 78.92 kB / 47.2 MB, free: 400 kB / 18.57 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001572/0.08876, allocations: 32.17 kB / 47.23 MB, free: 372 kB / 18.57 MB Notification: Performance of SimCode: time 9.92e-07/0.08878, allocations: 0 / 47.23 MB, free: 372 kB / 18.57 MB Notification: Performance of Templates: time 0.01311/0.1019, allocations: 3.955 MB / 51.19 MB, free: 3.176 MB / 24.77 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)