Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ConPNlib_ConPNlib.Examples.Test5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo", uses=false) Using package ConPNlib with version (/home/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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo): time 0.01353/0.01353, allocations: 1.366 MB / 16.33 MB, free: 5.34 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.164e-05/1.167e-05, allocations: 0 / 23.23 MB, free: 4.031 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0005687/0.000597, allocations: 358.2 kB / 23.58 MB, free: 3.879 MB / 13.93 MB Notification: Performance of NFInst.instantiate(ConPNlib.Examples.Test5): time 0.001032/0.001639, allocations: 0.9402 MB / 24.52 MB, free: 3.125 MB / 13.93 MB Notification: Performance of NFInst.instExpressions: time 0.001044/0.002697, allocations: 0.6422 MB / 25.17 MB, free: 2.48 MB / 13.93 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001422/0.002853, allocations: 7.938 kB / 25.17 MB, free: 2.473 MB / 13.93 MB Notification: Performance of NFTyping.typeComponents: time 0.0001603/0.003024, allocations: 63.52 kB / 25.24 MB, free: 2.41 MB / 13.93 MB Notification: Performance of NFTyping.typeBindings: time 0.0006193/0.003655, allocations: 221.2 kB / 25.45 MB, free: 2.195 MB / 13.93 MB Notification: Performance of NFTyping.typeClassSections: time 8.762e-05/0.003757, allocations: 27.97 kB / 25.48 MB, free: 2.168 MB / 13.93 MB Notification: Performance of NFFlatten.flatten: time 0.0003115/0.004081, allocations: 319.8 kB / 25.79 MB, free: 1.855 MB / 13.93 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002134/0.004305, allocations: 141.2 kB / 25.93 MB, free: 1.703 MB / 13.93 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001154/0.004433, allocations: 123.3 kB / 26.05 MB, free: 1.582 MB / 13.93 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001424/0.004586, allocations: 127.1 kB / 26.17 MB, free: 1.457 MB / 13.93 MB Notification: Performance of NFPackage.collectConstants: time 3.705e-05/0.004633, allocations: 12 kB / 26.19 MB, free: 1.445 MB / 13.93 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003089/0.004952, allocations: 203.6 kB / 26.39 MB, free: 1.246 MB / 13.93 MB Notification: Performance of NFScalarize.scalarize: time 7.278e-05/0.005037, allocations: 67.69 kB / 26.45 MB, free: 1.18 MB / 13.93 MB Notification: Performance of NFVerifyModel.verify: time 5.597e-05/0.005104, allocations: 81.52 kB / 26.53 MB, free: 1.094 MB / 13.93 MB Notification: Performance of NFConvertDAE.convert: time 0.000378/0.005491, allocations: 379.3 kB / 26.9 MB, free: 0.7227 MB / 13.93 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.005508, allocations: 0 / 26.9 MB, free: 0.7227 MB / 13.93 MB Notification: Performance of FrontEnd: time 1.082e-06/0.005518, allocations: 0 / 26.9 MB, free: 0.7227 MB / 13.93 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.00553, allocations: 0 / 26.9 MB, free: 0.7227 MB / 13.93 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.0006828/0.00622, allocations: 0.6059 MB / 27.51 MB, free: 64 kB / 13.93 MB Notification: Performance of prepare preOptimizeDAE: time 3.292e-05/0.006262, allocations: 8.297 kB / 27.52 MB, free: 56 kB / 13.93 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.644e-05/0.006368, allocations: 44.39 kB / 27.56 MB, free: 12 kB / 13.93 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004438/0.006822, allocations: 296.9 kB / 27.85 MB, free: 4.344 MB / 18.59 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.276e-05/0.006889, allocations: 41.33 kB / 27.89 MB, free: 4.305 MB / 18.59 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.066e-05/0.006989, allocations: 44.34 kB / 27.93 MB, free: 4.262 MB / 18.59 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001351/0.008351, allocations: 0.6407 MB / 28.57 MB, free: 3.602 MB / 18.59 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.518e-05/0.00838, allocations: 176 / 28.57 MB, free: 3.602 MB / 18.59 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.332e-05/0.008453, allocations: 28.11 kB / 28.6 MB, free: 3.574 MB / 18.59 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.327e-05/0.008555, allocations: 40.97 kB / 28.64 MB, free: 3.535 MB / 18.59 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001066/0.009631, allocations: 459.6 kB / 29.09 MB, free: 3.086 MB / 18.59 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002419/0.01206, allocations: 1.495 MB / 30.58 MB, free: 1.461 MB / 18.59 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005671/0.01265, allocations: 243.9 kB / 30.82 MB, free: 1.215 MB / 18.59 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004009/0.01306, allocations: 192.3 kB / 31.01 MB, free: 1.027 MB / 18.59 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006011/0.01368, allocations: 0.5936 MB / 31.6 MB, free: 308 kB / 18.59 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.644e-05/0.01372, allocations: 34.69 kB / 31.64 MB, free: 264 kB / 18.59 MB Notification: Performance of pre-optimization done (n=23): time 2.355e-06/0.01373, allocations: 0 / 31.64 MB, free: 264 kB / 18.59 MB Notification: Performance of matching and sorting (n=23): time 0.009248/0.02299, allocations: 0.5541 MB / 32.19 MB, free: 7.961 MB / 18.59 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.301e-05/0.02307, allocations: 146.2 kB / 32.33 MB, free: 7.805 MB / 18.59 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002452/0.02333, allocations: 213.5 kB / 32.54 MB, free: 7.695 MB / 18.59 MB Notification: Performance of collectPreVariables (initialization): time 3.547e-05/0.02338, allocations: 33.44 kB / 32.58 MB, free: 7.664 MB / 18.59 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001277/0.02352, allocations: 218.5 kB / 32.79 MB, free: 7.527 MB / 18.59 MB Notification: Performance of collectInitialBindings (initialization): time 5.573e-05/0.02359, allocations: 74.39 kB / 32.86 MB, free: 7.484 MB / 18.59 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.911e-05/0.02361, allocations: 12.03 kB / 32.87 MB, free: 7.484 MB / 18.59 MB Notification: Performance of setup shared object (initialization): time 6.576e-05/0.02368, allocations: 329.4 kB / 33.2 MB, free: 7.172 MB / 18.59 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003791/0.02407, allocations: 170.4 kB / 33.36 MB, free: 7.164 MB / 18.59 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004497/0.02453, allocations: 240.1 kB / 33.6 MB, free: 7.078 MB / 18.59 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003868/0.02493, allocations: 198.6 kB / 33.79 MB, free: 6.992 MB / 18.59 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.02495, allocations: 0.75 kB / 33.79 MB, free: 6.992 MB / 18.59 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001166/0.02613, allocations: 0.5399 MB / 34.33 MB, free: 6.781 MB / 18.59 MB Notification: Performance of prepare postOptimizeDAE: time 5.402e-05/0.0262, allocations: 45.62 kB / 34.38 MB, free: 6.738 MB / 18.59 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/0.02622, allocations: 0 / 34.38 MB, free: 6.738 MB / 18.59 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.02624, allocations: 7.609 kB / 34.38 MB, free: 6.734 MB / 18.59 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002526/0.0265, allocations: 58.41 kB / 34.44 MB, free: 6.68 MB / 18.59 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/0.02653, allocations: 4 kB / 34.44 MB, free: 6.676 MB / 18.59 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000229/0.02676, allocations: 51.66 kB / 34.49 MB, free: 6.625 MB / 18.59 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.303e-05/0.02683, allocations: 16 kB / 34.51 MB, free: 6.609 MB / 18.59 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 14 ($PRE.P1.fireOut[1],P1.emptying,$PRE.P2.fireIn[1],P2.feeding,P1.outTransition[1].arcType,P1.fireOut[1],P2.fireIn[1],T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyOutputActiveVec[1],T1.activation.arcType[1],T1.activation.emptied[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 (36): * Single equations (assignments): 33 * 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.0003383/0.02718, allocations: 257.4 kB / 34.76 MB, free: 6.348 MB / 18.59 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.62e-05/0.02727, allocations: 23.75 kB / 34.78 MB, free: 6.324 MB / 18.59 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009401/0.02822, allocations: 489 kB / 35.26 MB, free: 5.844 MB / 18.59 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.502e-05/0.02827, allocations: 4 kB / 35.27 MB, free: 5.84 MB / 18.59 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.02828, allocations: 9.219 kB / 35.28 MB, free: 5.836 MB / 18.59 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.0283, allocations: 3.984 kB / 35.28 MB, free: 5.832 MB / 18.59 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001554/0.02986, allocations: 0.9286 MB / 36.21 MB, free: 4.848 MB / 18.59 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.02988, allocations: 0 / 36.21 MB, free: 4.848 MB / 18.59 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002099/0.0301, allocations: 39.97 kB / 36.25 MB, free: 4.809 MB / 18.59 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/0.03012, allocations: 3.953 kB / 36.25 MB, free: 4.805 MB / 18.59 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.993e-05/0.03015, allocations: 15.36 kB / 36.27 MB, free: 4.793 MB / 18.59 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.788e-06/0.03017, allocations: 3.938 kB / 36.27 MB, free: 4.789 MB / 18.59 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.03018, allocations: 0 / 36.27 MB, free: 4.789 MB / 18.59 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001291/0.03147, allocations: 0.7277 MB / 37 MB, free: 4.039 MB / 18.59 MB Notification: Performance of postOpt removeConstants (simulation): time 3.332e-05/0.03152, allocations: 100.6 kB / 37.1 MB, free: 3.926 MB / 18.59 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.635e-05/0.03157, allocations: 19.94 kB / 37.11 MB, free: 3.906 MB / 18.59 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002423/0.03183, allocations: 23.98 kB / 37.14 MB, free: 3.883 MB / 18.59 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001455/0.03199, allocations: 69.11 kB / 37.21 MB, free: 3.816 MB / 18.59 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.705e-05/0.03204, allocations: 8 kB / 37.21 MB, free: 3.809 MB / 18.59 MB Notification: Performance of sorting global known variables: time 0.0001278/0.03217, allocations: 145.2 kB / 37.36 MB, free: 3.668 MB / 18.59 MB Notification: Performance of sort global known variables: time 2.11e-07/0.03218, allocations: 0 / 37.36 MB, free: 3.668 MB / 18.59 MB Notification: Performance of remove unused functions: time 0.0007138/0.03291, allocations: 145.2 kB / 37.5 MB, free: 3.535 MB / 18.59 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 (T1.activation.weaklyOutputActiveVec[1],T1.activation.weaklyInputActiveVec[1],T1.activation.active,P1.fireOut[1],P2.fireIn[1]) * 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.0003184/0.03324, allocations: 183 kB / 37.68 MB, free: 3.363 MB / 18.59 MB Notification: Performance of simCode: created initialization part: time 0.0008954/0.03415, allocations: 499.4 kB / 38.16 MB, free: 2.863 MB / 18.59 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.03417, allocations: 0 / 38.16 MB, free: 2.863 MB / 18.59 MB Notification: Performance of simCode: created simulation system equations: time 0.0004615/0.03464, allocations: 267.2 kB / 38.42 MB, free: 2.59 MB / 18.59 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004167/0.03507, allocations: 38.72 kB / 38.46 MB, free: 2.555 MB / 18.59 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001675/0.03676, allocations: 0.8948 MB / 39.36 MB, free: 1.637 MB / 18.59 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003282/0.03711, allocations: 0.8501 MB / 40.21 MB, free: 0.7617 MB / 18.59 MB Notification: Performance of simCode: alias equations: time 0.0003393/0.03746, allocations: 115 kB / 40.32 MB, free: 0.6523 MB / 18.59 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001441/0.03762, allocations: 35.42 kB / 40.35 MB, free: 0.6172 MB / 18.59 MB Notification: Performance of SimCode: time 3.51e-07/0.03763, allocations: 3.609 kB / 40.36 MB, free: 0.6172 MB / 18.59 MB Notification: Performance of Templates: time 0.0165/0.05414, allocations: 4.053 MB / 44.41 MB, free: 4.117 MB / 18.59 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)