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.006149/0.006149, allocations: 1.363 MB / 17.31 MB, free: 4.5 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.147e-05/1.15e-05, allocations: 0 / 24.32 MB, free: 3.129 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0005514/0.0005788, allocations: 352.4 kB / 24.67 MB, free: 2.805 MB / 13.93 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.00405/0.004643, allocations: 3.811 MB / 28.48 MB, free: 3.633 MB / 18.57 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001161/0.004784, allocations: 51.86 kB / 28.53 MB, free: 3.586 MB / 18.57 MB Notification: Performance of FrontEnd - DAE generated: time 0.0105/0.0153, allocations: 2.857 MB / 31.39 MB, free: 0.7109 MB / 18.57 MB Notification: Performance of FrontEnd: time 4.458e-06/0.01534, allocations: 0 / 31.39 MB, free: 0.7109 MB / 18.57 MB Notification: Performance of Transformations before backend: time 1.417e-05/0.01537, allocations: 7.922 kB / 31.39 MB, free: 0.7031 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004675/0.01584, allocations: 379.2 kB / 31.77 MB, free: 292 kB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 4.698e-05/0.0159, allocations: 12.31 kB / 31.78 MB, free: 280 kB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.636e-05/0.01594, allocations: 0.9375 kB / 31.78 MB, free: 280 kB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002155/0.01617, allocations: 180.3 kB / 31.95 MB, free: 60 kB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.614e-05/0.0162, allocations: 4.375 kB / 31.96 MB, free: 56 kB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.879e-05/0.01623, allocations: 8.375 kB / 31.97 MB, free: 48 kB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00708/0.02331, allocations: 66.94 kB / 32.03 MB, free: 5.945 MB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.02334, allocations: 4.312 kB / 32.04 MB, free: 5.945 MB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.02336, allocations: 3.438 kB / 32.04 MB, free: 5.945 MB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.02337, allocations: 0 / 32.04 MB, free: 5.945 MB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001087/0.02349, allocations: 28.56 kB / 32.07 MB, free: 5.945 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003494/0.02384, allocations: 432.6 kB / 32.49 MB, free: 5.516 MB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 8.758e-05/0.02394, allocations: 35.89 kB / 32.52 MB, free: 5.492 MB / 18.57 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.685e-05/0.02399, allocations: 21.78 kB / 32.55 MB, free: 5.484 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 8.055e-06/0.02401, allocations: 4.125 kB / 32.55 MB, free: 5.484 MB / 18.57 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.554e-05/0.02403, allocations: 32.22 kB / 32.58 MB, free: 5.445 MB / 18.57 MB Notification: Performance of pre-optimization done (n=2): time 2.505e-06/0.02404, allocations: 1.406 kB / 32.58 MB, free: 5.445 MB / 18.57 MB Notification: Performance of matching and sorting (n=2): time 0.0002538/0.02431, allocations: 70.84 kB / 32.65 MB, free: 5.414 MB / 18.57 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.702e-05/0.02434, allocations: 78.11 kB / 32.73 MB, free: 5.32 MB / 18.57 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.458e-05/0.02444, allocations: 123.9 kB / 32.85 MB, free: 5.219 MB / 18.57 MB Notification: Performance of collectPreVariables (initialization): time 9.889e-06/0.02446, allocations: 27.73 kB / 32.88 MB, free: 5.188 MB / 18.57 MB Notification: Performance of collectInitialEqns (initialization): time 3.715e-05/0.0245, allocations: 96.92 kB / 32.97 MB, free: 5.102 MB / 18.57 MB Notification: Performance of collectInitialBindings (initialization): time 1.431e-05/0.02453, allocations: 12.7 kB / 32.98 MB, free: 5.098 MB / 18.57 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.907e-06/0.02454, allocations: 5.531 kB / 32.99 MB, free: 5.098 MB / 18.57 MB Notification: Performance of setup shared object (initialization): time 4.59e-05/0.02459, allocations: 319.7 kB / 33.3 MB, free: 4.785 MB / 18.57 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.66e-05/0.02466, allocations: 12.59 kB / 33.31 MB, free: 4.785 MB / 18.57 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.219e-05/0.02474, allocations: 56.89 kB / 33.37 MB, free: 4.73 MB / 18.57 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001262/0.02488, allocations: 75.62 kB / 33.44 MB, free: 4.684 MB / 18.57 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.02489, allocations: 7.75 kB / 33.45 MB, free: 4.684 MB / 18.57 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001939/0.02509, allocations: 85.09 kB / 33.53 MB, free: 4.652 MB / 18.57 MB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.02512, allocations: 5.625 kB / 33.54 MB, free: 4.652 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.02514, allocations: 2.406 kB / 33.54 MB, free: 4.652 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.02516, allocations: 4.438 kB / 33.55 MB, free: 4.652 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.296e-05/0.02524, allocations: 14.8 kB / 33.56 MB, free: 4.652 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.02526, allocations: 2.219 kB / 33.56 MB, free: 4.652 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.012e-05/0.02535, allocations: 16.95 kB / 33.58 MB, free: 4.648 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/0.02537, allocations: 7.875 kB / 33.59 MB, free: 4.645 MB / 18.57 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 2 (P1.emptying,P1.feeding) * 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 6.015e-05/0.02544, allocations: 113.6 kB / 33.7 MB, free: 4.527 MB / 18.57 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.89e-05/0.02549, allocations: 11.52 kB / 33.71 MB, free: 4.523 MB / 18.57 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.687e-05/0.02552, allocations: 6.672 kB / 33.72 MB, free: 4.512 MB / 18.57 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.02553, allocations: 0 / 33.72 MB, free: 4.512 MB / 18.57 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.02555, allocations: 1.531 kB / 33.72 MB, free: 4.512 MB / 18.57 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.02556, allocations: 3.938 kB / 33.72 MB, free: 4.508 MB / 18.57 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002078/0.02577, allocations: 167.2 kB / 33.88 MB, free: 4.32 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.02579, allocations: 1.562 kB / 33.89 MB, free: 4.32 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.727e-05/0.02585, allocations: 12.42 kB / 33.9 MB, free: 4.316 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.02587, allocations: 2.438 kB / 33.9 MB, free: 4.316 MB / 18.57 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.02588, allocations: 1.531 kB / 33.9 MB, free: 4.316 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.02589, allocations: 0.8125 kB / 33.9 MB, free: 4.316 MB / 18.57 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.0259, allocations: 1.641 kB / 33.9 MB, free: 4.316 MB / 18.57 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002208/0.02613, allocations: 172.2 kB / 34.07 MB, free: 4.172 MB / 18.57 MB Notification: Performance of postOpt removeConstants (simulation): time 2.342e-05/0.02617, allocations: 79.23 kB / 34.15 MB, free: 4.078 MB / 18.57 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.93e-05/0.0262, allocations: 3.453 kB / 34.15 MB, free: 4.078 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.02631, allocations: 6.219 kB / 34.16 MB, free: 4.078 MB / 18.57 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.045e-05/0.02635, allocations: 7.594 kB / 34.17 MB, free: 4.074 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.898e-06/0.02636, allocations: 4.094 kB / 34.17 MB, free: 4.074 MB / 18.57 MB Notification: Performance of sorting global known variables: time 4.276e-05/0.02641, allocations: 91.12 kB / 34.26 MB, free: 4 MB / 18.57 MB Notification: Performance of sort global known variables: time 2.8e-07/0.02642, allocations: 0 / 34.26 MB, free: 4 MB / 18.57 MB Notification: Performance of remove unused functions: time 0.0003871/0.02682, allocations: 15.19 kB / 34.27 MB, free: 3.996 MB / 18.57 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (P1.t_) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 8.81e-05/0.02692, allocations: 92.17 kB / 34.36 MB, free: 3.91 MB / 18.57 MB Notification: Performance of simCode: created initialization part: time 0.0001645/0.02709, allocations: 36.91 kB / 34.4 MB, free: 3.906 MB / 18.57 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.02711, allocations: 1.219 kB / 34.4 MB, free: 3.906 MB / 18.57 MB Notification: Performance of simCode: created simulation system equations: time 5.328e-05/0.02717, allocations: 14.73 kB / 34.42 MB, free: 3.902 MB / 18.57 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003822/0.02756, allocations: 18.69 kB / 34.43 MB, free: 3.902 MB / 18.57 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002662/0.02784, allocations: 142.3 kB / 34.57 MB, free: 3.773 MB / 18.57 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.513e-05/0.02795, allocations: 0.679 MB / 35.25 MB, free: 3.078 MB / 18.57 MB Notification: Performance of simCode: alias equations: time 3.833e-05/0.028, allocations: 8.234 kB / 35.26 MB, free: 3.07 MB / 18.57 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.704e-05/0.02802, allocations: 10.73 kB / 35.27 MB, free: 3.062 MB / 18.57 MB Notification: Performance of SimCode: time 3.11e-07/0.02803, allocations: 0 / 35.27 MB, free: 3.062 MB / 18.57 MB Notification: Performance of Templates: time 0.002843/0.03088, allocations: 0.524 MB / 35.79 MB, free: 3.023 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)