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.01076/0.01076, allocations: 1.368 MB / 16.62 MB, free: 5.098 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 2.519e-05/2.539e-05, allocations: 4 kB / 23.66 MB, free: 3.77 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0008507/0.0009, allocations: 355.7 kB / 24.01 MB, free: 3.469 MB / 13.93 MB Notification: Performance of NFInst.instantiate(ConPNlib.Examples.Test1a): time 0.0007324/0.001648, allocations: 469.2 kB / 24.47 MB, free: 3.012 MB / 13.93 MB Notification: Performance of NFInst.instExpressions: time 0.0008028/0.002468, allocations: 462.5 kB / 24.92 MB, free: 2.559 MB / 13.93 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001125/0.002596, allocations: 3.938 kB / 24.92 MB, free: 2.555 MB / 13.93 MB Notification: Performance of NFTyping.typeComponents: time 0.0001645/0.00277, allocations: 16.5 kB / 24.94 MB, free: 2.539 MB / 13.93 MB Notification: Performance of NFTyping.typeBindings: time 0.0005202/0.003298, allocations: 149.2 kB / 25.08 MB, free: 2.395 MB / 13.93 MB Notification: Performance of NFTyping.typeClassSections: time 3.133e-05/0.003341, allocations: 0 / 25.08 MB, free: 2.395 MB / 13.93 MB Notification: Performance of NFFlatten.flatten: time 9.679e-05/0.003447, allocations: 65.88 kB / 25.15 MB, free: 2.332 MB / 13.93 MB Notification: Performance of NFFlatten.resolveConnections: time 5.252e-05/0.003507, allocations: 4.766 kB / 25.15 MB, free: 2.324 MB / 13.93 MB Notification: Performance of NFEvalConstants.evaluate: time 4.406e-05/0.003559, allocations: 31.8 kB / 25.18 MB, free: 2.293 MB / 13.93 MB Notification: Performance of NFSimplifyModel.simplify: time 7.134e-05/0.003637, allocations: 19.86 kB / 25.2 MB, free: 2.273 MB / 13.93 MB Notification: Performance of NFPackage.collectConstants: time 1.051e-05/0.003654, allocations: 3.344 kB / 25.21 MB, free: 2.273 MB / 13.93 MB Notification: Performance of NFFlatten.collectFunctions: time 8.272e-05/0.003742, allocations: 23.98 kB / 25.23 MB, free: 2.25 MB / 13.93 MB Notification: Performance of NFScalarize.scalarize: time 2.423e-05/0.003772, allocations: 7.922 kB / 25.24 MB, free: 2.242 MB / 13.93 MB Notification: Performance of NFVerifyModel.verify: time 2.587e-05/0.003804, allocations: 19.86 kB / 25.26 MB, free: 2.223 MB / 13.93 MB Notification: Performance of NFConvertDAE.convert: time 0.0001067/0.003916, allocations: 35.84 kB / 25.29 MB, free: 2.188 MB / 13.93 MB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.003924, allocations: 0 / 25.29 MB, free: 2.188 MB / 13.93 MB Notification: Performance of FrontEnd: time 5.31e-07/0.00393, allocations: 0 / 25.29 MB, free: 2.188 MB / 13.93 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.003939, allocations: 0 / 25.29 MB, free: 2.188 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.0003343/0.004278, allocations: 346.5 kB / 25.63 MB, free: 1.801 MB / 13.93 MB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.004326, allocations: 8.312 kB / 25.64 MB, free: 1.793 MB / 13.93 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.603e-05/0.004369, allocations: 5.594 kB / 25.64 MB, free: 1.789 MB / 13.93 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001335/0.004508, allocations: 181.8 kB / 25.82 MB, free: 1.574 MB / 13.93 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.373e-05/0.004539, allocations: 4.375 kB / 25.83 MB, free: 1.57 MB / 13.93 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.3e-05/0.004567, allocations: 2.625 kB / 25.83 MB, free: 1.57 MB / 13.93 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001896/0.004762, allocations: 86.8 kB / 25.91 MB, free: 1.469 MB / 13.93 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.004783, allocations: 192 / 25.91 MB, free: 1.469 MB / 13.93 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.44e-05/0.004803, allocations: 7.938 kB / 25.92 MB, free: 1.461 MB / 13.93 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.004814, allocations: 1.781 kB / 25.92 MB, free: 1.461 MB / 13.93 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.692e-05/0.004906, allocations: 31.91 kB / 25.95 MB, free: 1.43 MB / 13.93 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004117/0.005325, allocations: 0.5698 MB / 26.52 MB, free: 0.7656 MB / 13.93 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001077/0.005444, allocations: 79.72 kB / 26.6 MB, free: 0.6602 MB / 13.93 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.767e-05/0.0055, allocations: 34.62 kB / 26.64 MB, free: 0.6172 MB / 13.93 MB Notification: Performance of preOpt evalFunc (simulation): time 4.914e-05/0.005557, allocations: 81.11 kB / 26.71 MB, free: 0.5195 MB / 13.93 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.166e-05/0.005586, allocations: 34.56 kB / 26.75 MB, free: 488 kB / 13.93 MB Notification: Performance of pre-optimization done (n=4): time 1.593e-06/0.005594, allocations: 0 / 26.75 MB, free: 488 kB / 13.93 MB Notification: Performance of matching and sorting (n=4): time 0.0002684/0.005867, allocations: 93.62 kB / 26.84 MB, free: 388 kB / 13.93 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.728e-05/0.005924, allocations: 132.5 kB / 26.97 MB, free: 224 kB / 13.93 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.187e-05/0.006002, allocations: 117.5 kB / 27.08 MB, free: 96 kB / 13.93 MB Notification: Performance of collectPreVariables (initialization): time 9.217e-06/0.006018, allocations: 29.64 kB / 27.11 MB, free: 60 kB / 13.93 MB Notification: Performance of collectInitialEqns (initialization): time 6.012e-05/0.006083, allocations: 88.05 kB / 27.2 MB, free: 4.641 MB / 18.6 MB Notification: Performance of collectInitialBindings (initialization): time 2.094e-05/0.00611, allocations: 15.83 kB / 27.21 MB, free: 4.625 MB / 18.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.081e-05/0.006146, allocations: 13.72 kB / 27.23 MB, free: 4.605 MB / 18.6 MB Notification: Performance of setup shared object (initialization): time 0.0001077/0.006261, allocations: 319 kB / 27.54 MB, free: 4.285 MB / 18.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.083e-05/0.006318, allocations: 15.98 kB / 27.55 MB, free: 4.27 MB / 18.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.161e-05/0.006397, allocations: 52.22 kB / 27.61 MB, free: 4.203 MB / 18.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00011/0.006514, allocations: 63.45 kB / 27.67 MB, free: 4.129 MB / 18.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.006527, allocations: 3.938 kB / 27.67 MB, free: 4.125 MB / 18.6 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001783/0.00671, allocations: 94.09 kB / 27.76 MB, free: 4.027 MB / 18.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/0.006741, allocations: 8.094 kB / 27.77 MB, free: 4.02 MB / 18.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.006755, allocations: 1.812 kB / 27.77 MB, free: 4.02 MB / 18.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.006776, allocations: 4 kB / 27.78 MB, free: 4.016 MB / 18.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.677e-05/0.006869, allocations: 11.98 kB / 27.79 MB, free: 4.004 MB / 18.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.006884, allocations: 0 / 27.79 MB, free: 4.004 MB / 18.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.512e-05/0.006944, allocations: 8 kB / 27.8 MB, free: 3.996 MB / 18.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.158e-05/0.006972, allocations: 11.98 kB / 27.81 MB, free: 3.984 MB / 18.6 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 0.0001004/0.007078, allocations: 118.5 kB / 27.92 MB, free: 3.859 MB / 18.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.756e-05/0.007153, allocations: 16.66 kB / 27.94 MB, free: 3.844 MB / 18.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.386e-05/0.007233, allocations: 3.891 kB / 27.94 MB, free: 3.832 MB / 18.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.007246, allocations: 4 kB / 27.95 MB, free: 3.828 MB / 18.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.007259, allocations: 3.984 kB / 27.95 MB, free: 3.824 MB / 18.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.007266, allocations: 0 / 27.95 MB, free: 3.824 MB / 18.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003543/0.007625, allocations: 173.6 kB / 28.12 MB, free: 3.605 MB / 18.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.007638, allocations: 4 kB / 28.13 MB, free: 3.602 MB / 18.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.207e-05/0.007684, allocations: 4 kB / 28.13 MB, free: 3.598 MB / 18.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.641e-06/0.007698, allocations: 5.594 kB / 28.13 MB, free: 3.594 MB / 18.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.007716, allocations: 8 kB / 28.14 MB, free: 3.586 MB / 18.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.007723, allocations: 0 / 28.14 MB, free: 3.586 MB / 18.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.007728, allocations: 160 / 28.14 MB, free: 3.586 MB / 18.6 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003097/0.008042, allocations: 341.9 kB / 28.48 MB, free: 3.234 MB / 18.6 MB Notification: Performance of postOpt removeConstants (simulation): time 5.824e-05/0.00811, allocations: 81.14 kB / 28.56 MB, free: 3.137 MB / 18.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.791e-05/0.008134, allocations: 3.984 kB / 28.56 MB, free: 3.133 MB / 18.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001229/0.008262, allocations: 4 kB / 28.56 MB, free: 3.129 MB / 18.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.885e-05/0.008309, allocations: 8 kB / 28.57 MB, free: 3.121 MB / 18.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.457e-06/0.008325, allocations: 11.17 kB / 28.58 MB, free: 3.113 MB / 18.6 MB Notification: Performance of sorting global known variables: time 5.302e-05/0.008384, allocations: 87.22 kB / 28.67 MB, free: 3.027 MB / 18.6 MB Notification: Performance of sort global known variables: time 1.1e-07/0.008391, allocations: 0 / 28.67 MB, free: 3.027 MB / 18.6 MB Notification: Performance of remove unused functions: time 0.0003144/0.008713, allocations: 16.06 kB / 28.68 MB, free: 3.012 MB / 18.6 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.0001485/0.008869, allocations: 103.8 kB / 28.78 MB, free: 2.902 MB / 18.6 MB Notification: Performance of simCode: created initialization part: time 0.0001641/0.009041, allocations: 47.91 kB / 28.83 MB, free: 2.855 MB / 18.6 MB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.009053, allocations: 0 / 28.83 MB, free: 2.855 MB / 18.6 MB Notification: Performance of simCode: created simulation system equations: time 5.272e-05/0.009111, allocations: 24.19 kB / 28.85 MB, free: 2.832 MB / 18.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003836/0.009502, allocations: 15.92 kB / 28.87 MB, free: 2.816 MB / 18.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004729/0.009988, allocations: 192.5 kB / 29.06 MB, free: 2.598 MB / 18.6 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003523/0.01035, allocations: 0.6852 MB / 29.74 MB, free: 1.887 MB / 18.6 MB Notification: Performance of simCode: alias equations: time 8.534e-05/0.01045, allocations: 40.19 kB / 29.78 MB, free: 1.844 MB / 18.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.439e-05/0.0105, allocations: 27.41 kB / 29.81 MB, free: 1.816 MB / 18.6 MB Notification: Performance of SimCode: time 7.21e-07/0.01051, allocations: 0 / 29.81 MB, free: 1.816 MB / 18.6 MB Notification: Performance of Templates: time 0.00325/0.01376, allocations: 0.7508 MB / 30.56 MB, free: 1.07 MB / 18.6 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)