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.009074/0.009074, allocations: 1.358 MB / 17.26 MB, free: 4.566 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.699e-05/1.713e-05, allocations: 0 / 24.31 MB, free: 3.168 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.000744/0.0007855, allocations: 360.2 kB / 24.66 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInst.instantiate(ConPNlib.Examples.Test5): time 0.001411/0.002219, allocations: 1.024 MB / 25.69 MB, free: 1.809 MB / 13.93 MB Notification: Performance of NFInst.instExpressions: time 0.001702/0.003942, allocations: 0.7092 MB / 26.4 MB, free: 1.098 MB / 13.93 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003092/0.004273, allocations: 3.938 kB / 26.4 MB, free: 1.094 MB / 13.93 MB Notification: Performance of NFTyping.typeComponents: time 0.0003446/0.004632, allocations: 67.58 kB / 26.47 MB, free: 1.027 MB / 13.93 MB Notification: Performance of NFTyping.typeBindings: time 0.0009776/0.005625, allocations: 235.2 kB / 26.7 MB, free: 0.7969 MB / 13.93 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001412/0.005786, allocations: 38.86 kB / 26.74 MB, free: 0.7617 MB / 13.93 MB Notification: Performance of NFFlatten.flatten: time 0.0004415/0.006241, allocations: 331 kB / 27.06 MB, free: 448 kB / 13.93 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003091/0.006565, allocations: 148.6 kB / 27.2 MB, free: 292 kB / 13.93 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002096/0.006793, allocations: 131.2 kB / 27.33 MB, free: 160 kB / 13.93 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002321/0.007042, allocations: 135.1 kB / 27.46 MB, free: 24 kB / 13.93 MB Notification: Performance of NFPackage.collectConstants: time 5.318e-05/0.007109, allocations: 12 kB / 27.48 MB, free: 12 kB / 13.93 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005504/0.007669, allocations: 215.7 kB / 27.69 MB, free: 4.441 MB / 18.57 MB Notification: Performance of NFScalarize.scalarize: time 0.0001461/0.00783, allocations: 79.52 kB / 27.76 MB, free: 4.367 MB / 18.57 MB Notification: Performance of NFVerifyModel.verify: time 0.0001943/0.008039, allocations: 135 kB / 27.9 MB, free: 4.234 MB / 18.57 MB Notification: Performance of NFConvertDAE.convert: time 0.0006471/0.008699, allocations: 383.4 kB / 28.27 MB, free: 3.859 MB / 18.57 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.008716, allocations: 0 / 28.27 MB, free: 3.859 MB / 18.57 MB Notification: Performance of FrontEnd: time 2.054e-06/0.008727, allocations: 0 / 28.27 MB, free: 3.859 MB / 18.57 MB Notification: Performance of Transformations before backend: time 1.916e-05/0.008754, allocations: 0 / 28.27 MB, free: 3.859 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.001148/0.009911, allocations: 0.6098 MB / 28.88 MB, free: 3.191 MB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 5.367e-05/0.00998, allocations: 12.97 kB / 28.89 MB, free: 3.18 MB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001521/0.01015, allocations: 40.47 kB / 28.93 MB, free: 3.141 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005874/0.01075, allocations: 303.6 kB / 29.23 MB, free: 2.805 MB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.907e-05/0.01082, allocations: 41.36 kB / 29.27 MB, free: 2.766 MB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001062/0.01094, allocations: 48.38 kB / 29.32 MB, free: 2.719 MB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001576/0.01253, allocations: 0.6447 MB / 29.96 MB, free: 2.055 MB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.887e-05/0.01256, allocations: 192 / 29.96 MB, free: 2.055 MB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.429e-05/0.01264, allocations: 22.59 kB / 29.98 MB, free: 2.035 MB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001/0.01275, allocations: 40.97 kB / 30.02 MB, free: 1.996 MB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001226/0.01399, allocations: 455.7 kB / 30.47 MB, free: 1.551 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01125/0.02525, allocations: 1.504 MB / 31.97 MB, free: 7.109 MB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007245/0.02602, allocations: 244.6 kB / 32.21 MB, free: 7.086 MB / 18.57 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004918/0.02654, allocations: 186.9 kB / 32.39 MB, free: 7.078 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005233/0.02708, allocations: 0.5967 MB / 32.99 MB, free: 6.422 MB / 18.57 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.962e-05/0.02714, allocations: 31.56 kB / 33.02 MB, free: 6.383 MB / 18.57 MB Notification: Performance of pre-optimization done (n=23): time 3.537e-06/0.02715, allocations: 0 / 33.02 MB, free: 6.383 MB / 18.57 MB Notification: Performance of matching and sorting (n=23): time 0.001498/0.02867, allocations: 0.5486 MB / 33.57 MB, free: 6.32 MB / 18.57 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.148e-05/0.02875, allocations: 144.6 kB / 33.71 MB, free: 6.164 MB / 18.57 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002825/0.02904, allocations: 224.5 kB / 33.93 MB, free: 6.055 MB / 18.57 MB Notification: Performance of collectPreVariables (initialization): time 3.469e-05/0.02909, allocations: 32.8 kB / 33.96 MB, free: 6.023 MB / 18.57 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001609/0.02927, allocations: 221.5 kB / 34.18 MB, free: 5.887 MB / 18.57 MB Notification: Performance of collectInitialBindings (initialization): time 8.135e-05/0.02936, allocations: 74.2 kB / 34.25 MB, free: 5.844 MB / 18.57 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.374e-05/0.02945, allocations: 47.16 kB / 34.3 MB, free: 5.828 MB / 18.57 MB Notification: Performance of setup shared object (initialization): time 5.758e-05/0.02952, allocations: 330.9 kB / 34.62 MB, free: 5.516 MB / 18.57 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004092/0.02994, allocations: 171.3 kB / 34.79 MB, free: 5.488 MB / 18.57 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004189/0.03038, allocations: 244.5 kB / 35.03 MB, free: 5.352 MB / 18.57 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008034/0.0312, allocations: 418.3 kB / 35.43 MB, free: 5.121 MB / 18.57 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.03122, allocations: 0 / 35.43 MB, free: 5.121 MB / 18.57 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001173/0.0324, allocations: 0.5467 MB / 35.98 MB, free: 4.684 MB / 18.57 MB Notification: Performance of prepare postOptimizeDAE: time 6.426e-05/0.03248, allocations: 45.69 kB / 36.03 MB, free: 4.633 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.556e-05/0.03251, allocations: 4 kB / 36.03 MB, free: 4.629 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.058e-05/0.03254, allocations: 0 / 36.03 MB, free: 4.629 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002794/0.03283, allocations: 60.12 kB / 36.09 MB, free: 4.57 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.738e-06/0.03286, allocations: 3.828 kB / 36.09 MB, free: 4.57 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002479/0.03311, allocations: 51.66 kB / 36.14 MB, free: 4.52 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.389e-05/0.03318, allocations: 16 kB / 36.16 MB, free: 4.504 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.000414/0.03361, allocations: 259.8 kB / 36.41 MB, free: 4.242 MB / 18.57 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.937e-05/0.03371, allocations: 23.81 kB / 36.43 MB, free: 4.219 MB / 18.57 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001071/0.03479, allocations: 489.4 kB / 36.91 MB, free: 3.738 MB / 18.57 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-05/0.03484, allocations: 4 kB / 36.92 MB, free: 3.734 MB / 18.57 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/0.03485, allocations: 4 kB / 36.92 MB, free: 3.73 MB / 18.57 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.654e-06/0.03487, allocations: 4.984 kB / 36.93 MB, free: 3.727 MB / 18.57 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001608/0.03649, allocations: 0.9305 MB / 37.86 MB, free: 2.742 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.03651, allocations: 6.875 kB / 37.86 MB, free: 2.738 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002384/0.03676, allocations: 39.97 kB / 37.9 MB, free: 2.699 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.11e-06/0.03678, allocations: 0 / 37.9 MB, free: 2.699 MB / 18.57 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.333e-05/0.03682, allocations: 8.547 kB / 37.91 MB, free: 2.691 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.03683, allocations: 4 kB / 37.91 MB, free: 2.688 MB / 18.57 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.03684, allocations: 0 / 37.91 MB, free: 2.688 MB / 18.57 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001424/0.03827, allocations: 0.7323 MB / 38.65 MB, free: 1.934 MB / 18.57 MB Notification: Performance of postOpt removeConstants (simulation): time 5.019e-05/0.03834, allocations: 100.9 kB / 38.74 MB, free: 1.816 MB / 18.57 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.878e-05/0.03842, allocations: 9.016 kB / 38.75 MB, free: 1.809 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002922/0.03873, allocations: 31.97 kB / 38.78 MB, free: 1.777 MB / 18.57 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001778/0.03892, allocations: 61.58 kB / 38.84 MB, free: 1.719 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.227e-05/0.03897, allocations: 16.86 kB / 38.86 MB, free: 1.703 MB / 18.57 MB Notification: Performance of sorting global known variables: time 0.0001278/0.03911, allocations: 137.2 kB / 39 MB, free: 1.57 MB / 18.57 MB Notification: Performance of sort global known variables: time 2.5e-07/0.03912, allocations: 0 / 39 MB, free: 1.57 MB / 18.57 MB Notification: Performance of remove unused functions: time 0.0007255/0.03985, allocations: 154.6 kB / 39.15 MB, free: 1.426 MB / 18.57 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (P1.t_,P2.t_) * Number of discrete variables: 7 (P1.fireOut[1],P1.emptying,P2.fireIn[1],P2.feeding,T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyOutputActiveVec[1]) * Number of discrete states: 5 (T1.activation.weaklyOutputActiveVec[1],T1.activation.weaklyInputActiveVec[1],T1.activation.active,P1.fireOut[1],P2.fireIn[1]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 20 * 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 Backend phase and start with SimCode phase: time 0.0003799/0.04025, allocations: 179.1 kB / 39.32 MB, free: 1.258 MB / 18.57 MB Notification: Performance of simCode: created initialization part: time 0.00103/0.04129, allocations: 499.6 kB / 39.81 MB, free: 0.7578 MB / 18.57 MB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.04131, allocations: 0 / 39.81 MB, free: 0.7578 MB / 18.57 MB Notification: Performance of simCode: created simulation system equations: time 0.0004907/0.04181, allocations: 278 kB / 40.08 MB, free: 488 kB / 18.57 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005224/0.04235, allocations: 42.98 kB / 40.12 MB, free: 452 kB / 18.57 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01079/0.05316, allocations: 0.9293 MB / 41.05 MB, free: 6.102 MB / 18.57 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003923/0.0536, allocations: 0.8342 MB / 41.89 MB, free: 5.402 MB / 18.57 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002724/0.05389, allocations: 57.88 kB / 41.94 MB, free: 5.395 MB / 18.57 MB Notification: Performance of SimCode: time 6.62e-07/0.0539, allocations: 0 / 41.94 MB, free: 5.395 MB / 18.57 MB Notification: Performance of Templates: time 0.01097/0.06489, allocations: 5.261 MB / 47.2 MB, free: 1.535 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)