Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ConPNlib_ConPNlib.Examples.Test1a.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo", uses=false) Using package ConPNlib with version (/var/lib/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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo): time 0.01642/0.01642, allocations: 1.36 MB / 16.31 MB, free: 5.336 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.594e-05/1.597e-05, allocations: 0 / 23.22 MB, free: 4.055 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0006584/0.0006957, allocations: 362.7 kB / 23.57 MB, free: 3.902 MB / 13.93 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.004118/0.004828, allocations: 3.788 MB / 27.36 MB, free: 284 kB / 13.93 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001304/0.004999, allocations: 48.89 kB / 27.41 MB, free: 236 kB / 13.93 MB Notification: Performance of FrontEnd - DAE generated: time 0.01289/0.0179, allocations: 2.87 MB / 30.28 MB, free: 1.992 MB / 18.57 MB Notification: Performance of FrontEnd: time 2.365e-06/0.01794, allocations: 0 / 30.28 MB, free: 1.992 MB / 18.57 MB Notification: Performance of Transformations before backend: time 9.999e-06/0.01797, allocations: 4.062 kB / 30.28 MB, free: 1.988 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.000493/0.01847, allocations: 375.5 kB / 30.65 MB, free: 1.578 MB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.01852, allocations: 12.3 kB / 30.66 MB, free: 1.566 MB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.938e-05/0.01857, allocations: 8.844 kB / 30.67 MB, free: 1.559 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000259/0.01884, allocations: 184.8 kB / 30.85 MB, free: 1.34 MB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/0.01887, allocations: 352 / 30.85 MB, free: 1.34 MB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.583e-05/0.0189, allocations: 8.344 kB / 30.86 MB, free: 1.332 MB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002019/0.01911, allocations: 73.75 kB / 30.93 MB, free: 1.242 MB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.01914, allocations: 4 kB / 30.93 MB, free: 1.238 MB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.45e-05/0.01916, allocations: 3.953 kB / 30.94 MB, free: 1.234 MB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.348e-05/0.01918, allocations: 11.98 kB / 30.95 MB, free: 1.223 MB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001386/0.01933, allocations: 31.91 kB / 30.98 MB, free: 1.191 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005789/0.01992, allocations: 425.3 kB / 31.4 MB, free: 0.7188 MB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001539/0.02009, allocations: 38.52 kB / 31.43 MB, free: 0.6719 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 8.646e-06/0.02012, allocations: 1.312 kB / 31.43 MB, free: 0.6719 MB / 18.57 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.051e-05/0.02016, allocations: 38.5 kB / 31.47 MB, free: 0.625 MB / 18.57 MB Notification: Performance of pre-optimization done (n=2): time 1.623e-06/0.02017, allocations: 0 / 31.47 MB, free: 0.625 MB / 18.57 MB Notification: Performance of matching and sorting (n=2): time 0.0003019/0.02049, allocations: 69.64 kB / 31.54 MB, free: 0.5508 MB / 18.57 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.055e-05/0.02056, allocations: 77.11 kB / 31.62 MB, free: 468 kB / 18.57 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001054/0.02068, allocations: 105.2 kB / 31.72 MB, free: 356 kB / 18.57 MB Notification: Performance of collectPreVariables (initialization): time 2.23e-05/0.02072, allocations: 29.7 kB / 31.75 MB, free: 320 kB / 18.57 MB Notification: Performance of collectInitialEqns (initialization): time 5.946e-05/0.02078, allocations: 92.03 kB / 31.84 MB, free: 224 kB / 18.57 MB Notification: Performance of collectInitialBindings (initialization): time 2.583e-05/0.02082, allocations: 15.89 kB / 31.85 MB, free: 208 kB / 18.57 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.368e-06/0.02084, allocations: 4.125 kB / 31.86 MB, free: 204 kB / 18.57 MB Notification: Performance of setup shared object (initialization): time 0.01137/0.03221, allocations: 310.8 kB / 32.16 MB, free: 5.707 MB / 18.57 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001202/0.03236, allocations: 11.72 kB / 32.17 MB, free: 5.707 MB / 18.57 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001045/0.03248, allocations: 60.73 kB / 32.23 MB, free: 5.652 MB / 18.57 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.438e-05/0.03259, allocations: 24.34 kB / 32.25 MB, free: 5.652 MB / 18.57 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.0326, allocations: 0.9375 kB / 32.26 MB, free: 5.652 MB / 18.57 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002512/0.03286, allocations: 89.41 kB / 32.34 MB, free: 5.621 MB / 18.57 MB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.0329, allocations: 6.094 kB / 32.35 MB, free: 5.621 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.03291, allocations: 2.719 kB / 32.35 MB, free: 5.621 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.375e-05/0.03294, allocations: 4.328 kB / 32.36 MB, free: 5.621 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.156e-05/0.03304, allocations: 15.92 kB / 32.37 MB, free: 5.621 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.03306, allocations: 6.359 kB / 32.38 MB, free: 5.621 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.62e-05/0.03316, allocations: 14.78 kB / 32.39 MB, free: 5.621 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.738e-06/0.03318, allocations: 3.312 kB / 32.4 MB, free: 5.621 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 7.893e-05/0.03327, allocations: 118.6 kB / 32.51 MB, free: 5.508 MB / 18.57 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.248e-05/0.03331, allocations: 12.44 kB / 32.52 MB, free: 5.508 MB / 18.57 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.279e-05/0.03335, allocations: 9.953 kB / 32.53 MB, free: 5.5 MB / 18.57 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.03336, allocations: 1.281 kB / 32.53 MB, free: 5.5 MB / 18.57 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.03337, allocations: 0 / 32.53 MB, free: 5.5 MB / 18.57 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.03338, allocations: 0 / 32.53 MB, free: 5.5 MB / 18.57 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002357/0.03363, allocations: 167 kB / 32.7 MB, free: 5.309 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.03364, allocations: 1.344 kB / 32.7 MB, free: 5.309 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.855e-05/0.03372, allocations: 11.19 kB / 32.71 MB, free: 5.309 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.03373, allocations: 0 / 32.71 MB, free: 5.309 MB / 18.57 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-06/0.03375, allocations: 0.5312 kB / 32.71 MB, free: 5.309 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.03376, allocations: 5.562 kB / 32.72 MB, free: 5.309 MB / 18.57 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.03377, allocations: 0 / 32.72 MB, free: 5.309 MB / 18.57 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002491/0.03403, allocations: 162.2 kB / 32.87 MB, free: 5.176 MB / 18.57 MB Notification: Performance of postOpt removeConstants (simulation): time 2.863e-05/0.03407, allocations: 85.73 kB / 32.96 MB, free: 5.082 MB / 18.57 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.787e-05/0.0341, allocations: 2.859 kB / 32.96 MB, free: 5.082 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.566e-05/0.0342, allocations: 7.219 kB / 32.97 MB, free: 5.082 MB / 18.57 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.286e-05/0.03425, allocations: 5.234 kB / 32.97 MB, free: 5.082 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/0.03426, allocations: 0 / 32.97 MB, free: 5.082 MB / 18.57 MB Notification: Performance of sorting global known variables: time 4.918e-05/0.03431, allocations: 97.67 kB / 33.07 MB, free: 5.008 MB / 18.57 MB Notification: Performance of sort global known variables: time 1.042e-06/0.03432, allocations: 0 / 33.07 MB, free: 5.008 MB / 18.57 MB Notification: Performance of remove unused functions: time 0.0003115/0.03464, allocations: 9.656 kB / 33.08 MB, free: 5.008 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 9.631e-05/0.03475, allocations: 95.91 kB / 33.17 MB, free: 4.922 MB / 18.57 MB Notification: Performance of simCode: created initialization part: time 0.0002096/0.03497, allocations: 42.48 kB / 33.21 MB, free: 4.922 MB / 18.57 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.03499, allocations: 0 / 33.21 MB, free: 4.922 MB / 18.57 MB Notification: Performance of simCode: created simulation system equations: time 6.713e-05/0.03506, allocations: 14.67 kB / 33.23 MB, free: 4.922 MB / 18.57 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002378/0.03531, allocations: 16.2 kB / 33.24 MB, free: 4.918 MB / 18.57 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002805/0.03561, allocations: 137.6 kB / 33.38 MB, free: 4.793 MB / 18.57 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001412/0.03576, allocations: 0.6891 MB / 34.07 MB, free: 4.094 MB / 18.57 MB Notification: Performance of simCode: alias equations: time 4.665e-05/0.03582, allocations: 8.156 kB / 34.07 MB, free: 4.086 MB / 18.57 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.038e-05/0.03585, allocations: 10.88 kB / 34.08 MB, free: 4.078 MB / 18.57 MB Notification: Performance of SimCode: time 5.91e-07/0.03586, allocations: 0 / 34.08 MB, free: 4.078 MB / 18.57 MB Notification: Performance of Templates: time 0.003042/0.03891, allocations: 0.5057 MB / 34.59 MB, free: 4.043 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)