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.01023/0.01023, allocations: 1.374 MB / 16.98 MB, free: 5.168 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.256e-05/1.257e-05, allocations: 0 / 23.87 MB, free: 3.953 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0002868/0.0003134, allocations: 363.2 kB / 24.23 MB, free: 3.652 MB / 13.93 MB Notification: Performance of NFInst.instantiate(ConPNlib.Examples.Test1a): time 0.0004844/0.0008047, allocations: 424.6 kB / 24.64 MB, free: 3.234 MB / 13.93 MB Notification: Performance of NFInst.instExpressions: time 0.0004873/0.001302, allocations: 410.7 kB / 25.04 MB, free: 2.832 MB / 13.93 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.319e-05/0.001365, allocations: 7.938 kB / 25.05 MB, free: 2.824 MB / 13.93 MB Notification: Performance of NFTyping.typeComponents: time 9.146e-05/0.001464, allocations: 20.67 kB / 25.07 MB, free: 2.805 MB / 13.93 MB Notification: Performance of NFTyping.typeBindings: time 0.0003439/0.001814, allocations: 133 kB / 25.2 MB, free: 2.676 MB / 13.93 MB Notification: Performance of NFTyping.typeClassSections: time 1.899e-05/0.001843, allocations: 4 kB / 25.21 MB, free: 2.672 MB / 13.93 MB Notification: Performance of NFFlatten.flatten: time 6.222e-05/0.001912, allocations: 60.42 kB / 25.26 MB, free: 2.613 MB / 13.93 MB Notification: Performance of NFFlatten.resolveConnections: time 4.048e-05/0.001959, allocations: 9.922 kB / 25.27 MB, free: 2.602 MB / 13.93 MB Notification: Performance of NFEvalConstants.evaluate: time 3.044e-05/0.001995, allocations: 27.84 kB / 25.3 MB, free: 2.574 MB / 13.93 MB Notification: Performance of NFSimplifyModel.simplify: time 4.827e-05/0.002049, allocations: 19.17 kB / 25.32 MB, free: 2.559 MB / 13.93 MB Notification: Performance of NFPackage.collectConstants: time 1.002e-05/0.002064, allocations: 4 kB / 25.32 MB, free: 2.555 MB / 13.93 MB Notification: Performance of NFFlatten.collectFunctions: time 5.801e-05/0.002127, allocations: 15.98 kB / 25.34 MB, free: 2.539 MB / 13.93 MB Notification: Performance of NFScalarize.scalarize: time 1.235e-05/0.002145, allocations: 7.922 kB / 25.35 MB, free: 2.531 MB / 13.93 MB Notification: Performance of NFVerifyModel.verify: time 1.352e-05/0.002163, allocations: 33.7 kB / 25.38 MB, free: 2.492 MB / 13.93 MB Notification: Performance of NFConvertDAE.convert: time 6.683e-05/0.002235, allocations: 26.33 kB / 25.41 MB, free: 2.469 MB / 13.93 MB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.002243, allocations: 0 / 25.41 MB, free: 2.469 MB / 13.93 MB Notification: Performance of FrontEnd: time 8.82e-07/0.002267, allocations: 4 kB / 25.41 MB, free: 2.465 MB / 13.93 MB Notification: Performance of Transformations before backend: time 3.416e-06/0.002275, allocations: 0 / 25.41 MB, free: 2.465 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.000254/0.002534, allocations: 330.5 kB / 25.73 MB, free: 2.094 MB / 13.93 MB Notification: Performance of prepare preOptimizeDAE: time 2.844e-05/0.00257, allocations: 12.3 kB / 25.74 MB, free: 2.082 MB / 13.93 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.661e-05/0.002602, allocations: 4.859 kB / 25.75 MB, free: 2.078 MB / 13.93 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001096/0.002716, allocations: 186.5 kB / 25.93 MB, free: 1.859 MB / 13.93 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.95e-05/0.002743, allocations: 4.344 kB / 25.94 MB, free: 1.855 MB / 13.93 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.845e-05/0.002766, allocations: 4.328 kB / 25.94 MB, free: 1.852 MB / 13.93 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001435/0.002914, allocations: 77.62 kB / 26.02 MB, free: 1.758 MB / 13.93 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.002932, allocations: 7.547 kB / 26.02 MB, free: 1.754 MB / 13.93 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.002949, allocations: 4.344 kB / 26.03 MB, free: 1.75 MB / 13.93 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.471e-06/0.00296, allocations: 7.953 kB / 26.03 MB, free: 1.742 MB / 13.93 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.019e-05/0.003044, allocations: 23.92 kB / 26.06 MB, free: 1.719 MB / 13.93 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003259/0.003377, allocations: 0.5853 MB / 26.64 MB, free: 1.039 MB / 13.93 MB Notification: Performance of preOpt comSubExp (simulation): time 9.543e-05/0.003484, allocations: 67.84 kB / 26.71 MB, free: 0.9453 MB / 13.93 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.603e-05/0.003537, allocations: 34.56 kB / 26.74 MB, free: 0.9023 MB / 13.93 MB Notification: Performance of preOpt evalFunc (simulation): time 4.125e-05/0.003587, allocations: 89.09 kB / 26.83 MB, free: 0.7969 MB / 13.93 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.358e-05/0.003607, allocations: 38.52 kB / 26.87 MB, free: 0.75 MB / 13.93 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.003613, allocations: 0 / 26.87 MB, free: 0.75 MB / 13.93 MB Notification: Performance of matching and sorting (n=4): time 0.0002401/0.003857, allocations: 85.86 kB / 26.95 MB, free: 0.6602 MB / 13.93 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.185e-05/0.003898, allocations: 132.5 kB / 27.08 MB, free: 0.5 MB / 13.93 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.793e-05/0.003963, allocations: 113.8 kB / 27.19 MB, free: 388 kB / 13.93 MB Notification: Performance of collectPreVariables (initialization): time 8.877e-06/0.003978, allocations: 25.7 kB / 27.22 MB, free: 356 kB / 13.93 MB Notification: Performance of collectInitialEqns (initialization): time 3.07e-05/0.004014, allocations: 96.03 kB / 27.31 MB, free: 256 kB / 13.93 MB Notification: Performance of collectInitialBindings (initialization): time 1.144e-05/0.00403, allocations: 12.84 kB / 27.32 MB, free: 244 kB / 13.93 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.507e-06/0.00404, allocations: 4 kB / 27.33 MB, free: 240 kB / 13.93 MB Notification: Performance of setup shared object (initialization): time 7.428e-05/0.004118, allocations: 314.8 kB / 27.64 MB, free: 4.59 MB / 18.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.616e-05/0.004171, allocations: 16.03 kB / 27.65 MB, free: 4.574 MB / 18.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.554e-05/0.004242, allocations: 48.28 kB / 27.7 MB, free: 4.512 MB / 18.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.168e-05/0.004312, allocations: 29.56 kB / 27.73 MB, free: 4.484 MB / 18.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.004321, allocations: 0 / 27.73 MB, free: 4.484 MB / 18.6 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001598/0.004485, allocations: 93.44 kB / 27.82 MB, free: 4.387 MB / 18.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.004509, allocations: 7.953 kB / 27.83 MB, free: 4.379 MB / 18.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.004519, allocations: 0 / 27.83 MB, free: 4.379 MB / 18.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.004536, allocations: 4 kB / 27.83 MB, free: 4.375 MB / 18.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.108e-05/0.004612, allocations: 15.73 kB / 27.85 MB, free: 4.363 MB / 18.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.004628, allocations: 8.094 kB / 27.85 MB, free: 4.355 MB / 18.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.923e-05/0.004692, allocations: 4 kB / 27.86 MB, free: 4.352 MB / 18.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.7e-05/0.004715, allocations: 9.594 kB / 27.87 MB, free: 4.344 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.092e-05/0.004801, allocations: 118.6 kB / 27.98 MB, free: 4.219 MB / 18.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.821e-05/0.004865, allocations: 11.91 kB / 27.99 MB, free: 4.207 MB / 18.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.776e-05/0.004928, allocations: 7.844 kB / 28 MB, free: 4.191 MB / 18.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.004939, allocations: 4 kB / 28.01 MB, free: 4.188 MB / 18.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.004949, allocations: 2.109 kB / 28.01 MB, free: 4.188 MB / 18.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.004958, allocations: 4 kB / 28.01 MB, free: 4.184 MB / 18.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002926/0.005256, allocations: 169.7 kB / 28.18 MB, free: 3.969 MB / 18.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.005266, allocations: 0 / 28.18 MB, free: 3.969 MB / 18.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.746e-05/0.005318, allocations: 7.984 kB / 28.18 MB, free: 3.961 MB / 18.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.00533, allocations: 7.938 kB / 28.19 MB, free: 3.953 MB / 18.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.804e-06/0.005342, allocations: 0 / 28.19 MB, free: 3.953 MB / 18.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.005351, allocations: 7.953 kB / 28.2 MB, free: 3.945 MB / 18.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/0.005359, allocations: 7.984 kB / 28.21 MB, free: 3.938 MB / 18.6 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002733/0.005637, allocations: 330 kB / 28.53 MB, free: 3.598 MB / 18.6 MB Notification: Performance of postOpt removeConstants (simulation): time 3.602e-05/0.005683, allocations: 85.05 kB / 28.61 MB, free: 3.496 MB / 18.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.457e-05/0.005703, allocations: 0 / 28.61 MB, free: 3.496 MB / 18.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001326/0.00584, allocations: 20.05 kB / 28.63 MB, free: 3.477 MB / 18.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.848e-05/0.005876, allocations: 3.953 kB / 28.64 MB, free: 3.473 MB / 18.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.821e-06/0.005887, allocations: 4 kB / 28.64 MB, free: 3.469 MB / 18.6 MB Notification: Performance of sorting global known variables: time 5.316e-05/0.005944, allocations: 87.27 kB / 28.73 MB, free: 3.383 MB / 18.6 MB Notification: Performance of sort global known variables: time 1.1e-07/0.00595, allocations: 0 / 28.73 MB, free: 3.383 MB / 18.6 MB Notification: Performance of remove unused functions: time 0.0002713/0.006228, allocations: 16 kB / 28.74 MB, free: 3.367 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 (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.0001314/0.006365, allocations: 103.6 kB / 28.84 MB, free: 3.258 MB / 18.6 MB Notification: Performance of simCode: created initialization part: time 0.0001467/0.006519, allocations: 47.92 kB / 28.89 MB, free: 3.211 MB / 18.6 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.00653, allocations: 0 / 28.89 MB, free: 3.211 MB / 18.6 MB Notification: Performance of simCode: created simulation system equations: time 5.163e-05/0.006586, allocations: 23.92 kB / 28.91 MB, free: 3.188 MB / 18.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003452/0.006939, allocations: 12.64 kB / 28.93 MB, free: 3.176 MB / 18.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003818/0.00733, allocations: 215.2 kB / 29.14 MB, free: 2.93 MB / 18.6 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002608/0.007602, allocations: 0.685 MB / 29.82 MB, free: 2.219 MB / 18.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.949e-05/0.007658, allocations: 27.42 kB / 29.85 MB, free: 2.191 MB / 18.6 MB Notification: Performance of SimCode: time 1.854e-06/0.007667, allocations: 0.6562 kB / 29.85 MB, free: 2.191 MB / 18.6 MB Notification: Performance of Templates: time 0.002089/0.00976, allocations: 0.9773 MB / 30.83 MB, free: 1.215 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)