Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ConPNlib_ConPNlib.Examples.Test7.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.Test7,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test7") translateModel(ConPNlib.Examples.Test7,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo): time 0.009394/0.009394, allocations: 1.362 MB / 17.27 MB, free: 4.559 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 9.408e-06/9.357e-06, allocations: 4 kB / 24.32 MB, free: 3.156 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0004409/0.000464, allocations: 358.9 kB / 24.67 MB, free: 2.828 MB / 13.93 MB Notification: Performance of NFInst.instantiate(ConPNlib.Examples.Test7): time 0.0007366/0.001209, allocations: 1.031 MB / 25.7 MB, free: 1.797 MB / 13.93 MB Notification: Performance of NFInst.instExpressions: time 0.0009507/0.002171, allocations: 0.7063 MB / 26.41 MB, free: 1.09 MB / 13.93 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001448/0.002329, allocations: 8.656 kB / 26.42 MB, free: 1.082 MB / 13.93 MB Notification: Performance of NFTyping.typeComponents: time 0.0001809/0.002517, allocations: 63.58 kB / 26.48 MB, free: 1.02 MB / 13.93 MB Notification: Performance of NFTyping.typeBindings: time 0.00052/0.003045, allocations: 231.2 kB / 26.7 MB, free: 0.7969 MB / 13.93 MB Notification: Performance of NFTyping.typeClassSections: time 7.899e-05/0.003135, allocations: 39.97 kB / 26.74 MB, free: 0.7578 MB / 13.93 MB Notification: Performance of NFFlatten.flatten: time 0.0002354/0.003379, allocations: 339 kB / 27.07 MB, free: 436 kB / 13.93 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001747/0.003561, allocations: 143 kB / 27.21 MB, free: 284 kB / 13.93 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001079/0.003678, allocations: 127.2 kB / 27.34 MB, free: 156 kB / 13.93 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001244/0.003809, allocations: 139.1 kB / 27.47 MB, free: 16 kB / 13.93 MB Notification: Performance of NFPackage.collectConstants: time 3.165e-05/0.003848, allocations: 12 kB / 27.49 MB, free: 4 kB / 13.93 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003223/0.004176, allocations: 207.6 kB / 27.69 MB, free: 4.445 MB / 18.57 MB Notification: Performance of NFScalarize.scalarize: time 8.868e-05/0.004275, allocations: 79.67 kB / 27.77 MB, free: 4.367 MB / 18.57 MB Notification: Performance of NFVerifyModel.verify: time 0.0001237/0.004406, allocations: 138.9 kB / 27.9 MB, free: 4.23 MB / 18.57 MB Notification: Performance of NFConvertDAE.convert: time 0.0005018/0.004916, allocations: 0.4985 MB / 28.4 MB, free: 3.73 MB / 18.57 MB Notification: Performance of FrontEnd - DAE generated: time 2.395e-06/0.004928, allocations: 4 kB / 28.4 MB, free: 3.727 MB / 18.57 MB Notification: Performance of FrontEnd: time 6.81e-07/0.004934, allocations: 0 / 28.4 MB, free: 3.727 MB / 18.57 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.004945, allocations: 0 / 28.4 MB, free: 3.727 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.0006809/0.005632, allocations: 0.6026 MB / 29.01 MB, free: 3.066 MB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.005677, allocations: 8.312 kB / 29.02 MB, free: 3.059 MB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.79e-05/0.005771, allocations: 48.47 kB / 29.06 MB, free: 3.012 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003374/0.006114, allocations: 299.7 kB / 29.36 MB, free: 2.68 MB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.104e-05/0.006164, allocations: 37.38 kB / 29.39 MB, free: 2.645 MB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.265e-05/0.006233, allocations: 48.36 kB / 29.44 MB, free: 2.598 MB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009361/0.007175, allocations: 0.6408 MB / 30.08 MB, free: 1.938 MB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/0.007203, allocations: 6.844 kB / 30.09 MB, free: 1.934 MB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.131e-05/0.007249, allocations: 23.94 kB / 30.11 MB, free: 1.91 MB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.973e-05/0.007315, allocations: 32.97 kB / 30.14 MB, free: 1.879 MB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007511/0.008073, allocations: 463.7 kB / 30.59 MB, free: 1.426 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006529/0.01461, allocations: 1.503 MB / 32.1 MB, free: 6.965 MB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004781/0.01511, allocations: 355.8 kB / 32.44 MB, free: 6.848 MB / 18.57 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002334/0.01535, allocations: 179.5 kB / 32.62 MB, free: 6.84 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00032/0.01568, allocations: 0.5916 MB / 33.21 MB, free: 6.184 MB / 18.57 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.54e-05/0.01571, allocations: 45.27 kB / 33.26 MB, free: 6.145 MB / 18.57 MB Notification: Performance of pre-optimization done (n=22): time 2.184e-06/0.01572, allocations: 0 / 33.26 MB, free: 6.145 MB / 18.57 MB Notification: Performance of matching and sorting (n=22): time 0.0008207/0.01655, allocations: 0.5263 MB / 33.78 MB, free: 6.082 MB / 18.57 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.355e-05/0.01659, allocations: 148.6 kB / 33.93 MB, free: 5.926 MB / 18.57 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001429/0.01674, allocations: 221.3 kB / 34.14 MB, free: 5.812 MB / 18.57 MB Notification: Performance of collectPreVariables (initialization): time 2.065e-05/0.01677, allocations: 32.58 kB / 34.18 MB, free: 5.781 MB / 18.57 MB Notification: Performance of collectInitialEqns (initialization): time 7.881e-05/0.01685, allocations: 218.7 kB / 34.39 MB, free: 5.641 MB / 18.57 MB Notification: Performance of collectInitialBindings (initialization): time 4.314e-05/0.0169, allocations: 75.91 kB / 34.46 MB, free: 5.602 MB / 18.57 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.992e-05/0.01696, allocations: 50.47 kB / 34.51 MB, free: 5.586 MB / 18.57 MB Notification: Performance of setup shared object (initialization): time 4.277e-05/0.01701, allocations: 331.8 kB / 34.84 MB, free: 5.273 MB / 18.57 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002249/0.01724, allocations: 160.2 kB / 34.99 MB, free: 5.27 MB / 18.57 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002471/0.01749, allocations: 253 kB / 35.24 MB, free: 5.129 MB / 18.57 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004303/0.01793, allocations: 411.3 kB / 35.64 MB, free: 4.891 MB / 18.57 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.01795, allocations: 3.469 kB / 35.64 MB, free: 4.891 MB / 18.57 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006513/0.0186, allocations: 0.5429 MB / 36.19 MB, free: 4.352 MB / 18.57 MB Notification: Performance of prepare postOptimizeDAE: time 3.546e-05/0.01865, allocations: 45.69 kB / 36.23 MB, free: 4.301 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.01866, allocations: 4 kB / 36.24 MB, free: 4.297 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.01868, allocations: 4 kB / 36.24 MB, free: 4.293 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001558/0.01884, allocations: 47.91 kB / 36.29 MB, free: 4.246 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.794e-06/0.01886, allocations: 7.938 kB / 36.29 MB, free: 4.238 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001451/0.01901, allocations: 55.73 kB / 36.35 MB, free: 4.184 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.225e-05/0.01905, allocations: 19.98 kB / 36.37 MB, free: 4.164 MB / 18.57 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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.0001869/0.01924, allocations: 247.3 kB / 36.61 MB, free: 3.91 MB / 18.57 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.743e-05/0.01929, allocations: 15.81 kB / 36.63 MB, free: 3.895 MB / 18.57 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006646/0.01996, allocations: 484.8 kB / 37.1 MB, free: 3.418 MB / 18.57 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.01998, allocations: 3.891 kB / 37.1 MB, free: 3.418 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.01999, allocations: 3.984 kB / 37.11 MB, free: 3.414 MB / 18.57 MB Notification: Performance of postOpt removeConstants (simulation): time 2.733e-05/0.02002, allocations: 100.6 kB / 37.2 MB, free: 3.301 MB / 18.57 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.273e-05/0.02007, allocations: 15 kB / 37.22 MB, free: 3.289 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001402/0.02022, allocations: 31.97 kB / 37.25 MB, free: 3.258 MB / 18.57 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001144/0.02034, allocations: 56.72 kB / 37.31 MB, free: 3.203 MB / 18.57 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007079/0.02105, allocations: 0.5919 MB / 37.9 MB, free: 2.594 MB / 18.57 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0008177/0.02189, allocations: 0.7974 MB / 38.7 MB, free: 1.773 MB / 18.57 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002239/0.02212, allocations: 185 kB / 38.88 MB, free: 1.594 MB / 18.57 MB Notification: Performance of sorting global known variables: time 7.507e-05/0.02221, allocations: 137.6 kB / 39.01 MB, free: 1.461 MB / 18.57 MB Notification: Performance of Backend: time 5.61e-07/0.02221, allocations: 0 / 39.01 MB, free: 1.461 MB / 18.57 MB Notification: Performance of simCode: created initialization part: time 0.0008277/0.02305, allocations: 496.9 kB / 39.5 MB, free: 0.9727 MB / 18.57 MB Notification: Performance of SimCode: time 0.006429/0.02949, allocations: 1.25 MB / 40.75 MB, free: 5.926 MB / 18.57 MB Notification: Performance of Templates: time 0.006843/0.03634, allocations: 4.611 MB / 45.36 MB, free: 3.031 MB / 18.57 MB make -j1 -f ConPNlib_ConPNlib.Examples.Test7.makefile (rm -f ConPNlib_ConPNlib.Examples.Test7.pipe ; mkfifo ConPNlib_ConPNlib.Examples.Test7.pipe ; head -c 1048576 < ConPNlib_ConPNlib.Examples.Test7.pipe >> ../files/ConPNlib_ConPNlib.Examples.Test7.sim & ./ConPNlib_ConPNlib.Examples.Test7 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ConPNlib_ConPNlib.Examples.Test7.pipe 2>&1)