Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ConPNlib_ConPNlib.Examples.Test1a.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.Test1a,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test1a") translateModel(ConPNlib.Examples.Test1a,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test1a") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo): time 0.02127/0.02127, allocations: 1.364 MB / 16.33 MB, free: 5.344 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.514e-05/1.547e-05, allocations: 2.562 kB / 23.24 MB, free: 4.027 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.001171/0.001204, allocations: 357.5 kB / 23.58 MB, free: 3.875 MB / 13.93 MB Notification: Performance of NFInst.instantiate(ConPNlib.Examples.Test1a): time 0.0008498/0.002064, allocations: 436.3 kB / 24.01 MB, free: 3.637 MB / 13.93 MB Notification: Performance of NFInst.instExpressions: time 0.0007516/0.002829, allocations: 400.2 kB / 24.4 MB, free: 3.246 MB / 13.93 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.468e-05/0.002918, allocations: 8.656 kB / 24.41 MB, free: 3.238 MB / 13.93 MB Notification: Performance of NFTyping.typeComponents: time 0.0001174/0.003046, allocations: 19.86 kB / 24.43 MB, free: 3.219 MB / 13.93 MB Notification: Performance of NFTyping.typeBindings: time 0.0004782/0.003534, allocations: 142.6 kB / 24.57 MB, free: 3.082 MB / 13.93 MB Notification: Performance of NFTyping.typeClassSections: time 2.505e-05/0.003572, allocations: 7.984 kB / 24.58 MB, free: 3.074 MB / 13.93 MB Notification: Performance of NFFlatten.flatten: time 8.176e-05/0.003662, allocations: 55.84 kB / 24.63 MB, free: 3.02 MB / 13.93 MB Notification: Performance of NFFlatten.resolveConnections: time 5.193e-05/0.003723, allocations: 9.469 kB / 24.64 MB, free: 3.008 MB / 13.93 MB Notification: Performance of NFEvalConstants.evaluate: time 3.942e-05/0.00377, allocations: 23.86 kB / 24.66 MB, free: 2.984 MB / 13.93 MB Notification: Performance of NFSimplifyModel.simplify: time 5.919e-05/0.003837, allocations: 19.86 kB / 24.68 MB, free: 2.965 MB / 13.93 MB Notification: Performance of NFPackage.collectConstants: time 1.049e-05/0.003855, allocations: 4 kB / 24.69 MB, free: 2.961 MB / 13.93 MB Notification: Performance of NFFlatten.collectFunctions: time 7.251e-05/0.003934, allocations: 15.98 kB / 24.7 MB, free: 2.945 MB / 13.93 MB Notification: Performance of NFScalarize.scalarize: time 1.656e-05/0.003959, allocations: 7.922 kB / 24.71 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFVerifyModel.verify: time 1.879e-05/0.003984, allocations: 33.7 kB / 24.74 MB, free: 2.898 MB / 13.93 MB Notification: Performance of NFConvertDAE.convert: time 8.423e-05/0.004075, allocations: 23.95 kB / 24.77 MB, free: 2.875 MB / 13.93 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.004087, allocations: 0 / 24.77 MB, free: 2.875 MB / 13.93 MB Notification: Performance of FrontEnd: time 6.41e-07/0.004097, allocations: 4 kB / 24.77 MB, free: 2.871 MB / 13.93 MB Notification: Performance of Transformations before backend: time 3.657e-06/0.004113, allocations: 0 / 24.77 MB, free: 2.871 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003213/0.004441, allocations: 334.5 kB / 25.1 MB, free: 2.496 MB / 13.93 MB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.004492, allocations: 16.28 kB / 25.11 MB, free: 2.48 MB / 13.93 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.884e-05/0.004537, allocations: 7.172 kB / 25.12 MB, free: 2.477 MB / 13.93 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001412/0.004685, allocations: 184.3 kB / 25.3 MB, free: 2.258 MB / 13.93 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.422e-05/0.00472, allocations: 5.562 kB / 25.31 MB, free: 2.254 MB / 13.93 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.016e-05/0.004747, allocations: 4.344 kB / 25.31 MB, free: 2.25 MB / 13.93 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001799/0.004933, allocations: 77.62 kB / 25.39 MB, free: 2.156 MB / 13.93 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.004954, allocations: 4.172 kB / 25.39 MB, free: 2.152 MB / 13.93 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.004974, allocations: 352 / 25.39 MB, free: 2.152 MB / 13.93 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-06/0.004989, allocations: 7.953 kB / 25.4 MB, free: 2.145 MB / 13.93 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000108/0.005104, allocations: 31.91 kB / 25.43 MB, free: 2.113 MB / 13.93 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004179/0.005531, allocations: 0.5737 MB / 26 MB, free: 1.445 MB / 13.93 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001303/0.005674, allocations: 67.84 kB / 26.07 MB, free: 1.352 MB / 13.93 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.441e-05/0.005751, allocations: 38.56 kB / 26.11 MB, free: 1.305 MB / 13.93 MB Notification: Performance of preOpt evalFunc (simulation): time 4.996e-05/0.005811, allocations: 81.11 kB / 26.19 MB, free: 1.207 MB / 13.93 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.616e-05/0.005847, allocations: 42.52 kB / 26.23 MB, free: 1.156 MB / 13.93 MB Notification: Performance of pre-optimization done (n=4): time 1.523e-06/0.005857, allocations: 0 / 26.23 MB, free: 1.156 MB / 13.93 MB Notification: Performance of matching and sorting (n=4): time 0.0003209/0.006186, allocations: 88.86 kB / 26.31 MB, free: 1.066 MB / 13.93 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.945e-05/0.006236, allocations: 136.4 kB / 26.45 MB, free: 0.9023 MB / 13.93 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.715e-05/0.006323, allocations: 109.8 kB / 26.55 MB, free: 0.7852 MB / 13.93 MB Notification: Performance of collectPreVariables (initialization): time 1.057e-05/0.006343, allocations: 25.7 kB / 26.58 MB, free: 0.7539 MB / 13.93 MB Notification: Performance of collectInitialEqns (initialization): time 3.691e-05/0.006388, allocations: 92.05 kB / 26.67 MB, free: 0.6602 MB / 13.93 MB Notification: Performance of collectInitialBindings (initialization): time 1.532e-05/0.006412, allocations: 11.84 kB / 26.68 MB, free: 0.6484 MB / 13.93 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.118e-06/0.006424, allocations: 4 kB / 26.68 MB, free: 0.6445 MB / 13.93 MB Notification: Performance of setup shared object (initialization): time 5.419e-05/0.006485, allocations: 318.8 kB / 27 MB, free: 332 kB / 13.93 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.066e-05/0.006555, allocations: 20 kB / 27.02 MB, free: 312 kB / 13.93 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.328e-05/0.00664, allocations: 53.06 kB / 27.07 MB, free: 244 kB / 13.93 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.826e-05/0.006718, allocations: 24.02 kB / 27.09 MB, free: 220 kB / 13.93 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.00673, allocations: 0 / 27.09 MB, free: 220 kB / 13.93 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001801/0.006917, allocations: 90.2 kB / 27.18 MB, free: 124 kB / 13.93 MB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.006941, allocations: 7.953 kB / 27.19 MB, free: 116 kB / 13.93 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.006954, allocations: 0 / 27.19 MB, free: 116 kB / 13.93 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.006972, allocations: 4 kB / 27.19 MB, free: 112 kB / 13.93 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.222e-05/0.007061, allocations: 12.08 kB / 27.2 MB, free: 100 kB / 13.93 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.007079, allocations: 8 kB / 27.21 MB, free: 92 kB / 13.93 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.251e-05/0.007158, allocations: 11.98 kB / 27.22 MB, free: 80 kB / 13.93 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.463e-05/0.00718, allocations: 4.156 kB / 27.23 MB, free: 76 kB / 13.93 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 2 (P1.feeding,P1.emptying) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * 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.000122/0.007309, allocations: 120.2 kB / 27.34 MB, free: 4.594 MB / 18.57 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.169e-05/0.007399, allocations: 12.34 kB / 27.36 MB, free: 4.582 MB / 18.57 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.788e-05/0.007487, allocations: 15.58 kB / 27.37 MB, free: 4.562 MB / 18.57 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.571e-06/0.007502, allocations: 4 kB / 27.37 MB, free: 4.559 MB / 18.57 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.007517, allocations: 4 kB / 27.38 MB, free: 4.555 MB / 18.57 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.007528, allocations: 0 / 27.38 MB, free: 4.555 MB / 18.57 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004549/0.007989, allocations: 171.2 kB / 27.55 MB, free: 4.34 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.008004, allocations: 0 / 27.55 MB, free: 4.34 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.257e-05/0.008074, allocations: 4 kB / 27.55 MB, free: 4.336 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.663e-06/0.00809, allocations: 4 kB / 27.55 MB, free: 4.332 MB / 18.57 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.991e-05/0.008127, allocations: 0 / 27.55 MB, free: 4.332 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.621e-06/0.008139, allocations: 3.953 kB / 27.56 MB, free: 4.328 MB / 18.57 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.216e-06/0.008154, allocations: 11.97 kB / 27.57 MB, free: 4.316 MB / 18.57 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003712/0.008533, allocations: 326 kB / 27.89 MB, free: 3.98 MB / 18.57 MB Notification: Performance of postOpt removeConstants (simulation): time 5.21e-05/0.008599, allocations: 90.34 kB / 27.98 MB, free: 3.875 MB / 18.57 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.247e-05/0.008631, allocations: 4 kB / 27.98 MB, free: 3.871 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000217/0.008855, allocations: 16.06 kB / 28 MB, free: 3.855 MB / 18.57 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.089e-05/0.008907, allocations: 7.938 kB / 28 MB, free: 3.848 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.246e-06/0.008924, allocations: 4 kB / 28.01 MB, free: 3.844 MB / 18.57 MB Notification: Performance of sorting global known variables: time 5.764e-05/0.008988, allocations: 87.27 kB / 28.09 MB, free: 3.758 MB / 18.57 MB Notification: Performance of sort global known variables: time 1.91e-07/0.009, allocations: 4 kB / 28.1 MB, free: 3.754 MB / 18.57 MB Notification: Performance of remove unused functions: time 0.0004589/0.009466, allocations: 8 kB / 28.1 MB, free: 3.746 MB / 18.57 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (P1.t_) * Number of discrete variables: 2 (P1.feeding,P1.emptying) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * 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.0001476/0.009624, allocations: 103.6 kB / 28.21 MB, free: 3.637 MB / 18.57 MB Notification: Performance of simCode: created initialization part: time 0.0002067/0.009844, allocations: 47.91 kB / 28.25 MB, free: 3.59 MB / 18.57 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.009859, allocations: 0 / 28.25 MB, free: 3.59 MB / 18.57 MB Notification: Performance of simCode: created simulation system equations: time 7.466e-05/0.009941, allocations: 23.92 kB / 28.28 MB, free: 3.566 MB / 18.57 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005919/0.01054, allocations: 12 kB / 28.29 MB, free: 3.555 MB / 18.57 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005161/0.01107, allocations: 197.4 kB / 28.48 MB, free: 3.332 MB / 18.57 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003229/0.01141, allocations: 0.6811 MB / 29.16 MB, free: 2.625 MB / 18.57 MB Notification: Performance of simCode: alias equations: time 0.0001125/0.01153, allocations: 45.22 kB / 29.21 MB, free: 2.574 MB / 18.57 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.172e-05/0.01159, allocations: 23.41 kB / 29.23 MB, free: 2.551 MB / 18.57 MB Notification: Performance of SimCode: time 3.01e-07/0.0116, allocations: 0 / 29.23 MB, free: 2.551 MB / 18.57 MB Notification: Performance of Templates: time 0.003549/0.01516, allocations: 0.7029 MB / 29.93 MB, free: 1.855 MB / 18.57 MB make -j1 -f ConPNlib_ConPNlib.Examples.Test1a.makefile (rm -f ConPNlib_ConPNlib.Examples.Test1a.pipe ; mkfifo ConPNlib_ConPNlib.Examples.Test1a.pipe ; head -c 1048576 < ConPNlib_ConPNlib.Examples.Test1a.pipe >> ../files/ConPNlib_ConPNlib.Examples.Test1a.sim & ./ConPNlib_ConPNlib.Examples.Test1a -abortSlowSimulation -alarm=480 -lv LOG_STATS > ConPNlib_ConPNlib.Examples.Test1a.pipe 2>&1)