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.008873/0.008877, allocations: 1.337 MB / 13.9 MB, free: 1.406 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.69e-05/1.701e-05, allocations: 0 / 19.23 MB, free: 1.988 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0006323/0.0006759, allocations: 364.4 kB / 19.59 MB, free: 1.656 MB / 13.93 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0155/0.01619, allocations: 4.007 MB / 23.6 MB, free: 2.43 MB / 13.93 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001243/0.01636, allocations: 47.05 kB / 23.64 MB, free: 2.414 MB / 13.93 MB Notification: Performance of FrontEnd - DAE generated: time 0.02829/0.04467, allocations: 6.915 MB / 30.56 MB, free: 0.5117 MB / 18.57 MB Notification: Performance of FrontEnd: time 1.423e-06/0.04472, allocations: 0 / 30.56 MB, free: 0.5117 MB / 18.57 MB Notification: Performance of Transformations before backend: time 3.142e-05/0.04476, allocations: 8 kB / 30.56 MB, free: 0.5039 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.0128/0.05757, allocations: 0.619 MB / 31.18 MB, free: 2.812 MB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 4.959e-05/0.05764, allocations: 10.41 kB / 31.19 MB, free: 2.812 MB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002376/0.05788, allocations: 45.14 kB / 31.24 MB, free: 2.793 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006075/0.0585, allocations: 308.3 kB / 31.54 MB, free: 2.594 MB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.852e-05/0.05858, allocations: 40.48 kB / 31.58 MB, free: 2.59 MB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001094/0.0587, allocations: 45.56 kB / 31.62 MB, free: 2.59 MB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002582/0.06129, allocations: 0.6091 MB / 32.23 MB, free: 2.508 MB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.145e-05/0.06138, allocations: 0 / 32.23 MB, free: 2.508 MB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.776e-05/0.06149, allocations: 18.56 kB / 32.25 MB, free: 2.508 MB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001024/0.06161, allocations: 30.78 kB / 32.28 MB, free: 2.504 MB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000956/0.06258, allocations: 407 kB / 32.68 MB, free: 2.5 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002348/0.06495, allocations: 1.147 MB / 33.82 MB, free: 2.086 MB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005562/0.06555, allocations: 306.9 kB / 34.12 MB, free: 1.961 MB / 18.57 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003261/0.0659, allocations: 162.2 kB / 34.28 MB, free: 1.953 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005662/0.06648, allocations: 0.6023 MB / 34.89 MB, free: 1.293 MB / 18.57 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.312e-05/0.06652, allocations: 35.81 kB / 34.92 MB, free: 1.254 MB / 18.57 MB Notification: Performance of pre-optimization done (n=22): time 3.026e-06/0.06653, allocations: 0 / 34.92 MB, free: 1.254 MB / 18.57 MB Notification: Performance of matching and sorting (n=22): time 0.000787/0.06733, allocations: 315.9 kB / 35.23 MB, free: 1.176 MB / 18.57 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.606e-05/0.06741, allocations: 143.6 kB / 35.37 MB, free: 1.02 MB / 18.57 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002606/0.06769, allocations: 207.1 kB / 35.57 MB, free: 0.9102 MB / 18.57 MB Notification: Performance of collectPreVariables (initialization): time 3.681e-05/0.06774, allocations: 31.89 kB / 35.6 MB, free: 0.8789 MB / 18.57 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001417/0.06789, allocations: 215.4 kB / 35.81 MB, free: 0.7422 MB / 18.57 MB Notification: Performance of collectInitialBindings (initialization): time 8.065e-05/0.06798, allocations: 79.2 kB / 35.89 MB, free: 0.6992 MB / 18.57 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.727e-05/0.06802, allocations: 3.375 kB / 35.89 MB, free: 0.6992 MB / 18.57 MB Notification: Performance of setup shared object (initialization): time 7.32e-05/0.06811, allocations: 333.8 kB / 36.22 MB, free: 396 kB / 18.57 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003118/0.06843, allocations: 134.3 kB / 36.35 MB, free: 392 kB / 18.57 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003826/0.06883, allocations: 242.7 kB / 36.59 MB, free: 268 kB / 18.57 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000348/0.06919, allocations: 185.1 kB / 36.77 MB, free: 212 kB / 18.57 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.222e-06/0.06921, allocations: 3.406 kB / 36.77 MB, free: 212 kB / 18.57 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009165/0.07013, allocations: 443.4 kB / 37.2 MB, free: 20 kB / 18.57 MB Notification: Performance of prepare postOptimizeDAE: time 9.269e-05/0.07025, allocations: 50.11 kB / 37.25 MB, free: 6.188 MB / 24.78 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/0.07027, allocations: 11.31 kB / 37.26 MB, free: 6.184 MB / 24.78 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.175e-05/0.0703, allocations: 2.5 kB / 37.27 MB, free: 6.184 MB / 24.78 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003349/0.07064, allocations: 55.08 kB / 37.32 MB, free: 6.176 MB / 24.78 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.299e-05/0.07067, allocations: 3.938 kB / 37.32 MB, free: 6.176 MB / 24.78 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003028/0.07098, allocations: 46.94 kB / 37.37 MB, free: 6.16 MB / 24.78 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.02e-05/0.07107, allocations: 24.69 kB / 37.39 MB, free: 6.156 MB / 24.78 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 () * 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.0002674/0.07135, allocations: 185.6 kB / 37.58 MB, free: 5.996 MB / 24.78 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.627e-05/0.07144, allocations: 24.75 kB / 37.6 MB, free: 5.98 MB / 24.78 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009453/0.0724, allocations: 387.7 kB / 37.98 MB, free: 5.82 MB / 24.78 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.809e-05/0.07244, allocations: 3.969 kB / 37.98 MB, free: 5.82 MB / 24.78 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.07246, allocations: 0 / 37.98 MB, free: 5.82 MB / 24.78 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/0.07247, allocations: 0 / 37.98 MB, free: 5.82 MB / 24.78 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001555/0.07403, allocations: 0.7972 MB / 38.78 MB, free: 5.277 MB / 24.78 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.441e-06/0.07407, allocations: 4 kB / 38.78 MB, free: 5.273 MB / 24.78 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003064/0.07439, allocations: 38.38 kB / 38.82 MB, free: 5.242 MB / 24.78 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.143e-05/0.07442, allocations: 3.797 kB / 38.82 MB, free: 5.242 MB / 24.78 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.13e-05/0.07447, allocations: 11.94 kB / 38.84 MB, free: 5.23 MB / 24.78 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.07448, allocations: 0 / 38.84 MB, free: 5.23 MB / 24.78 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.07449, allocations: 0 / 38.84 MB, free: 5.23 MB / 24.78 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00134/0.07584, allocations: 0.5917 MB / 39.43 MB, free: 4.676 MB / 24.78 MB Notification: Performance of postOpt removeConstants (simulation): time 8.822e-05/0.07595, allocations: 95.55 kB / 39.52 MB, free: 4.566 MB / 24.78 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.229e-05/0.07604, allocations: 12 kB / 39.53 MB, free: 4.555 MB / 24.78 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002706/0.07632, allocations: 27.64 kB / 39.56 MB, free: 4.535 MB / 24.78 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002083/0.07654, allocations: 58.28 kB / 39.62 MB, free: 4.496 MB / 24.78 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.739e-05/0.07661, allocations: 20.28 kB / 39.64 MB, free: 4.48 MB / 24.78 MB Notification: Performance of sorting global known variables: time 0.0002003/0.07683, allocations: 143.3 kB / 39.78 MB, free: 4.348 MB / 24.78 MB Notification: Performance of sort global known variables: time 5.01e-07/0.07684, allocations: 0 / 39.78 MB, free: 4.348 MB / 24.78 MB Notification: Performance of remove unused functions: time 0.0007732/0.07762, allocations: 167 kB / 39.94 MB, free: 4.207 MB / 24.78 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) * 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.0004815/0.07812, allocations: 208.5 kB / 40.14 MB, free: 4.023 MB / 24.78 MB Notification: Performance of simCode: created initialization part: time 0.001062/0.0792, allocations: 447.3 kB / 40.58 MB, free: 3.609 MB / 24.78 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.07922, allocations: 0.75 kB / 40.58 MB, free: 3.609 MB / 24.78 MB Notification: Performance of simCode: created simulation system equations: time 0.0004945/0.07972, allocations: 253.2 kB / 40.83 MB, free: 3.371 MB / 24.78 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003539/0.08009, allocations: 40.61 kB / 40.87 MB, free: 3.336 MB / 24.78 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001541/0.08165, allocations: 0.5606 MB / 41.43 MB, free: 2.832 MB / 24.78 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000585/0.08226, allocations: 0.8589 MB / 42.29 MB, free: 2.016 MB / 24.78 MB Notification: Performance of simCode: alias equations: time 0.0005997/0.08288, allocations: 81.91 kB / 42.37 MB, free: 1.961 MB / 24.78 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002367/0.08314, allocations: 35.17 kB / 42.4 MB, free: 1.93 MB / 24.78 MB Notification: Performance of SimCode: time 1.523e-06/0.08316, allocations: 1.781 kB / 42.4 MB, free: 1.93 MB / 24.78 MB Notification: Performance of Templates: time 0.041/0.1242, allocations: 3.902 MB / 46.31 MB, free: 6.684 MB / 24.78 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)