Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ConPNlib_ConPNlib.Examples.Test8.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.Test8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test8") translateModel(ConPNlib.Examples.Test8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo): time 0.005433/0.005432, allocations: 1.36 MB / 17.3 MB, free: 4.523 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.638e-05/1.658e-05, allocations: 0 / 24.36 MB, free: 3.102 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0006059/0.0006425, allocations: 363.1 kB / 24.71 MB, free: 2.773 MB / 13.93 MB Notification: Performance of NFInst.instantiate(ConPNlib.Examples.Test8): time 0.001378/0.002032, allocations: 1.524 MB / 26.23 MB, free: 1.246 MB / 13.93 MB Notification: Performance of NFInst.instExpressions: time 0.001632/0.003681, allocations: 0.8888 MB / 27.12 MB, free: 364 kB / 13.93 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004115/0.004111, allocations: 7.938 kB / 27.13 MB, free: 356 kB / 13.93 MB Notification: Performance of NFTyping.typeComponents: time 0.0003393/0.004461, allocations: 114.4 kB / 27.24 MB, free: 244 kB / 13.93 MB Notification: Performance of NFTyping.typeBindings: time 0.001095/0.005566, allocations: 319 kB / 27.55 MB, free: 4.566 MB / 18.57 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002329/0.005814, allocations: 47.95 kB / 27.6 MB, free: 4.52 MB / 18.57 MB Notification: Performance of NFFlatten.flatten: time 0.0008772/0.006703, allocations: 0.5879 MB / 28.19 MB, free: 3.934 MB / 18.57 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004366/0.007151, allocations: 294.1 kB / 28.48 MB, free: 3.629 MB / 18.57 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000339/0.007502, allocations: 226.6 kB / 28.7 MB, free: 3.406 MB / 18.57 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003856/0.007898, allocations: 254.2 kB / 28.95 MB, free: 3.156 MB / 18.57 MB Notification: Performance of NFPackage.collectConstants: time 9.742e-05/0.008005, allocations: 24 kB / 28.97 MB, free: 3.133 MB / 18.57 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004537/0.008465, allocations: 227.6 kB / 29.19 MB, free: 2.91 MB / 18.57 MB Notification: Performance of NFScalarize.scalarize: time 0.000196/0.00867, allocations: 151.3 kB / 29.34 MB, free: 2.762 MB / 18.57 MB Notification: Performance of NFVerifyModel.verify: time 0.0003198/0.008999, allocations: 287.7 kB / 29.62 MB, free: 2.473 MB / 18.57 MB Notification: Performance of NFConvertDAE.convert: time 0.0007534/0.009759, allocations: 0.5968 MB / 30.22 MB, free: 1.875 MB / 18.57 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.009773, allocations: 0 / 30.22 MB, free: 1.875 MB / 18.57 MB Notification: Performance of FrontEnd: time 1.403e-06/0.009779, allocations: 0 / 30.22 MB, free: 1.875 MB / 18.57 MB Notification: Performance of Transformations before backend: time 1.651e-05/0.009801, allocations: 0 / 30.22 MB, free: 1.875 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: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 0.001131/0.01094, allocations: 0.8456 MB / 31.06 MB, free: 0.9688 MB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.01099, allocations: 8.969 kB / 31.07 MB, free: 0.9609 MB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001292/0.01112, allocations: 84.09 kB / 31.15 MB, free: 0.8789 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005182/0.01165, allocations: 431.8 kB / 31.58 MB, free: 428 kB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.349e-05/0.01172, allocations: 66.36 kB / 31.64 MB, free: 360 kB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001237/0.01185, allocations: 88.36 kB / 31.73 MB, free: 272 kB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008824/0.02068, allocations: 1.208 MB / 32.94 MB, free: 4.758 MB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.527e-05/0.02074, allocations: 3 kB / 32.94 MB, free: 4.758 MB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.855e-05/0.02082, allocations: 43.44 kB / 32.98 MB, free: 4.758 MB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001128/0.02094, allocations: 81.84 kB / 33.06 MB, free: 4.758 MB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001248/0.02219, allocations: 0.8679 MB / 33.93 MB, free: 4.75 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002824/0.02503, allocations: 2.569 MB / 36.5 MB, free: 2.621 MB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007146/0.02576, allocations: 0.6345 MB / 37.13 MB, free: 1.941 MB / 18.57 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003934/0.02616, allocations: 357.7 kB / 37.48 MB, free: 1.59 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003174/0.02649, allocations: 0.5955 MB / 38.08 MB, free: 0.8672 MB / 18.57 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.298e-05/0.02652, allocations: 38.86 kB / 38.11 MB, free: 0.8203 MB / 18.57 MB Notification: Performance of pre-optimization done (n=41): time 2.424e-06/0.02653, allocations: 0 / 38.11 MB, free: 0.8203 MB / 18.57 MB Notification: Performance of matching and sorting (n=41): time 0.001433/0.02797, allocations: 0.994 MB / 39.11 MB, free: 6.012 MB / 24.77 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000143/0.02813, allocations: 216.2 kB / 39.32 MB, free: 5.758 MB / 24.77 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003624/0.0285, allocations: 329.6 kB / 39.64 MB, free: 5.43 MB / 24.77 MB Notification: Performance of collectPreVariables (initialization): time 4.269e-05/0.02855, allocations: 35.73 kB / 39.68 MB, free: 5.391 MB / 24.77 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002727/0.02883, allocations: 347.2 kB / 40.02 MB, free: 5.055 MB / 24.77 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001315/0.02896, allocations: 128.3 kB / 40.14 MB, free: 4.934 MB / 24.77 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.227e-05/0.029, allocations: 12 kB / 40.15 MB, free: 4.922 MB / 24.77 MB Notification: Performance of setup shared object (initialization): time 0.0001635/0.02918, allocations: 346.8 kB / 40.49 MB, free: 4.574 MB / 24.77 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004945/0.02968, allocations: 304.9 kB / 40.79 MB, free: 4.277 MB / 24.77 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006188/0.0303, allocations: 453.2 kB / 41.23 MB, free: 3.773 MB / 24.77 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001029/0.03134, allocations: 0.7707 MB / 42 MB, free: 2.938 MB / 24.77 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.651e-06/0.03136, allocations: 4 kB / 42.01 MB, free: 2.934 MB / 24.77 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001518/0.03289, allocations: 0.9852 MB / 42.99 MB, free: 1.949 MB / 24.77 MB Notification: Performance of prepare postOptimizeDAE: time 8.279e-05/0.03298, allocations: 83.39 kB / 43.07 MB, free: 1.855 MB / 24.77 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.321e-05/0.033, allocations: 7.984 kB / 43.08 MB, free: 1.848 MB / 24.77 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.181e-05/0.03303, allocations: 7.938 kB / 43.09 MB, free: 1.84 MB / 24.77 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002954/0.03333, allocations: 90.08 kB / 43.18 MB, free: 1.762 MB / 24.77 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.623e-05/0.03335, allocations: 11.28 kB / 43.19 MB, free: 1.754 MB / 24.77 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002996/0.03366, allocations: 87.5 kB / 43.27 MB, free: 1.668 MB / 24.77 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.085e-05/0.03374, allocations: 38.09 kB / 43.31 MB, free: 1.633 MB / 24.77 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 27 ($PRE.P1.fireOut[1],$PRE.P1.fireOut[2],P1.emptying,$PRE.P2.fireIn[1],P2.feeding,$PRE.P3.fireIn[1],P3.feeding,P1.outTransition[2].arcType,P1.outTransition[1].arcType,P1.fireOut[1],P1.fireOut[2],P2.fireIn[1],T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyOutputActiveVec[1],T2.activation.fed[1],T2.activation.active,T2.activation.weaklyInputActiveVec[1],T2.activation.weaklyOutputActiveVec[1],P3.fireIn[1],T1.activation.arcType[1],T2.activation.arcType[1],T2.activation.emptied[1],T1.activation.emptied[1],T1.activation.fed[1],T2.outPlaces[1].enabledByInPlaces,T1.outPlaces[1].enabledByInPlaces) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 60 * Array equations: 3 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004799/0.03422, allocations: 387.6 kB / 43.69 MB, free: 1.238 MB / 24.77 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.272e-05/0.03432, allocations: 42.59 kB / 43.73 MB, free: 1.199 MB / 24.77 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001389/0.03571, allocations: 0.8736 MB / 44.6 MB, free: 312 kB / 24.77 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.861e-05/0.03575, allocations: 11.98 kB / 44.62 MB, free: 300 kB / 24.77 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.03576, allocations: 0 / 44.62 MB, free: 300 kB / 24.77 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.03578, allocations: 0 / 44.62 MB, free: 300 kB / 24.77 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0102/0.04598, allocations: 1.529 MB / 46.14 MB, free: 11.44 MB / 24.77 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/0.04602, allocations: 3.75 kB / 46.15 MB, free: 11.44 MB / 24.77 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002362/0.04627, allocations: 60.7 kB / 46.21 MB, free: 11.44 MB / 24.77 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.933e-06/0.04629, allocations: 3.906 kB / 46.21 MB, free: 11.44 MB / 24.77 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.296e-05/0.04634, allocations: 24.45 kB / 46.24 MB, free: 11.44 MB / 24.77 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.08e-06/0.04635, allocations: 0 / 46.24 MB, free: 11.44 MB / 24.77 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.04635, allocations: 6.969 kB / 46.24 MB, free: 11.44 MB / 24.77 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001516/0.04788, allocations: 1.269 MB / 47.51 MB, free: 11.06 MB / 24.77 MB Notification: Performance of postOpt removeConstants (simulation): time 7.674e-05/0.04797, allocations: 113.3 kB / 47.62 MB, free: 10.96 MB / 24.77 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.656e-05/0.04805, allocations: 18.61 kB / 47.64 MB, free: 10.96 MB / 24.77 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002291/0.04828, allocations: 53.27 kB / 47.69 MB, free: 10.95 MB / 24.77 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002183/0.04851, allocations: 109.7 kB / 47.8 MB, free: 10.92 MB / 24.77 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.145e-05/0.04857, allocations: 28.36 kB / 47.83 MB, free: 10.92 MB / 24.77 MB Notification: Performance of sorting global known variables: time 0.0001517/0.04873, allocations: 196.2 kB / 48.02 MB, free: 10.81 MB / 24.77 MB Notification: Performance of sort global known variables: time 1.3e-07/0.04873, allocations: 0 / 48.02 MB, free: 10.81 MB / 24.77 MB Notification: Performance of remove unused functions: time 0.0006038/0.04934, allocations: 234 kB / 48.25 MB, free: 10.7 MB / 24.77 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (P1.t_,P2.t_,P3.t_) * Number of discrete variables: 14 (P1.fireOut[1],P1.fireOut[2],P1.emptying,P2.fireIn[1],P2.feeding,T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyOutputActiveVec[1],T2.activation.fed[1],T2.activation.active,T2.activation.weaklyInputActiveVec[1],T2.activation.weaklyOutputActiveVec[1],P3.fireIn[1],P3.feeding) * Number of discrete states: 10 (T1.activation.weaklyOutputActiveVec[1],T1.activation.weaklyInputActiveVec[1],T1.activation.active,T2.activation.weaklyOutputActiveVec[1],T2.activation.weaklyInputActiveVec[1],T2.activation.active,P1.fireOut[1],P1.fireOut[2],P2.fireIn[1],P3.fireIn[1]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 35 * Array equations: 3 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003278/0.04968, allocations: 199 kB / 48.44 MB, free: 10.52 MB / 24.77 MB Notification: Performance of simCode: created initialization part: time 0.001086/0.05077, allocations: 0.9112 MB / 49.35 MB, free: 9.703 MB / 24.77 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.05079, allocations: 0 / 49.35 MB, free: 9.703 MB / 24.77 MB Notification: Performance of simCode: created simulation system equations: time 0.0004783/0.05127, allocations: 0.5082 MB / 49.86 MB, free: 9.176 MB / 24.77 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004128/0.0517, allocations: 63.98 kB / 49.92 MB, free: 9.125 MB / 24.77 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002035/0.05374, allocations: 1.709 MB / 51.63 MB, free: 7.41 MB / 24.77 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004066/0.05416, allocations: 0.9965 MB / 52.63 MB, free: 6.395 MB / 24.77 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001909/0.05436, allocations: 83.31 kB / 52.71 MB, free: 6.312 MB / 24.77 MB Notification: Performance of SimCode: time 4.61e-07/0.05437, allocations: 0 / 52.71 MB, free: 6.312 MB / 24.77 MB Notification: Performance of Templates: time 0.02116/0.07553, allocations: 8.667 MB / 61.38 MB, free: 8.992 MB / 24.77 MB make -j1 -f ConPNlib_ConPNlib.Examples.Test8.makefile (rm -f ConPNlib_ConPNlib.Examples.Test8.pipe ; mkfifo ConPNlib_ConPNlib.Examples.Test8.pipe ; head -c 1048576 < ConPNlib_ConPNlib.Examples.Test8.pipe >> ../files/ConPNlib_ConPNlib.Examples.Test8.sim & ./ConPNlib_ConPNlib.Examples.Test8 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ConPNlib_ConPNlib.Examples.Test8.pipe 2>&1)