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.01709/0.0171, allocations: 1.36 MB / 16.31 MB, free: 5.352 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.65e-05/1.641e-05, allocations: 0 / 23.22 MB, free: 4.043 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0007174/0.0007545, allocations: 359 kB / 23.57 MB, free: 3.887 MB / 13.93 MB Notification: Performance of NFInst.instantiate(ConPNlib.Examples.Test1a): time 0.0008166/0.001585, allocations: 445.6 kB / 24 MB, free: 3.629 MB / 13.93 MB Notification: Performance of NFInst.instExpressions: time 0.0008395/0.002441, allocations: 402.3 kB / 24.4 MB, free: 3.234 MB / 13.93 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.333e-05/0.00254, allocations: 3.938 kB / 24.4 MB, free: 3.23 MB / 13.93 MB Notification: Performance of NFTyping.typeComponents: time 0.0001371/0.002689, allocations: 33.19 kB / 24.43 MB, free: 3.199 MB / 13.93 MB Notification: Performance of NFTyping.typeBindings: time 0.0005535/0.003254, allocations: 140.1 kB / 24.57 MB, free: 3.062 MB / 13.93 MB Notification: Performance of NFTyping.typeClassSections: time 4.725e-05/0.003318, allocations: 18.81 kB / 24.59 MB, free: 3.047 MB / 13.93 MB Notification: Performance of NFFlatten.flatten: time 9.231e-05/0.003423, allocations: 43.89 kB / 24.63 MB, free: 3.004 MB / 13.93 MB Notification: Performance of NFFlatten.resolveConnections: time 5.463e-05/0.003488, allocations: 4.766 kB / 24.63 MB, free: 2.996 MB / 13.93 MB Notification: Performance of NFEvalConstants.evaluate: time 4.227e-05/0.00354, allocations: 23.91 kB / 24.66 MB, free: 2.973 MB / 13.93 MB Notification: Performance of NFSimplifyModel.simplify: time 7.351e-05/0.003623, allocations: 15.86 kB / 24.67 MB, free: 2.957 MB / 13.93 MB Notification: Performance of NFPackage.collectConstants: time 1.541e-05/0.003655, allocations: 3.938 kB / 24.68 MB, free: 2.953 MB / 13.93 MB Notification: Performance of NFFlatten.collectFunctions: time 7.736e-05/0.003745, allocations: 16.48 kB / 24.69 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFScalarize.scalarize: time 1.727e-05/0.003773, allocations: 11.97 kB / 24.7 MB, free: 2.926 MB / 13.93 MB Notification: Performance of NFVerifyModel.verify: time 2.467e-05/0.003807, allocations: 33.7 kB / 24.74 MB, free: 2.887 MB / 13.93 MB Notification: Performance of NFConvertDAE.convert: time 8.404e-05/0.0039, allocations: 22.09 kB / 24.76 MB, free: 2.867 MB / 13.93 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.003913, allocations: 0 / 24.76 MB, free: 2.867 MB / 13.93 MB Notification: Performance of FrontEnd: time 1.583e-06/0.003923, allocations: 0 / 24.76 MB, free: 2.867 MB / 13.93 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.003937, allocations: 0 / 24.76 MB, free: 2.867 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.0003206/0.004265, allocations: 350.3 kB / 25.1 MB, free: 2.477 MB / 13.93 MB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.004311, allocations: 8.297 kB / 25.11 MB, free: 2.469 MB / 13.93 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.638e-05/0.004356, allocations: 4.859 kB / 25.11 MB, free: 2.465 MB / 13.93 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001411/0.004506, allocations: 176.4 kB / 25.29 MB, free: 2.254 MB / 13.93 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.446e-05/0.004544, allocations: 12.33 kB / 25.3 MB, free: 2.242 MB / 13.93 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.004577, allocations: 5.562 kB / 25.3 MB, free: 2.238 MB / 13.93 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001887/0.004774, allocations: 78.94 kB / 25.38 MB, free: 2.145 MB / 13.93 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.0048, allocations: 6.609 kB / 25.39 MB, free: 2.141 MB / 13.93 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/0.00482, allocations: 352 / 25.39 MB, free: 2.141 MB / 13.93 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.004835, allocations: 3.953 kB / 25.39 MB, free: 2.137 MB / 13.93 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001312/0.004974, allocations: 31.98 kB / 25.42 MB, free: 2.105 MB / 13.93 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004407/0.005428, allocations: 0.5659 MB / 25.99 MB, free: 1.445 MB / 13.93 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001559/0.005599, allocations: 83.78 kB / 26.07 MB, free: 1.336 MB / 13.93 MB Notification: Performance of preOpt evalFunc (simulation): time 5.832e-05/0.005671, allocations: 89.16 kB / 26.16 MB, free: 1.23 MB / 13.93 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.977e-05/0.005702, allocations: 34.52 kB / 26.19 MB, free: 1.188 MB / 13.93 MB Notification: Performance of pre-optimization done (n=4): time 2.324e-06/0.005714, allocations: 4 kB / 26.2 MB, free: 1.184 MB / 13.93 MB Notification: Performance of matching and sorting (n=4): time 0.000359/0.00608, allocations: 85.52 kB / 26.28 MB, free: 1.094 MB / 13.93 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.445e-05/0.006139, allocations: 136.4 kB / 26.41 MB, free: 0.9297 MB / 13.93 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.383e-05/0.006233, allocations: 116.8 kB / 26.53 MB, free: 0.8086 MB / 13.93 MB Notification: Performance of collectPreVariables (initialization): time 1.226e-05/0.006257, allocations: 26.08 kB / 26.55 MB, free: 0.7773 MB / 13.93 MB Notification: Performance of collectInitialEqns (initialization): time 4.135e-05/0.006308, allocations: 92.05 kB / 26.64 MB, free: 0.6836 MB / 13.93 MB Notification: Performance of collectInitialBindings (initialization): time 1.596e-05/0.006334, allocations: 7.906 kB / 26.65 MB, free: 0.6758 MB / 13.93 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.811e-06/0.006349, allocations: 0 / 26.65 MB, free: 0.6758 MB / 13.93 MB Notification: Performance of setup shared object (initialization): time 5.695e-05/0.006413, allocations: 318.8 kB / 26.96 MB, free: 364 kB / 13.93 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.79e-05/0.006502, allocations: 19.98 kB / 26.98 MB, free: 344 kB / 13.93 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.468e-05/0.006608, allocations: 53 kB / 27.03 MB, free: 276 kB / 13.93 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.571e-05/0.006707, allocations: 21.34 kB / 27.05 MB, free: 256 kB / 13.93 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.006721, allocations: 0 / 27.05 MB, free: 256 kB / 13.93 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002367/0.006966, allocations: 93.55 kB / 27.14 MB, free: 156 kB / 13.93 MB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.006997, allocations: 11.98 kB / 27.16 MB, free: 144 kB / 13.93 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.421e-06/0.007011, allocations: 4 kB / 27.16 MB, free: 140 kB / 13.93 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.007037, allocations: 0 / 27.16 MB, free: 140 kB / 13.93 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001102/0.007155, allocations: 15.98 kB / 27.18 MB, free: 124 kB / 13.93 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.007174, allocations: 0 / 27.18 MB, free: 124 kB / 13.93 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.645e-05/0.007269, allocations: 15.92 kB / 27.19 MB, free: 108 kB / 13.93 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.666e-05/0.007297, allocations: 4 kB / 27.19 MB, free: 104 kB / 13.93 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 0.0001138/0.00742, allocations: 118.4 kB / 27.31 MB, free: 4.629 MB / 18.58 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.519e-05/0.007505, allocations: 7.906 kB / 27.32 MB, free: 4.621 MB / 18.58 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001085/0.007622, allocations: 15.84 kB / 27.33 MB, free: 4.598 MB / 18.58 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.013e-05/0.007649, allocations: 7.875 kB / 27.34 MB, free: 4.594 MB / 18.58 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/0.007671, allocations: 3.75 kB / 27.34 MB, free: 4.594 MB / 18.58 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.508e-06/0.007692, allocations: 4 kB / 27.35 MB, free: 4.59 MB / 18.58 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004335/0.008135, allocations: 165.6 kB / 27.51 MB, free: 4.379 MB / 18.58 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.008152, allocations: 0 / 27.51 MB, free: 4.379 MB / 18.58 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.821e-05/0.008238, allocations: 8 kB / 27.52 MB, free: 4.371 MB / 18.58 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.519e-06/0.008255, allocations: 1.062 kB / 27.52 MB, free: 4.371 MB / 18.58 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.339e-05/0.008279, allocations: 8 kB / 27.53 MB, free: 4.363 MB / 18.58 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.532e-06/0.008303, allocations: 7.953 kB / 27.54 MB, free: 4.355 MB / 18.58 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.008312, allocations: 0 / 27.54 MB, free: 4.355 MB / 18.58 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004366/0.008757, allocations: 353.5 kB / 27.88 MB, free: 3.98 MB / 18.58 MB Notification: Performance of postOpt removeConstants (simulation): time 6.189e-05/0.008836, allocations: 88.95 kB / 27.97 MB, free: 3.875 MB / 18.58 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.444e-05/0.00887, allocations: 4.031 kB / 27.97 MB, free: 3.871 MB / 18.58 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001967/0.009076, allocations: 8 kB / 27.98 MB, free: 3.863 MB / 18.58 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.468e-05/0.009133, allocations: 11.98 kB / 27.99 MB, free: 3.852 MB / 18.58 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.165e-06/0.009151, allocations: 0 / 27.99 MB, free: 3.852 MB / 18.58 MB Notification: Performance of sorting global known variables: time 6.323e-05/0.009225, allocations: 91.34 kB / 28.08 MB, free: 3.762 MB / 18.58 MB Notification: Performance of sort global known variables: time 4.11e-07/0.009238, allocations: 0 / 28.08 MB, free: 3.762 MB / 18.58 MB Notification: Performance of remove unused functions: time 0.000445/0.009691, allocations: 15.98 kB / 28.1 MB, free: 3.746 MB / 18.58 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.0001648/0.009867, allocations: 99.58 kB / 28.19 MB, free: 3.641 MB / 18.58 MB Notification: Performance of simCode: created initialization part: time 0.0002354/0.01011, allocations: 51.84 kB / 28.24 MB, free: 3.59 MB / 18.58 MB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.01013, allocations: 4.188 kB / 28.25 MB, free: 3.586 MB / 18.58 MB Notification: Performance of simCode: created simulation system equations: time 8.901e-05/0.01023, allocations: 19.94 kB / 28.27 MB, free: 3.566 MB / 18.58 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003485/0.01059, allocations: 11.98 kB / 28.28 MB, free: 3.555 MB / 18.58 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004133/0.01102, allocations: 165.2 kB / 28.44 MB, free: 3.363 MB / 18.58 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003211/0.01136, allocations: 0.6811 MB / 29.12 MB, free: 2.656 MB / 18.58 MB Notification: Performance of simCode: alias equations: time 0.0001277/0.0115, allocations: 45.03 kB / 29.16 MB, free: 2.605 MB / 18.58 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.789e-05/0.01157, allocations: 23.36 kB / 29.19 MB, free: 2.582 MB / 18.58 MB Notification: Performance of SimCode: time 7.02e-07/0.01158, allocations: 0 / 29.19 MB, free: 2.582 MB / 18.58 MB Notification: Performance of Templates: time 0.003843/0.01543, allocations: 0.7039 MB / 29.89 MB, free: 1.883 MB / 18.58 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)