Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ConPNlib_ConPNlib.Examples.Test2.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.Test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test2") translateModel(ConPNlib.Examples.Test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo): time 0.01802/0.01802, allocations: 1.356 MB / 16.31 MB, free: 4.941 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.593e-05/1.604e-05, allocations: 0 / 23.21 MB, free: 3.742 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0008012/0.0008412, allocations: 355.6 kB / 23.56 MB, free: 3.59 MB / 13.93 MB Notification: Performance of NFInst.instantiate(ConPNlib.Examples.Test2): time 0.001094/0.00195, allocations: 0.7078 MB / 24.27 MB, free: 3.148 MB / 13.93 MB Notification: Performance of NFInst.instExpressions: time 0.001128/0.003096, allocations: 0.5432 MB / 24.81 MB, free: 2.605 MB / 13.93 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001339/0.003247, allocations: 4 kB / 24.82 MB, free: 2.602 MB / 13.93 MB Notification: Performance of NFTyping.typeComponents: time 0.0001924/0.003452, allocations: 52.22 kB / 24.87 MB, free: 2.551 MB / 13.93 MB Notification: Performance of NFTyping.typeBindings: time 0.0007154/0.00418, allocations: 184.5 kB / 25.05 MB, free: 2.371 MB / 13.93 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001169/0.004315, allocations: 38.73 kB / 25.08 MB, free: 2.336 MB / 13.93 MB Notification: Performance of NFFlatten.flatten: time 0.0002151/0.004545, allocations: 139.7 kB / 25.22 MB, free: 2.199 MB / 13.93 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001811/0.004738, allocations: 72.67 kB / 25.29 MB, free: 2.125 MB / 13.93 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001086/0.00486, allocations: 79.56 kB / 25.37 MB, free: 2.047 MB / 13.93 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001253/0.004996, allocations: 79.53 kB / 25.45 MB, free: 1.969 MB / 13.93 MB Notification: Performance of NFPackage.collectConstants: time 2.903e-05/0.005037, allocations: 8 kB / 25.45 MB, free: 1.961 MB / 13.93 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002345/0.005282, allocations: 115.8 kB / 25.57 MB, free: 1.848 MB / 13.93 MB Notification: Performance of NFScalarize.scalarize: time 6.431e-05/0.00536, allocations: 39.83 kB / 25.61 MB, free: 1.809 MB / 13.93 MB Notification: Performance of NFVerifyModel.verify: time 4.95e-05/0.00542, allocations: 61.56 kB / 25.67 MB, free: 1.742 MB / 13.93 MB Notification: Performance of NFConvertDAE.convert: time 0.0003124/0.005741, allocations: 225.7 kB / 25.89 MB, free: 1.523 MB / 13.93 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.005757, allocations: 0 / 25.89 MB, free: 1.523 MB / 13.93 MB Notification: Performance of FrontEnd: time 1.883e-06/0.005768, allocations: 0 / 25.89 MB, free: 1.523 MB / 13.93 MB Notification: Performance of Transformations before backend: time 6.974e-06/0.005783, allocations: 0 / 25.89 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.0006329/0.006424, allocations: 0.4889 MB / 26.38 MB, free: 0.9844 MB / 13.93 MB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.006471, allocations: 8.297 kB / 26.38 MB, free: 0.9766 MB / 13.93 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.82e-05/0.00656, allocations: 28.58 kB / 26.41 MB, free: 0.9492 MB / 13.93 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003068/0.006877, allocations: 251.8 kB / 26.66 MB, free: 0.6641 MB / 13.93 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.379e-05/0.006926, allocations: 16.91 kB / 26.67 MB, free: 0.6484 MB / 13.93 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.155e-05/0.006997, allocations: 32.33 kB / 26.71 MB, free: 0.6172 MB / 13.93 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008496/0.007856, allocations: 360.1 kB / 27.06 MB, free: 256 kB / 13.93 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.712e-05/0.007892, allocations: 8.328 kB / 27.07 MB, free: 248 kB / 13.93 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.846e-05/0.00794, allocations: 7.953 kB / 27.07 MB, free: 240 kB / 13.93 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.955e-05/0.008018, allocations: 28.55 kB / 27.1 MB, free: 212 kB / 13.93 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006522/0.008681, allocations: 242.1 kB / 27.34 MB, free: 4.617 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001758/0.01045, allocations: 0.8562 MB / 28.19 MB, free: 3.672 MB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005128/0.01099, allocations: 162.6 kB / 28.35 MB, free: 3.504 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004593/0.01146, allocations: 433.5 kB / 28.78 MB, free: 2.988 MB / 18.57 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.996e-05/0.01152, allocations: 38.5 kB / 28.81 MB, free: 2.941 MB / 18.57 MB Notification: Performance of pre-optimization done (n=14): time 3.497e-06/0.01153, allocations: 2.906 kB / 28.82 MB, free: 2.941 MB / 18.57 MB Notification: Performance of matching and sorting (n=14): time 0.001084/0.01263, allocations: 416.5 kB / 29.22 MB, free: 2.504 MB / 18.57 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.751e-05/0.01273, allocations: 110.8 kB / 29.33 MB, free: 2.371 MB / 18.57 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000201/0.01295, allocations: 166.9 kB / 29.49 MB, free: 2.195 MB / 18.57 MB Notification: Performance of collectPreVariables (initialization): time 3.319e-05/0.01299, allocations: 25.7 kB / 29.52 MB, free: 2.164 MB / 18.57 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001423/0.01315, allocations: 163.9 kB / 29.68 MB, free: 1.996 MB / 18.57 MB Notification: Performance of collectInitialBindings (initialization): time 6.763e-05/0.01323, allocations: 43.36 kB / 29.72 MB, free: 1.953 MB / 18.57 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.041e-05/0.01326, allocations: 4 kB / 29.73 MB, free: 1.949 MB / 18.57 MB Notification: Performance of setup shared object (initialization): time 0.0001384/0.0134, allocations: 326.8 kB / 30.05 MB, free: 1.621 MB / 18.57 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002874/0.0137, allocations: 92.33 kB / 30.14 MB, free: 1.531 MB / 18.57 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003419/0.01406, allocations: 138.3 kB / 30.27 MB, free: 1.379 MB / 18.57 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003273/0.0144, allocations: 129.6 kB / 30.4 MB, free: 1.246 MB / 18.57 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.01442, allocations: 0 / 30.4 MB, free: 1.246 MB / 18.57 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008931/0.01532, allocations: 331 kB / 30.72 MB, free: 0.9102 MB / 18.57 MB Notification: Performance of prepare postOptimizeDAE: time 6.215e-05/0.0154, allocations: 45.64 kB / 30.76 MB, free: 0.8594 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/0.01543, allocations: 3.953 kB / 30.77 MB, free: 0.8555 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.01545, allocations: 0 / 30.77 MB, free: 0.8555 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002469/0.01571, allocations: 36.09 kB / 30.8 MB, free: 0.8203 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.266e-05/0.01574, allocations: 4 kB / 30.81 MB, free: 0.8164 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001867/0.01594, allocations: 31.77 kB / 30.84 MB, free: 0.7852 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.338e-05/0.016, allocations: 12 kB / 30.85 MB, free: 0.7734 MB / 18.57 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.P1.fireOut[1],P1.emptying,P1.outTransition[1].arcType,T1.activation.active,T1.activation.weaklyInputActiveVec[1],P1.fireOut[1],T1.activation.arcType[1],T1.activation.fed[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 20 * Array equations: 1 * Algorithm blocks: 1 * 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.000293/0.0163, allocations: 205.8 kB / 31.05 MB, free: 0.5586 MB / 18.57 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.495e-05/0.01637, allocations: 11.81 kB / 31.06 MB, free: 0.5469 MB / 18.57 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009837/0.01737, allocations: 359.9 kB / 31.41 MB, free: 184 kB / 18.57 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.916e-05/0.0174, allocations: 4 kB / 31.42 MB, free: 180 kB / 18.57 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.01742, allocations: 0 / 31.42 MB, free: 180 kB / 18.57 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.01743, allocations: 3.938 kB / 31.42 MB, free: 176 kB / 18.57 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01257/0.03002, allocations: 0.6402 MB / 32.06 MB, free: 7.48 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.03007, allocations: 0 / 32.06 MB, free: 7.48 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002089/0.03029, allocations: 25.34 kB / 32.09 MB, free: 7.48 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.165e-06/0.03031, allocations: 8.469 kB / 32.1 MB, free: 7.48 MB / 18.57 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.992e-05/0.03035, allocations: 4.75 kB / 32.1 MB, free: 7.48 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.03036, allocations: 4.094 kB / 32.1 MB, free: 7.48 MB / 18.57 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.03037, allocations: 3.891 kB / 32.11 MB, free: 7.48 MB / 18.57 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001008/0.03139, allocations: 494.2 kB / 32.59 MB, free: 7.32 MB / 18.57 MB Notification: Performance of postOpt removeConstants (simulation): time 4.617e-05/0.03145, allocations: 92.16 kB / 32.68 MB, free: 7.227 MB / 18.57 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.904e-05/0.03151, allocations: 11.17 kB / 32.69 MB, free: 7.227 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001833/0.03171, allocations: 17.23 kB / 32.71 MB, free: 7.227 MB / 18.57 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000152/0.03187, allocations: 33.34 kB / 32.74 MB, free: 7.227 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.148e-05/0.03191, allocations: 15.75 kB / 32.76 MB, free: 7.227 MB / 18.57 MB Notification: Performance of sorting global known variables: time 9.555e-05/0.03202, allocations: 115.4 kB / 32.87 MB, free: 7.148 MB / 18.57 MB Notification: Performance of sort global known variables: time 3.81e-07/0.03203, allocations: 0 / 32.87 MB, free: 7.148 MB / 18.57 MB Notification: Performance of remove unused functions: time 0.0005018/0.03254, allocations: 90.62 kB / 32.96 MB, free: 7.148 MB / 18.57 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (P1.t_) * Number of discrete variables: 4 (T1.activation.active,T1.activation.weaklyInputActiveVec[1],P1.fireOut[1],P1.emptying) * Number of discrete states: 3 (T1.activation.weaklyInputActiveVec[1],T1.activation.active,P1.fireOut[1]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 13 * Array equations: 1 * Algorithm blocks: 1 * 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.0002976/0.03285, allocations: 149 kB / 33.1 MB, free: 7.059 MB / 18.57 MB Notification: Performance of simCode: created initialization part: time 0.0006606/0.03352, allocations: 303.9 kB / 33.4 MB, free: 6.965 MB / 18.57 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.03354, allocations: 0 / 33.4 MB, free: 6.965 MB / 18.57 MB Notification: Performance of simCode: created simulation system equations: time 0.0003073/0.03386, allocations: 174.4 kB / 33.57 MB, free: 6.805 MB / 18.57 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002663/0.03414, allocations: 15.88 kB / 33.59 MB, free: 6.793 MB / 18.57 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001015/0.03517, allocations: 0.5008 MB / 34.09 MB, free: 6.328 MB / 18.57 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002564/0.03544, allocations: 0.7772 MB / 34.86 MB, free: 5.562 MB / 18.57 MB Notification: Performance of simCode: alias equations: time 0.0002678/0.03572, allocations: 85.27 kB / 34.95 MB, free: 5.508 MB / 18.57 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001221/0.03586, allocations: 39.84 kB / 34.99 MB, free: 5.473 MB / 18.57 MB Notification: Performance of SimCode: time 1.022e-06/0.03587, allocations: 0 / 34.99 MB, free: 5.473 MB / 18.57 MB Notification: Performance of Templates: time 0.008348/0.04423, allocations: 2.557 MB / 37.54 MB, free: 2.961 MB / 18.57 MB make -j1 -f ConPNlib_ConPNlib.Examples.Test2.makefile (rm -f ConPNlib_ConPNlib.Examples.Test2.pipe ; mkfifo ConPNlib_ConPNlib.Examples.Test2.pipe ; head -c 1048576 < ConPNlib_ConPNlib.Examples.Test2.pipe >> ../files/ConPNlib_ConPNlib.Examples.Test2.sim & ./ConPNlib_ConPNlib.Examples.Test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ConPNlib_ConPNlib.Examples.Test2.pipe 2>&1)