Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ConPNlib_ConPNlib.Examples.Test10.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.Test10,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test10") translateModel(ConPNlib.Examples.Test10,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo): time 0.005394/0.005394, allocations: 1.371 MB / 16.65 MB, free: 5.164 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.548e-05/1.567e-05, allocations: 0 / 23.7 MB, free: 3.738 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0007983/0.0008427, allocations: 370.9 kB / 24.06 MB, free: 3.414 MB / 13.93 MB Notification: Performance of NFInst.instantiate(ConPNlib.Examples.Test10): time 0.002386/0.003251, allocations: 1.908 MB / 25.97 MB, free: 1.504 MB / 13.93 MB Notification: Performance of NFInst.instExpressions: time 0.002429/0.005702, allocations: 1.008 MB / 26.98 MB, free: 0.4961 MB / 13.93 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005234/0.006246, allocations: 15.88 kB / 26.99 MB, free: 492 kB / 13.93 MB Notification: Performance of NFTyping.typeComponents: time 0.0004037/0.006672, allocations: 135 kB / 27.13 MB, free: 356 kB / 13.93 MB Notification: Performance of NFTyping.typeBindings: time 0.001376/0.008066, allocations: 368.1 kB / 27.49 MB, free: 4.629 MB / 18.57 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003093/0.008395, allocations: 63.89 kB / 27.55 MB, free: 4.57 MB / 18.57 MB Notification: Performance of NFFlatten.flatten: time 0.001201/0.009615, allocations: 0.7238 MB / 28.27 MB, free: 3.848 MB / 18.57 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008178/0.01045, allocations: 437.9 kB / 28.7 MB, free: 3.402 MB / 18.57 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005077/0.01098, allocations: 274.2 kB / 28.97 MB, free: 3.133 MB / 18.57 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005495/0.01155, allocations: 325.7 kB / 29.29 MB, free: 2.812 MB / 18.57 MB Notification: Performance of NFPackage.collectConstants: time 0.0001274/0.01169, allocations: 28 kB / 29.31 MB, free: 2.785 MB / 18.57 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005929/0.01229, allocations: 227.6 kB / 29.53 MB, free: 2.562 MB / 18.57 MB Notification: Performance of NFScalarize.scalarize: time 0.0002597/0.01257, allocations: 195 kB / 29.73 MB, free: 2.371 MB / 18.57 MB Notification: Performance of NFVerifyModel.verify: time 0.0004028/0.01299, allocations: 355.1 kB / 30.07 MB, free: 2.016 MB / 18.57 MB Notification: Performance of NFConvertDAE.convert: time 0.001198/0.0142, allocations: 0.9736 MB / 31.05 MB, free: 1.039 MB / 18.57 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.01421, allocations: 0 / 31.05 MB, free: 1.039 MB / 18.57 MB Notification: Performance of FrontEnd: time 2.044e-06/0.01422, allocations: 0 / 31.05 MB, free: 1.039 MB / 18.57 MB Notification: Performance of Transformations before backend: time 1.015e-05/0.01424, allocations: 0 / 31.05 MB, free: 1.039 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: 301 * Number of variables: 301 Notification: Performance of Generate backend data structure: time 0.007489/0.02174, allocations: 0.9939 MB / 32.04 MB, free: 7.379 MB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.02179, allocations: 9.719 kB / 32.05 MB, free: 7.379 MB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000324/0.02212, allocations: 110.7 kB / 32.16 MB, free: 7.332 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006375/0.02277, allocations: 0.4921 MB / 32.65 MB, free: 7.062 MB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.176e-05/0.02286, allocations: 91.88 kB / 32.74 MB, free: 7.059 MB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001396/0.023, allocations: 122.5 kB / 32.86 MB, free: 7.055 MB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002621/0.02563, allocations: 1.592 MB / 34.45 MB, free: 6.301 MB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.152e-05/0.02568, allocations: 7.797 kB / 34.46 MB, free: 6.297 MB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001195/0.02581, allocations: 55.3 kB / 34.51 MB, free: 6.246 MB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001751/0.026, allocations: 99.88 kB / 34.61 MB, free: 6.148 MB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00224/0.02825, allocations: 1.132 MB / 35.74 MB, free: 5.012 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005024/0.03329, allocations: 3.47 MB / 39.21 MB, free: 1.355 MB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001485/0.0348, allocations: 0.6621 MB / 39.87 MB, free: 0.6641 MB / 18.57 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009135/0.03573, allocations: 450.2 kB / 40.31 MB, free: 228 kB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00919/0.04494, allocations: 0.5956 MB / 40.91 MB, free: 5.824 MB / 18.57 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.448e-05/0.04501, allocations: 43.69 kB / 40.95 MB, free: 5.785 MB / 18.57 MB Notification: Performance of pre-optimization done (n=51): time 4.238e-06/0.04503, allocations: 0 / 40.95 MB, free: 5.785 MB / 18.57 MB Notification: Performance of matching and sorting (n=51): time 0.002959/0.048, allocations: 1.102 MB / 42.05 MB, free: 5.676 MB / 18.57 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001187/0.04813, allocations: 265.6 kB / 42.31 MB, free: 5.395 MB / 18.57 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000567/0.04872, allocations: 422.4 kB / 42.73 MB, free: 5.285 MB / 18.57 MB Notification: Performance of collectPreVariables (initialization): time 5.335e-05/0.04879, allocations: 43.97 kB / 42.77 MB, free: 5.254 MB / 18.57 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003262/0.04913, allocations: 451.4 kB / 43.21 MB, free: 4.965 MB / 18.57 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001618/0.04931, allocations: 164.9 kB / 43.37 MB, free: 4.848 MB / 18.57 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.714e-05/0.04938, allocations: 23.78 kB / 43.39 MB, free: 4.836 MB / 18.57 MB Notification: Performance of setup shared object (initialization): time 0.0001043/0.0495, allocations: 353.8 kB / 43.74 MB, free: 4.504 MB / 18.57 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008928/0.0504, allocations: 376.5 kB / 44.11 MB, free: 4.402 MB / 18.57 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001036/0.05146, allocations: 0.6022 MB / 44.71 MB, free: 4.02 MB / 18.57 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001736/0.05321, allocations: 0.9608 MB / 45.67 MB, free: 2.965 MB / 18.57 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.633e-06/0.05323, allocations: 0 / 45.67 MB, free: 2.965 MB / 18.57 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002441/0.05569, allocations: 1.131 MB / 46.8 MB, free: 1.828 MB / 18.57 MB Notification: Performance of prepare postOptimizeDAE: time 9.246e-05/0.0558, allocations: 91.38 kB / 46.89 MB, free: 1.727 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.636e-05/0.05583, allocations: 5.484 kB / 46.89 MB, free: 1.723 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.952e-05/0.05587, allocations: 12.84 kB / 46.91 MB, free: 1.711 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006131/0.05649, allocations: 127.7 kB / 47.03 MB, free: 1.586 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.099e-05/0.05653, allocations: 8 kB / 47.04 MB, free: 1.578 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006308/0.05718, allocations: 119.2 kB / 47.16 MB, free: 1.461 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001119/0.05731, allocations: 47.98 kB / 47.2 MB, free: 1.414 MB / 18.57 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 35 ($PRE.P1.fireOut[1],P1.emptying,$PRE.P2.fireOut[1],$PRE.P2.fireOut[2],P2.emptying,$PRE.P3.fireIn[1],P3.feeding,$PRE.P4.fireIn[1],P4.feeding,IA1.outTransition.arcType,P2.outTransition[1].arcType,P1.outTransition[1].arcType,P1.fireOut[1],P2.fireOut[1],P2.fireOut[2],T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyInputActiveVec[2],T1.activation.weaklyOutputActiveVec[1],T2.activation.fed[1],T2.activation.active,T2.activation.weaklyInputActiveVec[1],T2.activation.weaklyOutputActiveVec[1],P3.fireIn[1],P4.fireIn[1],T1.activation.arcType[1],T2.activation.arcType[1],T1.activation.arcType[2],T2.activation.emptied[1],T1.activation.emptied[1],T1.activation.fed[2],T1.activation.fed[1],T2.outPlaces[1].enabledByInPlaces,T1.outPlaces[1].enabledByInPlaces,P2.outTransition[2].arcType) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 81 * Array equations: 4 * Algorithm blocks: 2 * 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.0007714/0.05809, allocations: 458.7 kB / 47.65 MB, free: 0.9492 MB / 18.57 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000132/0.05824, allocations: 43.53 kB / 47.69 MB, free: 0.9062 MB / 18.57 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01178/0.07004, allocations: 0.9386 MB / 48.63 MB, free: 5.25 MB / 18.57 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.925e-05/0.07013, allocations: 13.64 kB / 48.65 MB, free: 5.25 MB / 18.57 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.754e-06/0.07016, allocations: 2.156 kB / 48.65 MB, free: 5.25 MB / 18.57 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.209e-05/0.07018, allocations: 2.953 kB / 48.65 MB, free: 5.25 MB / 18.57 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003547/0.07374, allocations: 1.75 MB / 50.4 MB, free: 4.891 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.161e-06/0.07376, allocations: 0 / 50.4 MB, free: 4.891 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005111/0.07429, allocations: 81.38 kB / 50.48 MB, free: 4.891 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.033e-06/0.07431, allocations: 0 / 50.48 MB, free: 4.891 MB / 18.57 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.821e-05/0.07439, allocations: 25.94 kB / 50.5 MB, free: 4.891 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.031e-06/0.07441, allocations: 6.844 kB / 50.51 MB, free: 4.891 MB / 18.57 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.07443, allocations: 0 / 50.51 MB, free: 4.891 MB / 18.57 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00307/0.07751, allocations: 1.416 MB / 51.93 MB, free: 4.348 MB / 18.57 MB Notification: Performance of postOpt removeConstants (simulation): time 9.088e-05/0.07762, allocations: 130.6 kB / 52.06 MB, free: 4.25 MB / 18.57 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001319/0.07776, allocations: 19.78 kB / 52.07 MB, free: 4.242 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000468/0.07825, allocations: 60.06 kB / 52.13 MB, free: 4.234 MB / 18.57 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003496/0.07861, allocations: 134.3 kB / 52.26 MB, free: 4.125 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.355e-05/0.07872, allocations: 27.98 kB / 52.29 MB, free: 4.098 MB / 18.57 MB Notification: Performance of sorting global known variables: time 0.0003206/0.07905, allocations: 251.2 kB / 52.54 MB, free: 3.852 MB / 18.57 MB Notification: Performance of sort global known variables: time 4.11e-07/0.07907, allocations: 4 kB / 52.54 MB, free: 3.848 MB / 18.57 MB Notification: Performance of remove unused functions: time 0.001053/0.08014, allocations: 281.1 kB / 52.82 MB, free: 3.609 MB / 18.57 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (P1.t_,P2.t_,P3.t_,P4.t_) * Number of discrete variables: 17 (P1.fireOut[1],P1.emptying,P2.fireOut[1],P2.fireOut[2],P2.emptying,T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyInputActiveVec[2],T1.activation.weaklyOutputActiveVec[1],T2.activation.fed[1],T2.activation.active,T2.activation.weaklyInputActiveVec[1],T2.activation.weaklyOutputActiveVec[1],P3.fireIn[1],P3.feeding,P4.fireIn[1],P4.feeding) * Number of discrete states: 12 (T1.activation.weaklyOutputActiveVec[1],T1.activation.weaklyInputActiveVec[2],T1.activation.weaklyInputActiveVec[1],T1.activation.active,T2.activation.weaklyOutputActiveVec[1],T2.activation.weaklyInputActiveVec[1],T2.activation.active,P1.fireOut[1],P2.fireOut[1],P2.fireOut[2],P3.fireIn[1],P4.fireIn[1]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (50): * Single equations (assignments): 44 * Array equations: 4 * Algorithm blocks: 2 * 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.0004344/0.08059, allocations: 212.6 kB / 53.02 MB, free: 3.414 MB / 18.57 MB Notification: Performance of simCode: created initialization part: time 0.002189/0.0828, allocations: 1.129 MB / 54.15 MB, free: 2.27 MB / 18.57 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.08282, allocations: 0 / 54.15 MB, free: 2.27 MB / 18.57 MB Notification: Performance of simCode: created simulation system equations: time 0.001111/0.08394, allocations: 0.6066 MB / 54.76 MB, free: 1.637 MB / 18.57 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007478/0.08471, allocations: 81.86 kB / 54.84 MB, free: 1.566 MB / 18.57 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0137/0.09842, allocations: 2.267 MB / 57.11 MB, free: 4.324 MB / 18.57 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008357/0.09929, allocations: 1.112 MB / 58.22 MB, free: 10.01 MB / 24.96 MB Notification: Performance of simCode: alias equations: time 0.0008714/0.1002, allocations: 254.2 kB / 58.47 MB, free: 10 MB / 24.96 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002827/0.1005, allocations: 82.3 kB / 58.55 MB, free: 9.992 MB / 24.96 MB Notification: Performance of SimCode: time 7.42e-07/0.1005, allocations: 0 / 58.55 MB, free: 9.992 MB / 24.96 MB Notification: Performance of Templates: time 0.02273/0.1232, allocations: 7.638 MB / 66.18 MB, free: 3.484 MB / 24.96 MB make -j1 -f ConPNlib_ConPNlib.Examples.Test10.makefile (rm -f ConPNlib_ConPNlib.Examples.Test10.pipe ; mkfifo ConPNlib_ConPNlib.Examples.Test10.pipe ; head -c 1048576 < ConPNlib_ConPNlib.Examples.Test10.pipe >> ../files/ConPNlib_ConPNlib.Examples.Test10.sim & ./ConPNlib_ConPNlib.Examples.Test10 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ConPNlib_ConPNlib.Examples.Test10.pipe 2>&1)