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.01182/0.01182, allocations: 1.363 MB / 17.26 MB, free: 4.566 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 2.443e-05/2.388e-05, allocations: 0 / 24.31 MB, free: 3.102 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0009254/0.0009874, allocations: 363.9 kB / 24.66 MB, free: 2.797 MB / 13.93 MB Notification: Performance of NFInst.instantiate(ConPNlib.Examples.Test1a): time 0.001055/0.00207, allocations: 468.8 kB / 25.12 MB, free: 2.336 MB / 13.93 MB Notification: Performance of NFInst.instExpressions: time 0.001341/0.00344, allocations: 458.6 kB / 25.57 MB, free: 1.891 MB / 13.93 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001462/0.003617, allocations: 3.938 kB / 25.57 MB, free: 1.887 MB / 13.93 MB Notification: Performance of NFTyping.typeComponents: time 0.0002019/0.003841, allocations: 19.86 kB / 25.59 MB, free: 1.867 MB / 13.93 MB Notification: Performance of NFTyping.typeBindings: time 0.000805/0.004666, allocations: 143.5 kB / 25.73 MB, free: 1.727 MB / 13.93 MB Notification: Performance of NFTyping.typeClassSections: time 5.478e-05/0.004741, allocations: 0 / 25.73 MB, free: 1.727 MB / 13.93 MB Notification: Performance of NFFlatten.flatten: time 0.0001366/0.004901, allocations: 62.81 kB / 25.8 MB, free: 1.668 MB / 13.93 MB Notification: Performance of NFFlatten.resolveConnections: time 5.96e-05/0.004981, allocations: 8.766 kB / 25.8 MB, free: 1.656 MB / 13.93 MB Notification: Performance of NFEvalConstants.evaluate: time 6.095e-05/0.005059, allocations: 27.8 kB / 25.83 MB, free: 1.629 MB / 13.93 MB Notification: Performance of NFSimplifyModel.simplify: time 8.374e-05/0.005159, allocations: 23.8 kB / 25.85 MB, free: 1.605 MB / 13.93 MB Notification: Performance of NFPackage.collectConstants: time 1.476e-05/0.00519, allocations: 0 / 25.85 MB, free: 1.605 MB / 13.93 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001075/0.005311, allocations: 19.98 kB / 25.87 MB, free: 1.586 MB / 13.93 MB Notification: Performance of NFScalarize.scalarize: time 2.85e-05/0.005358, allocations: 6.281 kB / 25.88 MB, free: 1.582 MB / 13.93 MB Notification: Performance of NFVerifyModel.verify: time 3.243e-05/0.005405, allocations: 19.86 kB / 25.9 MB, free: 1.562 MB / 13.93 MB Notification: Performance of NFConvertDAE.convert: time 0.0001329/0.005553, allocations: 35.89 kB / 25.93 MB, free: 1.527 MB / 13.93 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.005575, allocations: 4 kB / 25.94 MB, free: 1.523 MB / 13.93 MB Notification: Performance of FrontEnd: time 1.913e-06/0.005588, allocations: 0 / 25.94 MB, free: 1.523 MB / 13.93 MB Notification: Performance of Transformations before backend: time 4.919e-06/0.005602, allocations: 0 / 25.94 MB, free: 1.523 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.0004034/0.006015, allocations: 337.6 kB / 26.27 MB, free: 1.148 MB / 13.93 MB Notification: Performance of prepare preOptimizeDAE: time 6.664e-05/0.006095, allocations: 8.312 kB / 26.28 MB, free: 1.141 MB / 13.93 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.963e-05/0.006162, allocations: 1.594 kB / 26.28 MB, free: 1.141 MB / 13.93 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001585/0.006337, allocations: 181.5 kB / 26.45 MB, free: 0.9258 MB / 13.93 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.6e-05/0.006381, allocations: 384 / 26.46 MB, free: 0.9258 MB / 13.93 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.905e-05/0.006423, allocations: 10.53 kB / 26.47 MB, free: 0.918 MB / 13.93 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002427/0.006681, allocations: 85.61 kB / 26.55 MB, free: 0.8164 MB / 13.93 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.006714, allocations: 192 / 26.55 MB, free: 0.8164 MB / 13.93 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.06e-05/0.006746, allocations: 3.938 kB / 26.55 MB, free: 0.8125 MB / 13.93 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.006767, allocations: 2.969 kB / 26.56 MB, free: 0.8125 MB / 13.93 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001585/0.006936, allocations: 31.91 kB / 26.59 MB, free: 0.7812 MB / 13.93 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005691/0.007523, allocations: 0.5659 MB / 27.15 MB, free: 124 kB / 13.93 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001829/0.007726, allocations: 87.7 kB / 27.24 MB, free: 8 kB / 13.93 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001335/0.007877, allocations: 26.72 kB / 27.26 MB, free: 4.613 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001147/0.008008, allocations: 85.09 kB / 27.35 MB, free: 4.512 MB / 18.57 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.412e-05/0.008079, allocations: 34.56 kB / 27.38 MB, free: 4.469 MB / 18.57 MB Notification: Performance of pre-optimization done (n=4): time 2.294e-06/0.0081, allocations: 7.938 kB / 27.39 MB, free: 4.461 MB / 18.57 MB Notification: Performance of matching and sorting (n=4): time 0.0004955/0.008606, allocations: 81.52 kB / 27.47 MB, free: 4.375 MB / 18.57 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000104/0.008727, allocations: 132.5 kB / 27.6 MB, free: 4.215 MB / 18.57 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001865/0.00893, allocations: 121.1 kB / 27.72 MB, free: 4.086 MB / 18.57 MB Notification: Performance of collectPreVariables (initialization): time 2.416e-05/0.008972, allocations: 26.08 kB / 27.74 MB, free: 4.055 MB / 18.57 MB Notification: Performance of collectInitialEqns (initialization): time 8.326e-05/0.009071, allocations: 100.3 kB / 27.84 MB, free: 3.953 MB / 18.57 MB Notification: Performance of collectInitialBindings (initialization): time 2.632e-05/0.009115, allocations: 7.906 kB / 27.85 MB, free: 3.945 MB / 18.57 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.792e-05/0.009176, allocations: 13.72 kB / 27.86 MB, free: 3.926 MB / 18.57 MB Notification: Performance of setup shared object (initialization): time 0.0001899/0.009381, allocations: 318.8 kB / 28.17 MB, free: 3.605 MB / 18.57 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.965e-05/0.009496, allocations: 19.98 kB / 28.19 MB, free: 3.586 MB / 18.57 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001368/0.00965, allocations: 56.12 kB / 28.25 MB, free: 3.52 MB / 18.57 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002226/0.009891, allocations: 55.42 kB / 28.3 MB, free: 3.453 MB / 18.57 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.562e-06/0.009914, allocations: 7.875 kB / 28.31 MB, free: 3.445 MB / 18.57 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003455/0.01027, allocations: 99.12 kB / 28.41 MB, free: 3.344 MB / 18.57 MB Notification: Performance of prepare postOptimizeDAE: time 2.321e-05/0.01031, allocations: 4 kB / 28.41 MB, free: 3.34 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/0.01033, allocations: 4 kB / 28.41 MB, free: 3.336 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.01036, allocations: 0 / 28.41 MB, free: 3.336 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001307/0.01051, allocations: 11.98 kB / 28.43 MB, free: 3.324 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.525e-05/0.01054, allocations: 4 kB / 28.43 MB, free: 3.32 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001131/0.01066, allocations: 9.031 kB / 28.44 MB, free: 3.312 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.902e-05/0.0107, allocations: 4 kB / 28.44 MB, free: 3.309 MB / 18.57 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.000131/0.01085, allocations: 126.5 kB / 28.57 MB, free: 3.176 MB / 18.57 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000111/0.01097, allocations: 7.906 kB / 28.57 MB, free: 3.168 MB / 18.57 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.413e-05/0.01108, allocations: 11.89 kB / 28.58 MB, free: 3.148 MB / 18.57 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.01111, allocations: 0 / 28.58 MB, free: 3.148 MB / 18.57 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.01112, allocations: 0 / 28.58 MB, free: 3.148 MB / 18.57 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.01114, allocations: 0 / 28.58 MB, free: 3.148 MB / 18.57 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005466/0.01169, allocations: 177.5 kB / 28.76 MB, free: 2.926 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.01172, allocations: 8 kB / 28.77 MB, free: 2.918 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.986e-05/0.01182, allocations: 11.98 kB / 28.78 MB, free: 2.906 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.696e-06/0.01184, allocations: 0 / 28.78 MB, free: 2.906 MB / 18.57 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.431e-05/0.01187, allocations: 48 / 28.78 MB, free: 2.906 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.01188, allocations: 0 / 28.78 MB, free: 2.906 MB / 18.57 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.233e-06/0.0119, allocations: 8.141 kB / 28.79 MB, free: 2.898 MB / 18.57 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004698/0.01238, allocations: 337.9 kB / 29.12 MB, free: 2.551 MB / 18.57 MB Notification: Performance of postOpt removeConstants (simulation): time 5.8e-05/0.01246, allocations: 81.14 kB / 29.19 MB, free: 2.453 MB / 18.57 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.482e-05/0.0125, allocations: 3.469 kB / 29.2 MB, free: 2.453 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002718/0.01279, allocations: 11.98 kB / 29.21 MB, free: 2.441 MB / 18.57 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.774e-05/0.01285, allocations: 0 / 29.21 MB, free: 2.441 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.044e-05/0.01288, allocations: 12 kB / 29.22 MB, free: 2.43 MB / 18.57 MB Notification: Performance of sorting global known variables: time 8.564e-05/0.01298, allocations: 91.27 kB / 29.31 MB, free: 2.34 MB / 18.57 MB Notification: Performance of sort global known variables: time 3.41e-07/0.01299, allocations: 0 / 29.31 MB, free: 2.34 MB / 18.57 MB Notification: Performance of remove unused functions: time 0.0005967/0.0136, allocations: 16 kB / 29.33 MB, free: 2.324 MB / 18.57 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.0001809/0.0138, allocations: 99.84 kB / 29.42 MB, free: 2.219 MB / 18.57 MB Notification: Performance of simCode: created initialization part: time 0.0002589/0.01407, allocations: 44.03 kB / 29.47 MB, free: 2.176 MB / 18.57 MB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.0141, allocations: 8.062 kB / 29.47 MB, free: 2.168 MB / 18.57 MB Notification: Performance of simCode: created simulation system equations: time 0.0001136/0.01423, allocations: 19.92 kB / 29.49 MB, free: 2.148 MB / 18.57 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007371/0.01498, allocations: 19.92 kB / 29.51 MB, free: 2.129 MB / 18.57 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006758/0.01567, allocations: 214 kB / 29.72 MB, free: 1.883 MB / 18.57 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004112/0.0161, allocations: 0.685 MB / 30.41 MB, free: 1.172 MB / 18.57 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.936e-05/0.01621, allocations: 31.41 kB / 30.44 MB, free: 1.141 MB / 18.57 MB Notification: Performance of SimCode: time 5.01e-07/0.01623, allocations: 0 / 30.44 MB, free: 1.141 MB / 18.57 MB Notification: Performance of Templates: time 0.004/0.02024, allocations: 0.9779 MB / 31.42 MB, free: 168 kB / 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)