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.009921/0.009921, allocations: 1.337 MB / 8.814 MB, free: 244 kB / 5.871 MB Notification: Performance of FrontEnd - loaded program: time 2.058e-05/2.053e-05, allocations: 0.875 kB / 13.13 MB, free: 2.273 MB / 7.832 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0006572/0.0007001, allocations: 361.4 kB / 13.48 MB, free: 2.238 MB / 7.832 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.004228/0.004943, allocations: 3.348 MB / 16.83 MB, free: 1.922 MB / 10.45 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001435/0.005128, allocations: 48.61 kB / 16.88 MB, free: 1.875 MB / 10.45 MB Notification: Performance of FrontEnd - DAE generated: time 0.02735/0.03249, allocations: 5.325 MB / 22.2 MB, free: 1.898 MB / 10.45 MB Notification: Performance of FrontEnd: time 1.814e-06/0.03254, allocations: 0 / 22.2 MB, free: 1.898 MB / 10.45 MB Notification: Performance of Transformations before backend: time 1.956e-05/0.03257, allocations: 12.19 kB / 22.22 MB, free: 1.891 MB / 10.45 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.0007233/0.03331, allocations: 0.5106 MB / 22.73 MB, free: 1.328 MB / 10.45 MB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.03336, allocations: 12.59 kB / 22.74 MB, free: 1.316 MB / 10.45 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.6e-05/0.03345, allocations: 28.58 kB / 22.77 MB, free: 1.289 MB / 10.45 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004073/0.03386, allocations: 248.5 kB / 23.01 MB, free: 1.008 MB / 10.45 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.669e-05/0.03391, allocations: 12.34 kB / 23.02 MB, free: 0.9961 MB / 10.45 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.394e-05/0.03397, allocations: 16.34 kB / 23.04 MB, free: 0.9805 MB / 10.45 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004745/0.03446, allocations: 209.3 kB / 23.24 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006001/0.03507, allocations: 315.2 kB / 23.55 MB, free: 464 kB / 10.45 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.5e-05/0.0351, allocations: 0 / 23.55 MB, free: 464 kB / 10.45 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.675e-05/0.03515, allocations: 7.938 kB / 23.56 MB, free: 456 kB / 10.45 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.916e-05/0.03521, allocations: 16.56 kB / 23.57 MB, free: 440 kB / 10.45 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008792/0.04401, allocations: 0.6101 MB / 24.18 MB, free: 1.078 MB / 10.45 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002881/0.04433, allocations: 130.2 kB / 24.31 MB, free: 1.055 MB / 10.45 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001701/0.04452, allocations: 81.98 kB / 24.39 MB, free: 1.047 MB / 10.45 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003865/0.04492, allocations: 432.7 kB / 24.81 MB, free: 0.5781 MB / 10.45 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.125e-05/0.04495, allocations: 32.5 kB / 24.85 MB, free: 0.5391 MB / 10.45 MB Notification: Performance of pre-optimization done (n=14): time 2.746e-06/0.04497, allocations: 8.094 kB / 24.85 MB, free: 0.5391 MB / 10.45 MB Notification: Performance of matching and sorting (n=14): time 0.0005583/0.04553, allocations: 177.8 kB / 25.03 MB, free: 0.5078 MB / 10.45 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.32e-05/0.04562, allocations: 113.6 kB / 25.14 MB, free: 392 kB / 10.45 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001306/0.04577, allocations: 142.5 kB / 25.28 MB, free: 292 kB / 10.45 MB Notification: Performance of collectPreVariables (initialization): time 2.623e-05/0.04581, allocations: 29.33 kB / 25.31 MB, free: 260 kB / 10.45 MB Notification: Performance of collectInitialEqns (initialization): time 8.555e-05/0.0459, allocations: 156.2 kB / 25.46 MB, free: 144 kB / 10.45 MB Notification: Performance of collectInitialBindings (initialization): time 4.959e-05/0.04596, allocations: 46.98 kB / 25.5 MB, free: 124 kB / 10.45 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.761e-05/0.04599, allocations: 0 / 25.5 MB, free: 124 kB / 10.45 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.04614, allocations: 330.4 kB / 25.83 MB, free: 3.32 MB / 13.96 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001676/0.04632, allocations: 72.91 kB / 25.9 MB, free: 3.32 MB / 13.96 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001976/0.04653, allocations: 132.4 kB / 26.03 MB, free: 3.258 MB / 13.96 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002521/0.0468, allocations: 82.31 kB / 26.11 MB, free: 3.258 MB / 13.96 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.04681, allocations: 0 / 26.11 MB, free: 3.258 MB / 13.96 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005769/0.0474, allocations: 240.2 kB / 26.34 MB, free: 3.219 MB / 13.96 MB Notification: Performance of prepare postOptimizeDAE: time 5.256e-05/0.04747, allocations: 42.36 kB / 26.38 MB, free: 3.188 MB / 13.96 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.847e-06/0.04749, allocations: 5.609 kB / 26.39 MB, free: 3.188 MB / 13.96 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.04752, allocations: 3.75 kB / 26.39 MB, free: 3.188 MB / 13.96 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002249/0.04775, allocations: 33.7 kB / 26.43 MB, free: 3.188 MB / 13.96 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.796e-06/0.04777, allocations: 6.406 kB / 26.43 MB, free: 3.188 MB / 13.96 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001754/0.04796, allocations: 22.05 kB / 26.45 MB, free: 3.184 MB / 13.96 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.914e-05/0.04801, allocations: 15.59 kB / 26.47 MB, free: 3.184 MB / 13.96 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.0001691/0.04819, allocations: 150.6 kB / 26.62 MB, free: 3.047 MB / 13.96 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.329e-05/0.04825, allocations: 13.36 kB / 26.63 MB, free: 3.043 MB / 13.96 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006999/0.04896, allocations: 261.2 kB / 26.88 MB, free: 3.004 MB / 13.96 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.698e-05/0.04899, allocations: 5.25 kB / 26.89 MB, free: 3.004 MB / 13.96 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.04901, allocations: 0 / 26.89 MB, free: 3.004 MB / 13.96 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.04902, allocations: 3.656 kB / 26.89 MB, free: 3.004 MB / 13.96 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009006/0.04993, allocations: 0.5036 MB / 27.4 MB, free: 2.734 MB / 13.96 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.04995, allocations: 3.422 kB / 27.4 MB, free: 2.734 MB / 13.96 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000187/0.05015, allocations: 23.08 kB / 27.42 MB, free: 2.734 MB / 13.96 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.195e-06/0.05017, allocations: 3.953 kB / 27.43 MB, free: 2.73 MB / 13.96 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.496e-05/0.05021, allocations: 8.281 kB / 27.43 MB, free: 2.73 MB / 13.96 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.574e-06/0.05022, allocations: 224 / 27.43 MB, free: 2.73 MB / 13.96 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.05023, allocations: 4 kB / 27.44 MB, free: 2.727 MB / 13.96 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000731/0.05097, allocations: 385.3 kB / 27.81 MB, free: 2.586 MB / 13.96 MB Notification: Performance of postOpt removeConstants (simulation): time 6.396e-05/0.05105, allocations: 95.73 kB / 27.91 MB, free: 2.484 MB / 13.96 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.899e-05/0.05111, allocations: 10.64 kB / 27.92 MB, free: 2.48 MB / 13.96 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001868/0.05131, allocations: 12.8 kB / 27.93 MB, free: 2.48 MB / 13.96 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001212/0.05144, allocations: 32.81 kB / 27.96 MB, free: 2.48 MB / 13.96 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.274e-05/0.05149, allocations: 13.56 kB / 27.98 MB, free: 2.477 MB / 13.96 MB Notification: Performance of sorting global known variables: time 8.894e-05/0.05159, allocations: 105 kB / 28.08 MB, free: 2.402 MB / 13.96 MB Notification: Performance of sort global known variables: time 4.51e-07/0.0516, allocations: 3.266 kB / 28.08 MB, free: 2.402 MB / 13.96 MB Notification: Performance of remove unused functions: time 0.0005391/0.05215, allocations: 95.36 kB / 28.17 MB, free: 2.391 MB / 13.96 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.05248, allocations: 158 kB / 28.33 MB, free: 2.301 MB / 13.96 MB Notification: Performance of simCode: created initialization part: time 0.0005819/0.05307, allocations: 268 kB / 28.59 MB, free: 2.094 MB / 13.96 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.05309, allocations: 384 / 28.59 MB, free: 2.094 MB / 13.96 MB Notification: Performance of simCode: created simulation system equations: time 0.0002849/0.05339, allocations: 169.5 kB / 28.76 MB, free: 1.926 MB / 13.96 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003105/0.05372, allocations: 15.62 kB / 28.77 MB, free: 1.914 MB / 13.96 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009305/0.05466, allocations: 315.7 kB / 29.08 MB, free: 1.617 MB / 13.96 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004269/0.05511, allocations: 0.7738 MB / 29.85 MB, free: 0.8516 MB / 13.96 MB Notification: Performance of simCode: alias equations: time 0.0002749/0.0554, allocations: 67.53 kB / 29.92 MB, free: 0.8086 MB / 13.96 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000111/0.05552, allocations: 38.5 kB / 29.96 MB, free: 0.7773 MB / 13.96 MB Notification: Performance of SimCode: time 9.82e-07/0.05553, allocations: 0 / 29.96 MB, free: 0.7773 MB / 13.96 MB Notification: Performance of Templates: time 0.01741/0.07295, allocations: 2.46 MB / 32.42 MB, free: 3.27 MB / 13.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)