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.009564/0.009564, allocations: 1.369 MB / 16.64 MB, free: 5.164 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.527e-05/1.538e-05, allocations: 0 / 23.7 MB, free: 3.734 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0006304/0.0006662, allocations: 365.1 kB / 24.06 MB, free: 3.418 MB / 13.93 MB Notification: Performance of NFInst.instantiate(ConPNlib.Examples.Test1a): time 0.0006213/0.0013, allocations: 462.2 kB / 24.51 MB, free: 2.969 MB / 13.93 MB Notification: Performance of NFInst.instExpressions: time 0.0006671/0.001995, allocations: 442.4 kB / 24.94 MB, free: 2.535 MB / 13.93 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.114e-05/0.002079, allocations: 4 kB / 24.95 MB, free: 2.531 MB / 13.93 MB Notification: Performance of NFTyping.typeComponents: time 0.0001144/0.002203, allocations: 19.86 kB / 24.97 MB, free: 2.512 MB / 13.93 MB Notification: Performance of NFTyping.typeBindings: time 0.0004389/0.00265, allocations: 144.9 kB / 25.11 MB, free: 2.371 MB / 13.93 MB Notification: Performance of NFTyping.typeClassSections: time 2.841e-05/0.002689, allocations: 4 kB / 25.11 MB, free: 2.367 MB / 13.93 MB Notification: Performance of NFFlatten.flatten: time 7.906e-05/0.002775, allocations: 68.48 kB / 25.18 MB, free: 2.301 MB / 13.93 MB Notification: Performance of NFFlatten.resolveConnections: time 4.012e-05/0.002822, allocations: 5.578 kB / 25.19 MB, free: 2.293 MB / 13.93 MB Notification: Performance of NFEvalConstants.evaluate: time 3.37e-05/0.002861, allocations: 27.23 kB / 25.21 MB, free: 2.27 MB / 13.93 MB Notification: Performance of NFSimplifyModel.simplify: time 5.397e-05/0.002921, allocations: 23.78 kB / 25.24 MB, free: 2.246 MB / 13.93 MB Notification: Performance of NFPackage.collectConstants: time 9.107e-06/0.002935, allocations: 0 / 25.24 MB, free: 2.246 MB / 13.93 MB Notification: Performance of NFFlatten.collectFunctions: time 7.198e-05/0.003012, allocations: 23.98 kB / 25.26 MB, free: 2.223 MB / 13.93 MB Notification: Performance of NFScalarize.scalarize: time 2.212e-05/0.003041, allocations: 15.92 kB / 25.27 MB, free: 2.207 MB / 13.93 MB Notification: Performance of NFVerifyModel.verify: time 2.467e-05/0.003071, allocations: 29.64 kB / 25.3 MB, free: 2.172 MB / 13.93 MB Notification: Performance of NFConvertDAE.convert: time 9.53e-05/0.003171, allocations: 47.81 kB / 25.35 MB, free: 2.125 MB / 13.93 MB Notification: Performance of FrontEnd - DAE generated: time 1.884e-06/0.00318, allocations: 0 / 25.35 MB, free: 2.125 MB / 13.93 MB Notification: Performance of FrontEnd: time 7.92e-07/0.003186, allocations: 0 / 25.35 MB, free: 2.125 MB / 13.93 MB Notification: Performance of Transformations before backend: time 3.506e-06/0.003195, allocations: 4 kB / 25.35 MB, free: 2.121 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.0002777/0.003477, allocations: 330.5 kB / 25.68 MB, free: 1.75 MB / 13.93 MB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.003521, allocations: 12.31 kB / 25.69 MB, free: 1.738 MB / 13.93 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.469e-05/0.003561, allocations: 5.594 kB / 25.69 MB, free: 1.734 MB / 13.93 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001134/0.00368, allocations: 186.8 kB / 25.88 MB, free: 1.516 MB / 13.93 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.725e-05/0.003704, allocations: 384 / 25.88 MB, free: 1.516 MB / 13.93 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.858e-05/0.003727, allocations: 4.375 kB / 25.88 MB, free: 1.512 MB / 13.93 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001501/0.003883, allocations: 82.91 kB / 25.96 MB, free: 1.414 MB / 13.93 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.003901, allocations: 4.188 kB / 25.97 MB, free: 1.41 MB / 13.93 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.003917, allocations: 7.938 kB / 25.97 MB, free: 1.402 MB / 13.93 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.003926, allocations: 3.469 kB / 25.98 MB, free: 1.402 MB / 13.93 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.649e-05/0.004018, allocations: 30.17 kB / 26.01 MB, free: 1.375 MB / 13.93 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000336/0.004361, allocations: 0.5737 MB / 26.58 MB, free: 0.707 MB / 13.93 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001088/0.004481, allocations: 79.78 kB / 26.66 MB, free: 0.6016 MB / 13.93 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.879e-05/0.004539, allocations: 34.56 kB / 26.69 MB, free: 0.5586 MB / 13.93 MB Notification: Performance of preOpt evalFunc (simulation): time 4.388e-05/0.00459, allocations: 85.09 kB / 26.77 MB, free: 468 kB / 13.93 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.039e-05/0.004617, allocations: 38.55 kB / 26.81 MB, free: 420 kB / 13.93 MB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.004624, allocations: 0 / 26.81 MB, free: 420 kB / 13.93 MB Notification: Performance of matching and sorting (n=4): time 0.0002662/0.004895, allocations: 85.52 kB / 26.9 MB, free: 328 kB / 13.93 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.188e-05/0.004947, allocations: 136.5 kB / 27.03 MB, free: 160 kB / 13.93 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.687e-05/0.00502, allocations: 110 kB / 27.14 MB, free: 36 kB / 13.93 MB Notification: Performance of collectPreVariables (initialization): time 8.556e-06/0.005035, allocations: 29.64 kB / 27.17 MB, free: 0 / 13.93 MB Notification: Performance of collectInitialEqns (initialization): time 6.795e-05/0.005108, allocations: 96.41 kB / 27.26 MB, free: 4.586 MB / 18.61 MB Notification: Performance of collectInitialBindings (initialization): time 1.746e-05/0.005134, allocations: 15.84 kB / 27.28 MB, free: 4.57 MB / 18.61 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.968e-06/0.005143, allocations: 0 / 27.28 MB, free: 4.57 MB / 18.61 MB Notification: Performance of setup shared object (initialization): time 0.0001005/0.005248, allocations: 314.8 kB / 27.58 MB, free: 4.254 MB / 18.61 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.456e-05/0.005309, allocations: 15.98 kB / 27.6 MB, free: 4.238 MB / 18.61 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.408e-05/0.005425, allocations: 52.28 kB / 27.65 MB, free: 4.172 MB / 18.61 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001118/0.005547, allocations: 63.38 kB / 27.71 MB, free: 4.098 MB / 18.61 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.1e-06/0.005561, allocations: 7.938 kB / 27.72 MB, free: 4.09 MB / 18.61 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001685/0.005734, allocations: 85.58 kB / 27.8 MB, free: 4 MB / 18.61 MB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.005759, allocations: 8 kB / 27.81 MB, free: 3.992 MB / 18.61 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.005769, allocations: 3.938 kB / 27.81 MB, free: 3.988 MB / 18.61 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.005786, allocations: 0 / 27.81 MB, free: 3.988 MB / 18.61 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.93e-05/0.00588, allocations: 17.23 kB / 27.83 MB, free: 3.973 MB / 18.61 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.005893, allocations: 0 / 27.83 MB, free: 3.973 MB / 18.61 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.244e-05/0.00596, allocations: 15.98 kB / 27.85 MB, free: 3.957 MB / 18.61 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.386e-05/0.005982, allocations: 5.781 kB / 27.85 MB, free: 3.953 MB / 18.61 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.954e-05/0.006068, allocations: 122.6 kB / 27.97 MB, free: 3.824 MB / 18.61 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.803e-05/0.006131, allocations: 3.906 kB / 27.98 MB, free: 3.82 MB / 18.61 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.717e-05/0.006193, allocations: 13.75 kB / 27.99 MB, free: 3.801 MB / 18.61 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.006204, allocations: 0 / 27.99 MB, free: 3.801 MB / 18.61 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.006214, allocations: 4 kB / 27.99 MB, free: 3.797 MB / 18.61 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.006221, allocations: 0 / 27.99 MB, free: 3.797 MB / 18.61 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003031/0.006529, allocations: 169.6 kB / 28.16 MB, free: 3.582 MB / 18.61 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.006543, allocations: 4 kB / 28.16 MB, free: 3.578 MB / 18.61 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.786e-05/0.006595, allocations: 11.94 kB / 28.17 MB, free: 3.566 MB / 18.61 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.006607, allocations: 4 kB / 28.18 MB, free: 3.562 MB / 18.61 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.006622, allocations: 4 kB / 28.18 MB, free: 3.559 MB / 18.61 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.00663, allocations: 3.984 kB / 28.19 MB, free: 3.555 MB / 18.61 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.006636, allocations: 160 / 28.19 MB, free: 3.555 MB / 18.61 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003352/0.006975, allocations: 333.9 kB / 28.51 MB, free: 3.211 MB / 18.61 MB Notification: Performance of postOpt removeConstants (simulation): time 4.663e-05/0.007033, allocations: 81.09 kB / 28.59 MB, free: 3.113 MB / 18.61 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.056e-05/0.00706, allocations: 11.97 kB / 28.6 MB, free: 3.102 MB / 18.61 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001305/0.007196, allocations: 4 kB / 28.61 MB, free: 3.098 MB / 18.61 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.52e-05/0.007238, allocations: 7.984 kB / 28.62 MB, free: 3.09 MB / 18.61 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.975e-06/0.007254, allocations: 3.188 kB / 28.62 MB, free: 3.09 MB / 18.61 MB Notification: Performance of sorting global known variables: time 5.156e-05/0.00731, allocations: 95.27 kB / 28.71 MB, free: 2.996 MB / 18.61 MB Notification: Performance of sort global known variables: time 1.4e-07/0.007326, allocations: 4 kB / 28.72 MB, free: 2.992 MB / 18.61 MB Notification: Performance of remove unused functions: time 0.000293/0.007625, allocations: 12 kB / 28.73 MB, free: 2.98 MB / 18.61 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 (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.0001052/0.007736, allocations: 99.84 kB / 28.82 MB, free: 2.875 MB / 18.61 MB Notification: Performance of simCode: created initialization part: time 0.0001515/0.007895, allocations: 47.98 kB / 28.87 MB, free: 2.828 MB / 18.61 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.007907, allocations: 0 / 28.87 MB, free: 2.828 MB / 18.61 MB Notification: Performance of simCode: created simulation system equations: time 5.673e-05/0.00797, allocations: 28.11 kB / 28.9 MB, free: 2.801 MB / 18.61 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003888/0.008367, allocations: 15.94 kB / 28.91 MB, free: 2.785 MB / 18.61 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003944/0.00877, allocations: 193.2 kB / 29.1 MB, free: 2.566 MB / 18.61 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002572/0.009041, allocations: 0.6812 MB / 29.78 MB, free: 1.859 MB / 18.61 MB Notification: Performance of simCode: alias equations: time 7.376e-05/0.009121, allocations: 40.2 kB / 29.82 MB, free: 1.816 MB / 18.61 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.855e-05/0.009165, allocations: 27.34 kB / 29.85 MB, free: 1.789 MB / 18.61 MB Notification: Performance of SimCode: time 4.81e-07/0.009171, allocations: 0 / 29.85 MB, free: 1.789 MB / 18.61 MB Notification: Performance of Templates: time 0.002656/0.01183, allocations: 0.7483 MB / 30.6 MB, free: 1.047 MB / 18.61 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)