Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ConPNlib_ConPNlib.Examples.Test8.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.Test8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test8") translateModel(ConPNlib.Examples.Test8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo): time 0.00513/0.00513, allocations: 1.372 MB / 16.98 MB, free: 4.949 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.406e-05/1.41e-05, allocations: 0 / 23.88 MB, free: 3.691 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0004188/0.0004482, allocations: 355.5 kB / 24.23 MB, free: 3.395 MB / 13.93 MB Notification: Performance of NFInst.instantiate(ConPNlib.Examples.Test8): time 0.00103/0.001486, allocations: 1.417 MB / 25.64 MB, free: 1.977 MB / 13.93 MB Notification: Performance of NFInst.instExpressions: time 0.000937/0.002433, allocations: 0.8242 MB / 26.47 MB, free: 1.148 MB / 13.93 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001588/0.002603, allocations: 11.88 kB / 26.48 MB, free: 1.137 MB / 13.93 MB Notification: Performance of NFTyping.typeComponents: time 0.0001779/0.002788, allocations: 104 kB / 26.58 MB, free: 1.035 MB / 13.93 MB Notification: Performance of NFTyping.typeBindings: time 0.0005595/0.003354, allocations: 297.9 kB / 26.87 MB, free: 0.7461 MB / 13.93 MB Notification: Performance of NFTyping.typeClassSections: time 8.92e-05/0.003455, allocations: 47.89 kB / 26.92 MB, free: 0.6992 MB / 13.93 MB Notification: Performance of NFFlatten.flatten: time 0.0003451/0.003808, allocations: 0.557 MB / 27.47 MB, free: 144 kB / 13.93 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002945/0.00411, allocations: 260.6 kB / 27.73 MB, free: 4.512 MB / 18.57 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002117/0.00433, allocations: 228.2 kB / 27.95 MB, free: 4.289 MB / 18.57 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002422/0.004579, allocations: 238.4 kB / 28.18 MB, free: 4.055 MB / 18.57 MB Notification: Performance of NFPackage.collectConstants: time 5.845e-05/0.004647, allocations: 24 kB / 28.21 MB, free: 4.031 MB / 18.57 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002949/0.004947, allocations: 207.6 kB / 28.41 MB, free: 3.828 MB / 18.57 MB Notification: Performance of NFScalarize.scalarize: time 0.0001226/0.005078, allocations: 131.4 kB / 28.54 MB, free: 3.699 MB / 18.57 MB Notification: Performance of NFVerifyModel.verify: time 0.0001013/0.005186, allocations: 121.3 kB / 28.66 MB, free: 3.574 MB / 18.57 MB Notification: Performance of NFConvertDAE.convert: time 0.0005224/0.005715, allocations: 0.5966 MB / 29.25 MB, free: 2.977 MB / 18.57 MB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.005726, allocations: 0 / 29.25 MB, free: 2.977 MB / 18.57 MB Notification: Performance of FrontEnd: time 9.12e-07/0.005732, allocations: 0 / 29.25 MB, free: 2.977 MB / 18.57 MB Notification: Performance of Transformations before backend: time 7.785e-06/0.005746, allocations: 4 kB / 29.26 MB, free: 2.973 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: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 0.0009162/0.006667, allocations: 0.8497 MB / 30.11 MB, free: 2.062 MB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 2.994e-05/0.006704, allocations: 8.297 kB / 30.12 MB, free: 2.055 MB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001409/0.006851, allocations: 81.45 kB / 30.2 MB, free: 1.977 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004872/0.007345, allocations: 427.8 kB / 30.61 MB, free: 1.52 MB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.604e-05/0.007429, allocations: 66.33 kB / 30.68 MB, free: 1.453 MB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001032/0.007538, allocations: 92.27 kB / 30.77 MB, free: 1.363 MB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001654/0.009199, allocations: 1.211 MB / 31.98 MB, free: 136 kB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.667e-05/0.009228, allocations: 176 / 31.98 MB, free: 136 kB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.668e-05/0.00931, allocations: 40.31 kB / 32.02 MB, free: 96 kB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001072/0.009424, allocations: 77.91 kB / 32.09 MB, free: 16 kB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007095/0.01653, allocations: 0.8634 MB / 32.96 MB, free: 7.512 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002377/0.01893, allocations: 2.561 MB / 35.52 MB, free: 5.527 MB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006832/0.01963, allocations: 0.6386 MB / 36.16 MB, free: 4.844 MB / 18.57 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003738/0.02002, allocations: 353.7 kB / 36.5 MB, free: 4.496 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003044/0.02033, allocations: 0.6037 MB / 37.11 MB, free: 3.77 MB / 18.57 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.789e-05/0.02036, allocations: 38.86 kB / 37.14 MB, free: 3.723 MB / 18.57 MB Notification: Performance of pre-optimization done (n=41): time 2.445e-06/0.02037, allocations: 0 / 37.14 MB, free: 3.723 MB / 18.57 MB Notification: Performance of matching and sorting (n=41): time 0.001278/0.02165, allocations: 1.003 MB / 38.15 MB, free: 2.711 MB / 18.57 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.073e-05/0.02172, allocations: 208.2 kB / 38.35 MB, free: 2.465 MB / 18.57 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002228/0.02195, allocations: 322.2 kB / 38.67 MB, free: 2.141 MB / 18.57 MB Notification: Performance of collectPreVariables (initialization): time 3.344e-05/0.02199, allocations: 37.7 kB / 38.7 MB, free: 2.098 MB / 18.57 MB Notification: Performance of collectInitialEqns (initialization): time 0.000134/0.02213, allocations: 340.2 kB / 39.03 MB, free: 1.77 MB / 18.57 MB Notification: Performance of collectInitialBindings (initialization): time 7.65e-05/0.02222, allocations: 137.5 kB / 39.17 MB, free: 1.641 MB / 18.57 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.666e-05/0.02225, allocations: 20 kB / 39.19 MB, free: 1.621 MB / 18.57 MB Notification: Performance of setup shared object (initialization): time 5.897e-05/0.02231, allocations: 342.8 kB / 39.52 MB, free: 1.277 MB / 18.57 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003811/0.0227, allocations: 300.9 kB / 39.82 MB, free: 0.9844 MB / 18.57 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004529/0.02316, allocations: 454 kB / 40.26 MB, free: 488 kB / 18.57 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003941/0.02357, allocations: 372 kB / 40.62 MB, free: 100 kB / 18.57 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.085e-06/0.02358, allocations: 4 kB / 40.63 MB, free: 96 kB / 18.57 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.007035/0.03062, allocations: 0.9808 MB / 41.61 MB, free: 6.074 MB / 18.57 MB Notification: Performance of prepare postOptimizeDAE: time 6.305e-05/0.03071, allocations: 85.69 kB / 41.69 MB, free: 6.012 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.03073, allocations: 7.672 kB / 41.7 MB, free: 6.012 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.932e-05/0.03075, allocations: 7.938 kB / 41.71 MB, free: 6.012 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002806/0.03104, allocations: 87.28 kB / 41.79 MB, free: 6.012 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.212e-05/0.03106, allocations: 10.69 kB / 41.8 MB, free: 6.012 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002546/0.03132, allocations: 88.64 kB / 41.89 MB, free: 6.012 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.163e-05/0.03139, allocations: 39.14 kB / 41.93 MB, free: 6.012 MB / 18.57 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 27 ($PRE.P1.fireOut[1],$PRE.P1.fireOut[2],P1.emptying,$PRE.P2.fireIn[1],P2.feeding,$PRE.P3.fireIn[1],P3.feeding,P1.outTransition[2].arcType,P1.outTransition[1].arcType,P1.fireOut[1],P1.fireOut[2],P2.fireIn[1],T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyOutputActiveVec[1],T2.activation.fed[1],T2.activation.active,T2.activation.weaklyInputActiveVec[1],T2.activation.weaklyOutputActiveVec[1],P3.fireIn[1],T1.activation.arcType[1],T2.activation.arcType[1],T2.activation.emptied[1],T1.activation.emptied[1],T1.activation.fed[1],T2.outPlaces[1].enabledByInPlaces,T1.outPlaces[1].enabledByInPlaces) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 60 * Array equations: 3 * Algorithm blocks: 2 * 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.0003874/0.03178, allocations: 387.9 kB / 42.31 MB, free: 5.836 MB / 18.57 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.648e-05/0.03186, allocations: 36.75 kB / 42.34 MB, free: 5.836 MB / 18.57 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001127/0.03299, allocations: 0.8672 MB / 43.21 MB, free: 5.531 MB / 18.57 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.473e-05/0.03303, allocations: 11.47 kB / 43.22 MB, free: 5.523 MB / 18.57 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.03304, allocations: 0 / 43.22 MB, free: 5.523 MB / 18.57 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.03305, allocations: 4.984 kB / 43.23 MB, free: 5.523 MB / 18.57 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001536/0.03459, allocations: 1.544 MB / 44.77 MB, free: 4.055 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.03461, allocations: 0 / 44.77 MB, free: 4.055 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002393/0.03485, allocations: 59.91 kB / 44.83 MB, free: 3.996 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.03487, allocations: 1.5 kB / 44.83 MB, free: 3.996 MB / 18.57 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.787e-05/0.03491, allocations: 20.84 kB / 44.85 MB, free: 3.977 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.03492, allocations: 9.266 kB / 44.86 MB, free: 3.973 MB / 18.57 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.03493, allocations: 0 / 44.86 MB, free: 3.973 MB / 18.57 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001359/0.03629, allocations: 1.267 MB / 46.13 MB, free: 2.703 MB / 18.57 MB Notification: Performance of postOpt removeConstants (simulation): time 5.647e-05/0.03636, allocations: 111.7 kB / 46.24 MB, free: 2.598 MB / 18.57 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.47e-05/0.03643, allocations: 25.05 kB / 46.26 MB, free: 2.574 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000207/0.03665, allocations: 48.41 kB / 46.31 MB, free: 2.527 MB / 18.57 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001836/0.03684, allocations: 112.5 kB / 46.42 MB, free: 2.418 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.541e-05/0.03689, allocations: 25.16 kB / 46.44 MB, free: 2.395 MB / 18.57 MB Notification: Performance of sorting global known variables: time 0.000139/0.03703, allocations: 197.9 kB / 46.63 MB, free: 2.203 MB / 18.57 MB Notification: Performance of sort global known variables: time 1.3e-07/0.03704, allocations: 0 / 46.63 MB, free: 2.203 MB / 18.57 MB Notification: Performance of remove unused functions: time 0.0005382/0.03758, allocations: 235.2 kB / 46.86 MB, free: 1.988 MB / 18.57 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (P1.t_,P2.t_,P3.t_) * Number of discrete variables: 14 (P1.fireOut[1],P1.fireOut[2],P1.emptying,P2.fireIn[1],P2.feeding,T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyOutputActiveVec[1],T2.activation.fed[1],T2.activation.active,T2.activation.weaklyInputActiveVec[1],T2.activation.weaklyOutputActiveVec[1],P3.fireIn[1],P3.feeding) * Number of discrete states: 10 (T1.activation.weaklyOutputActiveVec[1],T1.activation.weaklyInputActiveVec[1],T1.activation.active,T2.activation.weaklyOutputActiveVec[1],T2.activation.weaklyInputActiveVec[1],T2.activation.active,P1.fireOut[1],P1.fireOut[2],P2.fireIn[1],P3.fireIn[1]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 35 * Array equations: 3 * Algorithm blocks: 2 * 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.0002513/0.03784, allocations: 209.1 kB / 47.07 MB, free: 1.797 MB / 18.57 MB Notification: Performance of simCode: created initialization part: time 0.006754/0.0446, allocations: 0.9068 MB / 47.98 MB, free: 6.164 MB / 18.57 MB Notification: Performance of simCode: created event and clocks part: time 4.638e-06/0.04464, allocations: 0 / 47.98 MB, free: 6.164 MB / 18.57 MB Notification: Performance of simCode: created simulation system equations: time 0.0006636/0.04531, allocations: 0.504 MB / 48.48 MB, free: 6.039 MB / 18.57 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004098/0.04573, allocations: 67.33 kB / 48.55 MB, free: 6.035 MB / 18.57 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001902/0.04764, allocations: 1.643 MB / 50.19 MB, free: 5.352 MB / 18.57 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003515/0.04801, allocations: 0.9883 MB / 51.18 MB, free: 4.656 MB / 18.57 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001918/0.04821, allocations: 87.25 kB / 51.26 MB, free: 4.652 MB / 18.57 MB Notification: Performance of SimCode: time 7.42e-07/0.04822, allocations: 4 kB / 51.27 MB, free: 4.648 MB / 18.57 MB Notification: Performance of Templates: time 0.01595/0.06418, allocations: 8.646 MB / 59.91 MB, free: 1.629 MB / 18.57 MB make -j1 -f ConPNlib_ConPNlib.Examples.Test8.makefile (rm -f ConPNlib_ConPNlib.Examples.Test8.pipe ; mkfifo ConPNlib_ConPNlib.Examples.Test8.pipe ; head -c 1048576 < ConPNlib_ConPNlib.Examples.Test8.pipe >> ../files/ConPNlib_ConPNlib.Examples.Test8.sim & ./ConPNlib_ConPNlib.Examples.Test8 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ConPNlib_ConPNlib.Examples.Test8.pipe 2>&1)