Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ConPNlib_ConPNlib.Examples.Test5.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.Test5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test5") translateModel(ConPNlib.Examples.Test5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo): time 0.005242/0.005242, allocations: 1.358 MB / 17.27 MB, free: 4.562 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.324e-05/1.353e-05, allocations: 0 / 24.32 MB, free: 3.098 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0002156/0.0002424, allocations: 364.2 kB / 24.67 MB, free: 2.789 MB / 13.93 MB Notification: Performance of NFInst.instantiate(ConPNlib.Examples.Test5): time 0.0007294/0.0009794, allocations: 1.024 MB / 25.7 MB, free: 1.766 MB / 13.93 MB Notification: Performance of NFInst.instExpressions: time 0.0008213/0.001811, allocations: 0.7147 MB / 26.41 MB, free: 1.051 MB / 13.93 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001274/0.00195, allocations: 8.656 kB / 26.42 MB, free: 1.043 MB / 13.93 MB Notification: Performance of NFTyping.typeComponents: time 0.0001738/0.002131, allocations: 63.58 kB / 26.48 MB, free: 0.9805 MB / 13.93 MB Notification: Performance of NFTyping.typeBindings: time 0.0004953/0.002634, allocations: 230.7 kB / 26.71 MB, free: 0.7578 MB / 13.93 MB Notification: Performance of NFTyping.typeClassSections: time 7.361e-05/0.002718, allocations: 35.91 kB / 26.74 MB, free: 0.7227 MB / 13.93 MB Notification: Performance of NFFlatten.flatten: time 0.0002204/0.002946, allocations: 331 kB / 27.07 MB, free: 408 kB / 13.93 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001426/0.003096, allocations: 149.1 kB / 27.21 MB, free: 252 kB / 13.93 MB Notification: Performance of NFEvalConstants.evaluate: time 8.924e-05/0.003193, allocations: 127.2 kB / 27.34 MB, free: 124 kB / 13.93 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001254/0.003324, allocations: 135.1 kB / 27.47 MB, free: 4.629 MB / 18.57 MB Notification: Performance of NFPackage.collectConstants: time 3.511e-05/0.003367, allocations: 15.91 kB / 27.48 MB, free: 4.617 MB / 18.57 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002894/0.003662, allocations: 219.6 kB / 27.7 MB, free: 4.402 MB / 18.57 MB Notification: Performance of NFScalarize.scalarize: time 8.414e-05/0.003756, allocations: 83.58 kB / 27.78 MB, free: 4.32 MB / 18.57 MB Notification: Performance of NFVerifyModel.verify: time 0.000111/0.003873, allocations: 135 kB / 27.91 MB, free: 4.188 MB / 18.57 MB Notification: Performance of NFConvertDAE.convert: time 0.0004717/0.004351, allocations: 0.4907 MB / 28.4 MB, free: 3.695 MB / 18.57 MB Notification: Performance of FrontEnd - DAE generated: time 1.473e-06/0.00436, allocations: 0 / 28.4 MB, free: 3.695 MB / 18.57 MB Notification: Performance of FrontEnd: time 7.81e-07/0.004366, allocations: 0 / 28.4 MB, free: 3.695 MB / 18.57 MB Notification: Performance of Transformations before backend: time 6.201e-06/0.004376, allocations: 0 / 28.4 MB, free: 3.695 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.0006243/0.005005, allocations: 0.6018 MB / 29 MB, free: 3.039 MB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 3.077e-05/0.005043, allocations: 12.31 kB / 29.02 MB, free: 3.027 MB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.767e-05/0.005136, allocations: 40.47 kB / 29.06 MB, free: 2.988 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003117/0.005453, allocations: 299.7 kB / 29.35 MB, free: 2.656 MB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.741e-05/0.005499, allocations: 45.36 kB / 29.39 MB, free: 2.613 MB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.254e-05/0.005567, allocations: 48.36 kB / 29.44 MB, free: 2.566 MB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009076/0.00648, allocations: 0.6369 MB / 30.08 MB, free: 1.91 MB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.536e-05/0.006507, allocations: 5.969 kB / 30.08 MB, free: 1.906 MB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.216e-05/0.006554, allocations: 27.86 kB / 30.11 MB, free: 1.879 MB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.706e-05/0.006628, allocations: 44.97 kB / 30.15 MB, free: 1.836 MB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007223/0.007356, allocations: 451.7 kB / 30.6 MB, free: 1.395 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005841/0.01321, allocations: 1.5 MB / 32.1 MB, free: 6.918 MB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003532/0.01358, allocations: 242.9 kB / 32.33 MB, free: 6.895 MB / 18.57 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002263/0.01381, allocations: 190.4 kB / 32.52 MB, free: 6.887 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002821/0.0141, allocations: 0.5901 MB / 33.11 MB, free: 6.23 MB / 18.57 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.643e-05/0.01413, allocations: 36.84 kB / 33.15 MB, free: 6.191 MB / 18.57 MB Notification: Performance of pre-optimization done (n=23): time 1.803e-06/0.01414, allocations: 1.344 kB / 33.15 MB, free: 6.191 MB / 18.57 MB Notification: Performance of matching and sorting (n=23): time 0.0008058/0.01495, allocations: 0.5545 MB / 33.7 MB, free: 6.129 MB / 18.57 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.362e-05/0.015, allocations: 145.7 kB / 33.84 MB, free: 5.973 MB / 18.57 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001266/0.01513, allocations: 213.3 kB / 34.05 MB, free: 5.863 MB / 18.57 MB Notification: Performance of collectPreVariables (initialization): time 2.009e-05/0.01516, allocations: 37.39 kB / 34.09 MB, free: 5.832 MB / 18.57 MB Notification: Performance of collectInitialEqns (initialization): time 7.101e-05/0.01523, allocations: 218.4 kB / 34.3 MB, free: 5.695 MB / 18.57 MB Notification: Performance of collectInitialBindings (initialization): time 4.307e-05/0.01528, allocations: 76.91 kB / 34.38 MB, free: 5.652 MB / 18.57 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.761e-05/0.01534, allocations: 50.25 kB / 34.43 MB, free: 5.637 MB / 18.57 MB Notification: Performance of setup shared object (initialization): time 3.69e-05/0.01538, allocations: 333.3 kB / 34.75 MB, free: 5.324 MB / 18.57 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002214/0.0156, allocations: 166 kB / 34.91 MB, free: 5.305 MB / 18.57 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002373/0.01585, allocations: 252.9 kB / 35.16 MB, free: 5.168 MB / 18.57 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004063/0.01626, allocations: 406.4 kB / 35.56 MB, free: 4.91 MB / 18.57 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.01628, allocations: 0 / 35.56 MB, free: 4.91 MB / 18.57 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006282/0.01691, allocations: 0.5491 MB / 36.11 MB, free: 4.391 MB / 18.57 MB Notification: Performance of prepare postOptimizeDAE: time 3.102e-05/0.01695, allocations: 41.69 kB / 36.15 MB, free: 4.344 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.01696, allocations: 4 kB / 36.15 MB, free: 4.34 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.01698, allocations: 4.25 kB / 36.15 MB, free: 4.336 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001582/0.01714, allocations: 55.91 kB / 36.21 MB, free: 4.281 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.069e-05/0.01716, allocations: 8.125 kB / 36.22 MB, free: 4.273 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001394/0.01731, allocations: 59.39 kB / 36.28 MB, free: 4.219 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.05e-05/0.01734, allocations: 16 kB / 36.29 MB, free: 4.203 MB / 18.57 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 14 (P1.emptying,$PRE.P1.fireOut[1],P2.feeding,$PRE.P2.fireIn[1],P1.outTransition[1].arcType,T1.activation.fed[1],T1.activation.emptied[1],T1.activation.arcType[1],T1.activation.weaklyOutputActiveVec[1],T1.activation.weaklyInputActiveVec[1],T1.activation.active,P2.fireIn[1],P1.fireOut[1],T1.outPlaces[1].enabledByInPlaces) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 33 * Array equations: 2 * Algorithm blocks: 1 * 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.0001769/0.01753, allocations: 249.6 kB / 36.53 MB, free: 3.945 MB / 18.57 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.774e-05/0.01758, allocations: 23.8 kB / 36.56 MB, free: 3.922 MB / 18.57 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006188/0.01821, allocations: 493 kB / 37.04 MB, free: 3.438 MB / 18.57 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.501e-06/0.01822, allocations: 0 / 37.04 MB, free: 3.438 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.01823, allocations: 3.828 kB / 37.04 MB, free: 3.438 MB / 18.57 MB Notification: Performance of postOpt removeConstants (simulation): time 2.473e-05/0.01826, allocations: 100.7 kB / 37.14 MB, free: 3.324 MB / 18.57 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.267e-05/0.01831, allocations: 15.98 kB / 37.16 MB, free: 3.309 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001401/0.01845, allocations: 23.98 kB / 37.18 MB, free: 3.285 MB / 18.57 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001119/0.01857, allocations: 63.92 kB / 37.24 MB, free: 3.223 MB / 18.57 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006713/0.01925, allocations: 0.6002 MB / 37.84 MB, free: 2.605 MB / 18.57 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0008144/0.02008, allocations: 0.8167 MB / 38.66 MB, free: 1.77 MB / 18.57 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002283/0.02032, allocations: 195.8 kB / 38.85 MB, free: 1.578 MB / 18.57 MB Notification: Performance of sorting global known variables: time 7.335e-05/0.0204, allocations: 153.2 kB / 39 MB, free: 1.43 MB / 18.57 MB Notification: Performance of Backend: time 5.01e-07/0.02041, allocations: 0 / 39 MB, free: 1.43 MB / 18.57 MB Notification: Performance of simCode: created initialization part: time 0.0007555/0.02117, allocations: 492.9 kB / 39.48 MB, free: 0.9453 MB / 18.57 MB Notification: Performance of SimCode: time 0.005416/0.0266, allocations: 1.248 MB / 40.73 MB, free: 5.949 MB / 18.57 MB Notification: Performance of Templates: time 0.007041/0.03365, allocations: 4.715 MB / 45.45 MB, free: 2.945 MB / 18.57 MB make -j1 -f ConPNlib_ConPNlib.Examples.Test5.makefile (rm -f ConPNlib_ConPNlib.Examples.Test5.pipe ; mkfifo ConPNlib_ConPNlib.Examples.Test5.pipe ; head -c 1048576 < ConPNlib_ConPNlib.Examples.Test5.pipe >> ../files/ConPNlib_ConPNlib.Examples.Test5.sim & ./ConPNlib_ConPNlib.Examples.Test5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ConPNlib_ConPNlib.Examples.Test5.pipe 2>&1)