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.005178/0.005178, allocations: 1.375 MB / 16.98 MB, free: 5.145 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.409e-05/1.43e-05, allocations: 0 / 23.87 MB, free: 3.93 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.000529/0.0005623, allocations: 364.1 kB / 24.23 MB, free: 3.633 MB / 13.93 MB Notification: Performance of NFInst.instantiate(ConPNlib.Examples.Test7): time 0.0008575/0.001431, allocations: 0.932 MB / 25.16 MB, free: 2.699 MB / 13.93 MB Notification: Performance of NFInst.instExpressions: time 0.000965/0.002408, allocations: 0.6416 MB / 25.8 MB, free: 2.055 MB / 13.93 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002066/0.002628, allocations: 7.938 kB / 25.81 MB, free: 2.047 MB / 13.93 MB Notification: Performance of NFTyping.typeComponents: time 0.0001726/0.00281, allocations: 66.02 kB / 25.87 MB, free: 1.984 MB / 13.93 MB Notification: Performance of NFTyping.typeBindings: time 0.0006061/0.003425, allocations: 227.2 kB / 26.1 MB, free: 1.762 MB / 13.93 MB Notification: Performance of NFTyping.typeClassSections: time 8.76e-05/0.003524, allocations: 19.98 kB / 26.11 MB, free: 1.742 MB / 13.93 MB Notification: Performance of NFFlatten.flatten: time 0.0002812/0.003813, allocations: 323 kB / 26.43 MB, free: 1.426 MB / 13.93 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001748/0.003997, allocations: 145.6 kB / 26.57 MB, free: 1.273 MB / 13.93 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001433/0.004148, allocations: 116.8 kB / 26.69 MB, free: 1.16 MB / 13.93 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001442/0.004299, allocations: 131.1 kB / 26.81 MB, free: 1.031 MB / 13.93 MB Notification: Performance of NFPackage.collectConstants: time 4.024e-05/0.004347, allocations: 12 kB / 26.83 MB, free: 1.02 MB / 13.93 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002666/0.004619, allocations: 207.6 kB / 27.03 MB, free: 0.8164 MB / 13.93 MB Notification: Performance of NFScalarize.scalarize: time 6.264e-05/0.00469, allocations: 59.7 kB / 27.09 MB, free: 0.7578 MB / 13.93 MB Notification: Performance of NFVerifyModel.verify: time 5.297e-05/0.00475, allocations: 85.52 kB / 27.17 MB, free: 0.668 MB / 13.93 MB Notification: Performance of NFConvertDAE.convert: time 0.0003241/0.00508, allocations: 379.3 kB / 27.54 MB, free: 304 kB / 13.93 MB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.005091, allocations: 0 / 27.54 MB, free: 304 kB / 13.93 MB Notification: Performance of FrontEnd: time 8.71e-07/0.005097, allocations: 0 / 27.54 MB, free: 304 kB / 13.93 MB Notification: Performance of Transformations before backend: time 7.815e-06/0.005109, allocations: 0 / 27.54 MB, free: 304 kB / 13.93 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.0007279/0.005843, allocations: 0.6059 MB / 28.15 MB, free: 4.281 MB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 3.347e-05/0.005884, allocations: 8.297 kB / 28.15 MB, free: 4.273 MB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001055/0.005995, allocations: 44.39 kB / 28.2 MB, free: 4.23 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000352/0.006354, allocations: 299.7 kB / 28.49 MB, free: 3.898 MB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.295e-05/0.006417, allocations: 41.33 kB / 28.53 MB, free: 3.859 MB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.335e-05/0.006486, allocations: 44.34 kB / 28.57 MB, free: 3.816 MB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009636/0.007456, allocations: 0.6401 MB / 29.21 MB, free: 3.16 MB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/0.007482, allocations: 6.297 kB / 29.22 MB, free: 3.156 MB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.294e-05/0.007531, allocations: 20.12 kB / 29.24 MB, free: 3.137 MB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.528e-05/0.007602, allocations: 44.97 kB / 29.28 MB, free: 3.094 MB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000719/0.008327, allocations: 451.7 kB / 29.73 MB, free: 2.652 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001759/0.0101, allocations: 1.501 MB / 31.23 MB, free: 1.02 MB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005376/0.01065, allocations: 355.9 kB / 31.57 MB, free: 0.6445 MB / 18.57 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000273/0.01093, allocations: 184.9 kB / 31.75 MB, free: 472 kB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005461/0.0164, allocations: 0.5856 MB / 32.34 MB, free: 7.156 MB / 18.57 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.203e-05/0.01644, allocations: 34.97 kB / 32.37 MB, free: 7.117 MB / 18.57 MB Notification: Performance of pre-optimization done (n=22): time 2.996e-06/0.01645, allocations: 0 / 32.37 MB, free: 7.117 MB / 18.57 MB Notification: Performance of matching and sorting (n=22): time 0.0009588/0.01742, allocations: 0.5264 MB / 32.9 MB, free: 7.051 MB / 18.57 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.461e-05/0.01748, allocations: 145.4 kB / 33.04 MB, free: 6.895 MB / 18.57 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001748/0.01767, allocations: 225.7 kB / 33.26 MB, free: 6.781 MB / 18.57 MB Notification: Performance of collectPreVariables (initialization): time 2.402e-05/0.0177, allocations: 32.91 kB / 33.29 MB, free: 6.75 MB / 18.57 MB Notification: Performance of collectInitialEqns (initialization): time 9.993e-05/0.0178, allocations: 221.4 kB / 33.51 MB, free: 6.609 MB / 18.57 MB Notification: Performance of collectInitialBindings (initialization): time 4.847e-05/0.01786, allocations: 72.14 kB / 33.58 MB, free: 6.57 MB / 18.57 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.643e-05/0.01788, allocations: 10.23 kB / 33.59 MB, free: 6.57 MB / 18.57 MB Notification: Performance of setup shared object (initialization): time 5.487e-05/0.01794, allocations: 331.3 kB / 33.91 MB, free: 6.258 MB / 18.57 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002263/0.01817, allocations: 170 kB / 34.08 MB, free: 6.254 MB / 18.57 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002386/0.01842, allocations: 234.8 kB / 34.31 MB, free: 6.168 MB / 18.57 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002452/0.01867, allocations: 205.1 kB / 34.51 MB, free: 6.117 MB / 18.57 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.01869, allocations: 0 / 34.51 MB, free: 6.117 MB / 18.57 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.000646/0.01934, allocations: 0.5361 MB / 35.05 MB, free: 5.914 MB / 18.57 MB Notification: Performance of prepare postOptimizeDAE: time 3.718e-05/0.01939, allocations: 45.89 kB / 35.09 MB, free: 5.879 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.0194, allocations: 3.25 kB / 35.09 MB, free: 5.879 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.01942, allocations: 3.562 kB / 35.1 MB, free: 5.879 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001671/0.01959, allocations: 47.78 kB / 35.14 MB, free: 5.867 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.866e-06/0.01961, allocations: 4 kB / 35.15 MB, free: 5.863 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001507/0.01976, allocations: 58.52 kB / 35.21 MB, free: 5.809 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.586e-05/0.01981, allocations: 16 kB / 35.22 MB, free: 5.793 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 ($PRE.P1.fireOut[1],P1.emptying,$PRE.P2.fireIn[1],P2.feeding,P1.outTransition[1].arcType,P1.fireOut[1],P2.fireIn[1],T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyOutputActiveVec[1],T1.activation.arcType[1],T1.activation.emptied[1],T1.activation.fed[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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002133/0.02003, allocations: 262.3 kB / 35.48 MB, free: 5.531 MB / 18.57 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.44e-05/0.02009, allocations: 23.81 kB / 35.5 MB, free: 5.508 MB / 18.57 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006377/0.02073, allocations: 477.7 kB / 35.97 MB, free: 5.039 MB / 18.57 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.721e-05/0.02076, allocations: 8 kB / 35.98 MB, free: 5.031 MB / 18.57 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.02077, allocations: 0 / 35.98 MB, free: 5.031 MB / 18.57 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.02078, allocations: 0 / 35.98 MB, free: 5.031 MB / 18.57 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009007/0.02169, allocations: 0.9213 MB / 36.9 MB, free: 4.059 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.0217, allocations: 0 / 36.9 MB, free: 4.059 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001289/0.02183, allocations: 40.48 kB / 36.94 MB, free: 4.02 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.02185, allocations: 0 / 36.94 MB, free: 4.02 MB / 18.57 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.161e-05/0.02187, allocations: 8 kB / 36.94 MB, free: 4.012 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.02188, allocations: 0 / 36.94 MB, free: 4.012 MB / 18.57 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.02188, allocations: 0 / 36.94 MB, free: 4.012 MB / 18.57 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007749/0.02266, allocations: 0.7219 MB / 37.67 MB, free: 3.27 MB / 18.57 MB Notification: Performance of postOpt removeConstants (simulation): time 3.192e-05/0.02271, allocations: 96.8 kB / 37.76 MB, free: 3.156 MB / 18.57 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.116e-05/0.02275, allocations: 17.3 kB / 37.78 MB, free: 3.141 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001389/0.0229, allocations: 29.27 kB / 37.81 MB, free: 3.113 MB / 18.57 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001204/0.02303, allocations: 57.38 kB / 37.86 MB, free: 3.059 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.458e-05/0.02306, allocations: 16.69 kB / 37.88 MB, free: 3.043 MB / 18.57 MB Notification: Performance of sorting global known variables: time 7.743e-05/0.02314, allocations: 137.6 kB / 38.01 MB, free: 2.91 MB / 18.57 MB Notification: Performance of sort global known variables: time 1.3e-07/0.02315, allocations: 0 / 38.01 MB, free: 2.91 MB / 18.57 MB Notification: Performance of remove unused functions: time 0.0004046/0.02356, allocations: 156.8 kB / 38.17 MB, free: 2.766 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 (22): * Single equations (assignments): 19 * Array equations: 2 * 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.0002212/0.02379, allocations: 177.5 kB / 38.34 MB, free: 2.598 MB / 18.57 MB Notification: Performance of simCode: created initialization part: time 0.0005709/0.02436, allocations: 494.1 kB / 38.82 MB, free: 2.105 MB / 18.57 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.02438, allocations: 0 / 38.82 MB, free: 2.105 MB / 18.57 MB Notification: Performance of simCode: created simulation system equations: time 0.0002518/0.02463, allocations: 266.2 kB / 39.08 MB, free: 1.836 MB / 18.57 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003385/0.02498, allocations: 39.11 kB / 39.12 MB, free: 1.801 MB / 18.57 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001112/0.02611, allocations: 0.9032 MB / 40.02 MB, free: 0.875 MB / 18.57 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002876/0.02641, allocations: 0.8421 MB / 40.86 MB, free: 8 kB / 18.57 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006224/0.03265, allocations: 50.69 kB / 40.91 MB, free: 5.754 MB / 18.57 MB Notification: Performance of SimCode: time 7.81e-07/0.03267, allocations: 0 / 40.91 MB, free: 5.754 MB / 18.57 MB Notification: Performance of Templates: time 0.006053/0.03874, allocations: 5.202 MB / 46.12 MB, free: 2.34 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)