Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ConPNlib_ConPNlib.Examples.Test5.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.Test5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test5") translateModel(ConPNlib.Examples.Test5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test5") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo): time 0.01641/0.01641, allocations: 1.356 MB / 16.3 MB, free: 5.34 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.61e-05/1.609e-05, allocations: 0 / 23.22 MB, free: 4.035 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0006559/0.0006948, allocations: 356.6 kB / 23.57 MB, free: 3.887 MB / 13.93 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.004764/0.005471, allocations: 4.111 MB / 27.68 MB, free: 4.594 MB / 18.57 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000155/0.00567, allocations: 47.98 kB / 27.73 MB, free: 4.547 MB / 18.57 MB Notification: Performance of FrontEnd - DAE generated: time 0.03887/0.04455, allocations: 6.966 MB / 34.69 MB, free: 4.84 MB / 18.57 MB Notification: Performance of FrontEnd: time 2.114e-06/0.0446, allocations: 0 / 34.69 MB, free: 4.84 MB / 18.57 MB Notification: Performance of Transformations before backend: time 2.281e-05/0.04463, allocations: 10.94 kB / 34.7 MB, free: 4.836 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.0009167/0.04556, allocations: 0.6243 MB / 35.33 MB, free: 4.348 MB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.04561, allocations: 9.359 kB / 35.34 MB, free: 4.348 MB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001199/0.04574, allocations: 49.27 kB / 35.39 MB, free: 4.328 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005175/0.04626, allocations: 329 kB / 35.71 MB, free: 4.105 MB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.25e-05/0.04632, allocations: 34.92 kB / 35.74 MB, free: 4.105 MB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.374e-05/0.04642, allocations: 44.17 kB / 35.78 MB, free: 4.105 MB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001361/0.0478, allocations: 0.6175 MB / 36.4 MB, free: 4.023 MB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.195e-05/0.04784, allocations: 3.438 kB / 36.41 MB, free: 4.023 MB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.531e-05/0.04791, allocations: 23.34 kB / 36.43 MB, free: 4.023 MB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.421e-05/0.04799, allocations: 33.42 kB / 36.46 MB, free: 4.02 MB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001046/0.04905, allocations: 436 kB / 36.89 MB, free: 3.961 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002026/0.05109, allocations: 1.146 MB / 38.03 MB, free: 3.078 MB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005841/0.0517, allocations: 227.9 kB / 38.26 MB, free: 2.875 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005303/0.05224, allocations: 0.602 MB / 38.86 MB, free: 2.168 MB / 18.57 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.611e-05/0.05228, allocations: 30.75 kB / 38.89 MB, free: 2.129 MB / 18.57 MB Notification: Performance of pre-optimization done (n=23): time 3.015e-06/0.0523, allocations: 1.875 kB / 38.89 MB, free: 2.129 MB / 18.57 MB Notification: Performance of matching and sorting (n=23): time 0.001285/0.05359, allocations: 0.5693 MB / 39.46 MB, free: 1.57 MB / 18.57 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.57e-05/0.05367, allocations: 144.7 kB / 39.6 MB, free: 1.398 MB / 18.57 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002143/0.0539, allocations: 200.6 kB / 39.8 MB, free: 1.195 MB / 18.57 MB Notification: Performance of collectPreVariables (initialization): time 3.64e-05/0.05395, allocations: 33.7 kB / 39.83 MB, free: 1.156 MB / 18.57 MB Notification: Performance of collectInitialEqns (initialization): time 0.00013/0.05409, allocations: 214.4 kB / 40.04 MB, free: 0.9492 MB / 18.57 MB Notification: Performance of collectInitialBindings (initialization): time 7.869e-05/0.05418, allocations: 74.03 kB / 40.11 MB, free: 0.8789 MB / 18.57 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.38e-05/0.05422, allocations: 12 kB / 40.12 MB, free: 0.8672 MB / 18.57 MB Notification: Performance of setup shared object (initialization): time 6.699e-05/0.0543, allocations: 330.8 kB / 40.44 MB, free: 0.5352 MB / 18.57 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004005/0.05471, allocations: 152.5 kB / 40.59 MB, free: 392 kB / 18.57 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004695/0.05519, allocations: 263.3 kB / 40.85 MB, free: 88 kB / 18.57 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01347/0.06868, allocations: 185.6 kB / 41.03 MB, free: 3.426 MB / 18.57 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.967e-06/0.06874, allocations: 0 / 41.03 MB, free: 3.426 MB / 18.57 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001199/0.06995, allocations: 472.5 kB / 41.49 MB, free: 3.363 MB / 18.57 MB Notification: Performance of prepare postOptimizeDAE: time 6.374e-05/0.07003, allocations: 47.27 kB / 41.54 MB, free: 3.332 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/0.07005, allocations: 3.188 kB / 41.54 MB, free: 3.332 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.43e-05/0.07008, allocations: 10.62 kB / 41.55 MB, free: 3.332 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003148/0.07041, allocations: 53.41 kB / 41.61 MB, free: 3.332 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.369e-05/0.07043, allocations: 4.734 kB / 41.61 MB, free: 3.332 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000285/0.07073, allocations: 51.8 kB / 41.66 MB, free: 3.332 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.183e-05/0.0708, allocations: 20.52 kB / 41.68 MB, free: 3.332 MB / 18.57 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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.0004118/0.07122, allocations: 261.5 kB / 41.94 MB, free: 3.188 MB / 18.57 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.203e-05/0.07131, allocations: 23.03 kB / 41.96 MB, free: 3.188 MB / 18.57 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001108/0.07243, allocations: 422.3 kB / 42.37 MB, free: 3.121 MB / 18.57 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.768e-05/0.07247, allocations: 2.656 kB / 42.37 MB, free: 3.121 MB / 18.57 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.263e-06/0.07249, allocations: 1.812 kB / 42.38 MB, free: 3.121 MB / 18.57 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.175e-06/0.0725, allocations: 3.75 kB / 42.38 MB, free: 3.121 MB / 18.57 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001512/0.07402, allocations: 0.8428 MB / 43.22 MB, free: 2.789 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/0.07405, allocations: 0 / 43.22 MB, free: 2.789 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002693/0.07432, allocations: 33.08 kB / 43.25 MB, free: 2.789 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.003e-06/0.07435, allocations: 3.375 kB / 43.26 MB, free: 2.789 MB / 18.57 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.494e-05/0.07439, allocations: 11.72 kB / 43.27 MB, free: 2.789 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.538e-06/0.0744, allocations: 4.812 kB / 43.27 MB, free: 2.789 MB / 18.57 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.674e-06/0.07441, allocations: 0 / 43.27 MB, free: 2.789 MB / 18.57 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001393/0.07581, allocations: 0.674 MB / 43.95 MB, free: 2.605 MB / 18.57 MB Notification: Performance of postOpt removeConstants (simulation): time 5.263e-05/0.07589, allocations: 96.34 kB / 44.04 MB, free: 2.512 MB / 18.57 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.923e-05/0.07597, allocations: 14.73 kB / 44.06 MB, free: 2.512 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002528/0.07623, allocations: 25.62 kB / 44.08 MB, free: 2.512 MB / 18.57 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000192/0.07643, allocations: 64.22 kB / 44.14 MB, free: 2.512 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.78e-05/0.07649, allocations: 16.16 kB / 44.16 MB, free: 2.512 MB / 18.57 MB Notification: Performance of sorting global known variables: time 0.000147/0.07665, allocations: 141.6 kB / 44.3 MB, free: 2.434 MB / 18.57 MB Notification: Performance of sort global known variables: time 4.11e-07/0.07666, allocations: 0 / 44.3 MB, free: 2.434 MB / 18.57 MB Notification: Performance of remove unused functions: time 0.0006713/0.07734, allocations: 156.3 kB / 44.45 MB, free: 2.434 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 (23): * Single equations (assignments): 20 * 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.0003996/0.07775, allocations: 216 kB / 44.66 MB, free: 2.328 MB / 18.57 MB Notification: Performance of simCode: created initialization part: time 0.001071/0.07884, allocations: 489.6 kB / 45.14 MB, free: 2.207 MB / 18.57 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.07886, allocations: 0 / 45.14 MB, free: 2.207 MB / 18.57 MB Notification: Performance of simCode: created simulation system equations: time 0.0004975/0.07937, allocations: 272.7 kB / 45.41 MB, free: 2.074 MB / 18.57 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003226/0.0797, allocations: 32.86 kB / 45.44 MB, free: 2.059 MB / 18.57 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001548/0.08127, allocations: 0.8226 MB / 46.26 MB, free: 1.309 MB / 18.57 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003282/0.08161, allocations: 0.8586 MB / 47.12 MB, free: 0.4961 MB / 18.57 MB Notification: Performance of simCode: alias equations: time 0.0003311/0.08196, allocations: 80.17 kB / 47.2 MB, free: 456 kB / 18.57 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001228/0.08209, allocations: 42.47 kB / 47.24 MB, free: 420 kB / 18.57 MB Notification: Performance of SimCode: time 9.82e-07/0.0821, allocations: 0 / 47.24 MB, free: 420 kB / 18.57 MB Notification: Performance of Templates: time 0.01263/0.09474, allocations: 4.013 MB / 51.25 MB, free: 3.148 MB / 24.77 MB make -j1 -f ConPNlib_ConPNlib.Examples.Test5.makefile (rm -f ConPNlib_ConPNlib.Examples.Test5.pipe ; mkfifo ConPNlib_ConPNlib.Examples.Test5.pipe ; head -c 1048576 < ConPNlib_ConPNlib.Examples.Test5.pipe >> ../files/ConPNlib_ConPNlib.Examples.Test5.sim & ./ConPNlib_ConPNlib.Examples.Test5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ConPNlib_ConPNlib.Examples.Test5.pipe 2>&1)