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.01195/0.01195, allocations: 1.362 MB / 16.33 MB, free: 5.344 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.168e-05/1.159e-05, allocations: 0 / 23.23 MB, free: 3.996 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0003597/0.000386, allocations: 357.1 kB / 23.58 MB, free: 3.844 MB / 13.93 MB Notification: Performance of NFInst.instantiate(ConPNlib.Examples.Test10): time 0.001329/0.001723, allocations: 1.776 MB / 25.36 MB, free: 2.266 MB / 13.93 MB Notification: Performance of NFInst.instExpressions: time 0.001176/0.00291, allocations: 0.9498 MB / 26.31 MB, free: 1.312 MB / 13.93 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002316/0.003153, allocations: 11.94 kB / 26.32 MB, free: 1.301 MB / 13.93 MB Notification: Performance of NFTyping.typeComponents: time 0.0002168/0.003378, allocations: 128 kB / 26.45 MB, free: 1.176 MB / 13.93 MB Notification: Performance of NFTyping.typeBindings: time 0.000719/0.004105, allocations: 352.2 kB / 26.79 MB, free: 0.832 MB / 13.93 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001323/0.004249, allocations: 52.67 kB / 26.84 MB, free: 0.7812 MB / 13.93 MB Notification: Performance of NFFlatten.flatten: time 0.0004954/0.004753, allocations: 0.6933 MB / 27.53 MB, free: 88 kB / 13.93 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000438/0.005209, allocations: 357.1 kB / 27.88 MB, free: 4.371 MB / 18.58 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002683/0.005486, allocations: 278.2 kB / 28.15 MB, free: 4.098 MB / 18.58 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002844/0.005778, allocations: 294 kB / 28.44 MB, free: 3.809 MB / 18.58 MB Notification: Performance of NFPackage.collectConstants: time 6.172e-05/0.005848, allocations: 24 kB / 28.47 MB, free: 3.785 MB / 18.58 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003471/0.0062, allocations: 219.6 kB / 28.68 MB, free: 3.57 MB / 18.58 MB Notification: Performance of NFScalarize.scalarize: time 0.0001512/0.00636, allocations: 163.2 kB / 28.84 MB, free: 3.41 MB / 18.58 MB Notification: Performance of NFVerifyModel.verify: time 0.0001367/0.006505, allocations: 153.2 kB / 28.99 MB, free: 3.254 MB / 18.58 MB Notification: Performance of NFConvertDAE.convert: time 0.000668/0.00718, allocations: 0.7486 MB / 29.74 MB, free: 2.504 MB / 18.58 MB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.007193, allocations: 4 kB / 29.74 MB, free: 2.5 MB / 18.58 MB Notification: Performance of FrontEnd: time 1.212e-06/0.007199, allocations: 0 / 29.74 MB, free: 2.5 MB / 18.58 MB Notification: Performance of Transformations before backend: time 9.257e-06/0.007214, allocations: 0 / 29.74 MB, free: 2.5 MB / 18.58 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.001105/0.008323, allocations: 1.002 MB / 30.74 MB, free: 1.434 MB / 18.58 MB Notification: Performance of prepare preOptimizeDAE: time 3.037e-05/0.00836, allocations: 8.297 kB / 30.75 MB, free: 1.426 MB / 18.58 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001606/0.008526, allocations: 107.6 kB / 30.86 MB, free: 1.32 MB / 18.58 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006313/0.009165, allocations: 0.4943 MB / 31.35 MB, free: 0.7852 MB / 18.58 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.146e-05/0.009258, allocations: 86.59 kB / 31.44 MB, free: 0.6992 MB / 18.58 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001343/0.0094, allocations: 120.3 kB / 31.55 MB, free: 0.582 MB / 18.58 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007316/0.01672, allocations: 1.578 MB / 33.13 MB, free: 7.305 MB / 18.58 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.5e-05/0.01678, allocations: 2.422 kB / 33.13 MB, free: 7.305 MB / 18.58 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.627e-05/0.01687, allocations: 58.09 kB / 33.19 MB, free: 7.273 MB / 18.58 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001214/0.017, allocations: 96.88 kB / 33.28 MB, free: 7.262 MB / 18.58 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001422/0.01843, allocations: 1.127 MB / 34.41 MB, free: 6.574 MB / 18.58 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003093/0.02153, allocations: 3.478 MB / 37.89 MB, free: 2.953 MB / 18.58 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008047/0.02236, allocations: 0.6622 MB / 38.55 MB, free: 2.262 MB / 18.58 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004516/0.02282, allocations: 450.2 kB / 38.99 MB, free: 1.82 MB / 18.58 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003109/0.02314, allocations: 0.6016 MB / 39.59 MB, free: 1.09 MB / 18.58 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.991e-05/0.02317, allocations: 38.94 kB / 39.63 MB, free: 1.043 MB / 18.58 MB Notification: Performance of pre-optimization done (n=51): time 2.595e-06/0.02318, allocations: 0 / 39.63 MB, free: 1.043 MB / 18.58 MB Notification: Performance of matching and sorting (n=51): time 0.008899/0.03208, allocations: 1.099 MB / 40.73 MB, free: 6.383 MB / 18.58 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.233e-05/0.03219, allocations: 269.1 kB / 40.99 MB, free: 6.102 MB / 18.58 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003435/0.03254, allocations: 415.3 kB / 41.4 MB, free: 5.992 MB / 18.58 MB Notification: Performance of collectPreVariables (initialization): time 6.074e-05/0.03261, allocations: 41.48 kB / 41.44 MB, free: 5.961 MB / 18.58 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002234/0.03284, allocations: 449 kB / 41.88 MB, free: 5.742 MB / 18.58 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001027/0.03295, allocations: 169.1 kB / 42.04 MB, free: 5.645 MB / 18.58 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.575e-05/0.033, allocations: 18.64 kB / 42.06 MB, free: 5.645 MB / 18.58 MB Notification: Performance of setup shared object (initialization): time 6.599e-05/0.03307, allocations: 357.1 kB / 42.41 MB, free: 5.332 MB / 18.58 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004861/0.03356, allocations: 383.5 kB / 42.78 MB, free: 5.332 MB / 18.58 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005287/0.0341, allocations: 0.5897 MB / 43.37 MB, free: 4.969 MB / 18.58 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004821/0.03459, allocations: 466.9 kB / 43.83 MB, free: 4.77 MB / 18.58 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.0346, allocations: 0 / 43.83 MB, free: 4.77 MB / 18.58 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001313/0.03592, allocations: 1.124 MB / 44.95 MB, free: 4.219 MB / 18.58 MB Notification: Performance of prepare postOptimizeDAE: time 5.419e-05/0.03599, allocations: 91.95 kB / 45.04 MB, free: 4.129 MB / 18.58 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.036, allocations: 8 kB / 45.05 MB, free: 4.121 MB / 18.58 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.932e-05/0.03603, allocations: 8 kB / 45.06 MB, free: 4.113 MB / 18.58 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003272/0.03636, allocations: 129.7 kB / 45.19 MB, free: 3.996 MB / 18.58 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/0.03638, allocations: 11.47 kB / 45.2 MB, free: 3.988 MB / 18.58 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000313/0.0367, allocations: 115.4 kB / 45.31 MB, free: 3.875 MB / 18.58 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.584e-05/0.03678, allocations: 45.23 kB / 45.35 MB, free: 3.832 MB / 18.58 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003875/0.03718, allocations: 456.7 kB / 45.8 MB, free: 3.367 MB / 18.58 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.142e-05/0.03725, allocations: 51.44 kB / 45.85 MB, free: 3.316 MB / 18.58 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001172/0.03843, allocations: 0.9435 MB / 46.79 MB, free: 2.355 MB / 18.58 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.633e-05/0.03847, allocations: 11.98 kB / 46.81 MB, free: 2.344 MB / 18.58 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.03848, allocations: 7.953 kB / 46.81 MB, free: 2.336 MB / 18.58 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.03849, allocations: 0 / 46.81 MB, free: 2.336 MB / 18.58 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001946/0.04044, allocations: 1.748 MB / 48.56 MB, free: 0.5391 MB / 18.58 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.04046, allocations: 0 / 48.56 MB, free: 0.5391 MB / 18.58 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006024/0.04649, allocations: 75.44 kB / 48.64 MB, free: 5.566 MB / 18.58 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.702e-06/0.04652, allocations: 6.844 kB / 48.64 MB, free: 5.566 MB / 18.58 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.734e-05/0.04659, allocations: 22.58 kB / 48.66 MB, free: 5.566 MB / 18.58 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.0466, allocations: 6.5 kB / 48.67 MB, free: 5.566 MB / 18.58 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.0466, allocations: 2.188 kB / 48.67 MB, free: 5.566 MB / 18.58 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001656/0.04826, allocations: 1.408 MB / 50.08 MB, free: 5.375 MB / 18.58 MB Notification: Performance of postOpt removeConstants (simulation): time 6.208e-05/0.04834, allocations: 124.3 kB / 50.2 MB, free: 5.281 MB / 18.58 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.742e-05/0.04842, allocations: 22.23 kB / 50.22 MB, free: 5.277 MB / 18.58 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002422/0.04867, allocations: 67.02 kB / 50.29 MB, free: 5.27 MB / 18.58 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002146/0.04889, allocations: 130.5 kB / 50.42 MB, free: 5.238 MB / 18.58 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.218e-05/0.04895, allocations: 27.38 kB / 50.44 MB, free: 5.234 MB / 18.58 MB Notification: Performance of sorting global known variables: time 0.0001916/0.04915, allocations: 249.9 kB / 50.69 MB, free: 5.102 MB / 18.58 MB Notification: Performance of sort global known variables: time 1.31e-07/0.04916, allocations: 3.844 kB / 50.69 MB, free: 5.102 MB / 18.58 MB Notification: Performance of remove unused functions: time 0.0006391/0.0498, allocations: 282.1 kB / 50.97 MB, free: 5.059 MB / 18.58 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 (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.0003273/0.05014, allocations: 210.9 kB / 51.17 MB, free: 4.953 MB / 18.58 MB Notification: Performance of simCode: created initialization part: time 0.001342/0.05149, allocations: 1.124 MB / 52.3 MB, free: 4.117 MB / 18.58 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.05151, allocations: 0 / 52.3 MB, free: 4.117 MB / 18.58 MB Notification: Performance of simCode: created simulation system equations: time 0.0005624/0.05208, allocations: 0.6138 MB / 52.91 MB, free: 3.547 MB / 18.58 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003995/0.05249, allocations: 78.38 kB / 52.99 MB, free: 3.484 MB / 18.58 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002502/0.055, allocations: 2.177 MB / 55.16 MB, free: 1.348 MB / 18.58 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007058/0.06207, allocations: 1.109 MB / 56.27 MB, free: 4.172 MB / 18.58 MB Notification: Performance of simCode: alias equations: time 0.0005294/0.06263, allocations: 254.2 kB / 56.52 MB, free: 4.168 MB / 18.58 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001722/0.06281, allocations: 84.23 kB / 56.6 MB, free: 4.164 MB / 18.58 MB Notification: Performance of SimCode: time 5.91e-07/0.06281, allocations: 3.25 kB / 56.61 MB, free: 4.164 MB / 18.58 MB Notification: Performance of Templates: time 0.01129/0.07411, allocations: 7.44 MB / 64.05 MB, free: 4.867 MB / 24.77 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)