Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ConPNlib_ConPNlib.Examples.Test7.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo", uses=false) Using package ConPNlib with version (/var/lib/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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo): time 0.01391/0.01391, allocations: 1.338 MB / 13.9 MB, free: 1.406 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 2.031e-05/2.082e-05, allocations: 0 / 19.23 MB, free: 1.988 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0009255/0.0009824, allocations: 366.3 kB / 19.59 MB, free: 1.656 MB / 13.93 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.02324/0.02426, allocations: 4.007 MB / 23.6 MB, free: 2.438 MB / 13.93 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001856/0.02452, allocations: 50.11 kB / 23.65 MB, free: 2.418 MB / 13.93 MB Notification: Performance of FrontEnd - DAE generated: time 0.04509/0.06963, allocations: 6.911 MB / 30.56 MB, free: 0.5117 MB / 18.57 MB Notification: Performance of FrontEnd: time 2.093e-06/0.06969, allocations: 0 / 30.56 MB, free: 0.5117 MB / 18.57 MB Notification: Performance of Transformations before backend: time 4.56e-05/0.06975, allocations: 12 kB / 30.57 MB, free: 0.5 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.01849/0.08826, allocations: 0.6151 MB / 31.18 MB, free: 2.754 MB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 7.047e-05/0.08836, allocations: 9.906 kB / 31.19 MB, free: 2.754 MB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003565/0.08874, allocations: 45.02 kB / 31.24 MB, free: 2.734 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001042/0.08981, allocations: 312.1 kB / 31.54 MB, free: 2.535 MB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.995e-05/0.08995, allocations: 36.16 kB / 31.58 MB, free: 2.531 MB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002105/0.09019, allocations: 48.27 kB / 31.62 MB, free: 2.531 MB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002315/0.09253, allocations: 0.6028 MB / 32.23 MB, free: 2.449 MB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.352e-05/0.09262, allocations: 0 / 32.23 MB, free: 2.449 MB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001172/0.09276, allocations: 21.98 kB / 32.25 MB, free: 2.449 MB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001414/0.09292, allocations: 33 kB / 32.28 MB, free: 2.445 MB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001548/0.0945, allocations: 405.7 kB / 32.68 MB, free: 2.441 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003662/0.09821, allocations: 1.147 MB / 33.82 MB, free: 2.027 MB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008635/0.09913, allocations: 309.1 kB / 34.13 MB, free: 1.902 MB / 18.57 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005207/0.0997, allocations: 159 kB / 34.28 MB, free: 1.895 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009142/0.1007, allocations: 0.5987 MB / 34.88 MB, free: 1.234 MB / 18.57 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.747e-05/0.1007, allocations: 34.06 kB / 34.91 MB, free: 1.195 MB / 18.57 MB Notification: Performance of pre-optimization done (n=22): time 5.631e-06/0.1008, allocations: 1.312 kB / 34.92 MB, free: 1.195 MB / 18.57 MB Notification: Performance of matching and sorting (n=22): time 0.001271/0.1021, allocations: 323.1 kB / 35.23 MB, free: 1.117 MB / 18.57 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001135/0.1022, allocations: 146.9 kB / 35.37 MB, free: 0.9609 MB / 18.57 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004768/0.1027, allocations: 196.9 kB / 35.57 MB, free: 0.8516 MB / 18.57 MB Notification: Performance of collectPreVariables (initialization): time 6.666e-05/0.1028, allocations: 35.67 kB / 35.6 MB, free: 0.8203 MB / 18.57 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002122/0.103, allocations: 218.6 kB / 35.81 MB, free: 0.6836 MB / 18.57 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001259/0.1032, allocations: 77.73 kB / 35.89 MB, free: 0.6406 MB / 18.57 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.967e-05/0.1032, allocations: 6.188 kB / 35.9 MB, free: 0.6406 MB / 18.57 MB Notification: Performance of setup shared object (initialization): time 9.486e-05/0.1033, allocations: 331 kB / 36.22 MB, free: 336 kB / 18.57 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000482/0.1038, allocations: 135.1 kB / 36.35 MB, free: 332 kB / 18.57 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006041/0.1045, allocations: 244.1 kB / 36.59 MB, free: 208 kB / 18.57 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005403/0.105, allocations: 180.3 kB / 36.77 MB, free: 172 kB / 18.57 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.548e-06/0.1051, allocations: 3.906 kB / 36.77 MB, free: 172 kB / 18.57 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001467/0.1066, allocations: 448 kB / 37.21 MB, free: 56 kB / 18.57 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001002/0.1067, allocations: 46.94 kB / 37.25 MB, free: 20 kB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.617e-05/0.1068, allocations: 7.781 kB / 37.26 MB, free: 16 kB / 18.57 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.246e-05/0.1068, allocations: 3.281 kB / 37.26 MB, free: 16 kB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004781/0.1073, allocations: 52.48 kB / 37.32 MB, free: 8 kB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.194e-05/0.1074, allocations: 7.875 kB / 37.32 MB, free: 8 kB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005559/0.1079, allocations: 52.89 kB / 37.37 MB, free: 6.184 MB / 24.77 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001138/0.1081, allocations: 16.06 kB / 37.39 MB, free: 6.184 MB / 24.77 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 16 ($PRE.P1.fireOut[1],P1.emptying,$PRE.P2.fireIn[1],P2.feeding,P1.feeding,P1.outTransition[1].arcType,P2.emptying,P1.fireOut[1],P2.fireIn[1],T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyOutputActiveVec[1],T1.activation.emptied[1],T1.activation.arcType[1],T1.activation.fed[1],T1.outPlaces[1].enabledByInPlaces) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 35 * 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.0004186/0.1085, allocations: 188 kB / 37.57 MB, free: 6.023 MB / 24.77 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001445/0.1087, allocations: 24.5 kB / 37.6 MB, free: 6.012 MB / 24.77 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001507/0.1102, allocations: 385.4 kB / 37.97 MB, free: 5.848 MB / 24.77 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.936e-05/0.1103, allocations: 3.469 kB / 37.98 MB, free: 5.848 MB / 24.77 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.729e-06/0.1104, allocations: 0 / 37.98 MB, free: 5.848 MB / 24.77 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.303e-05/0.1104, allocations: 6.516 kB / 37.98 MB, free: 5.848 MB / 24.77 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002541/0.1129, allocations: 0.802 MB / 38.79 MB, free: 5.266 MB / 24.77 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-05/0.113, allocations: 0 / 38.79 MB, free: 5.266 MB / 24.77 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004597/0.1135, allocations: 36.3 kB / 38.82 MB, free: 5.238 MB / 24.77 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.547e-05/0.1135, allocations: 0 / 38.82 MB, free: 5.238 MB / 24.77 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.783e-05/0.1136, allocations: 15.94 kB / 38.84 MB, free: 5.223 MB / 24.77 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.532e-06/0.1137, allocations: 0 / 38.84 MB, free: 5.223 MB / 24.77 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.1137, allocations: 0 / 38.84 MB, free: 5.223 MB / 24.77 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002039/0.1157, allocations: 0.5923 MB / 39.43 MB, free: 4.668 MB / 24.77 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001387/0.1159, allocations: 92.95 kB / 39.52 MB, free: 4.559 MB / 24.77 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001382/0.1161, allocations: 17.38 kB / 39.54 MB, free: 4.547 MB / 24.77 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004574/0.1166, allocations: 19.89 kB / 39.56 MB, free: 4.531 MB / 24.77 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003032/0.1169, allocations: 61.72 kB / 39.62 MB, free: 4.488 MB / 24.77 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.99e-05/0.117, allocations: 19.05 kB / 39.64 MB, free: 4.473 MB / 24.77 MB Notification: Performance of sorting global known variables: time 0.0002637/0.1173, allocations: 143.2 kB / 39.78 MB, free: 4.344 MB / 24.77 MB Notification: Performance of sort global known variables: time 5.81e-07/0.1173, allocations: 4.062 kB / 39.78 MB, free: 4.34 MB / 24.77 MB Notification: Performance of remove unused functions: time 0.001185/0.1185, allocations: 167 kB / 39.94 MB, free: 4.199 MB / 24.77 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 (P2.fireIn[1],P1.fireOut[1],T1.activation.weaklyOutputActiveVec[1],T1.activation.weaklyInputActiveVec[1],T1.activation.active) * 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.0006716/0.1192, allocations: 199.4 kB / 40.14 MB, free: 4.02 MB / 24.77 MB Notification: Performance of simCode: created initialization part: time 0.00141/0.1207, allocations: 445.5 kB / 40.57 MB, free: 3.609 MB / 24.77 MB Notification: Performance of simCode: created event and clocks part: time 1.528e-05/0.1207, allocations: 8.75 kB / 40.58 MB, free: 3.602 MB / 24.77 MB Notification: Performance of simCode: created simulation system equations: time 0.0006691/0.1214, allocations: 254.8 kB / 40.83 MB, free: 3.359 MB / 24.77 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005462/0.122, allocations: 32.19 kB / 40.86 MB, free: 3.332 MB / 24.77 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002294/0.1243, allocations: 0.5618 MB / 41.42 MB, free: 2.828 MB / 24.77 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008345/0.1252, allocations: 0.8613 MB / 42.28 MB, free: 2.012 MB / 24.77 MB Notification: Performance of simCode: alias equations: time 0.0005898/0.1258, allocations: 81.16 kB / 42.36 MB, free: 1.957 MB / 24.77 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002149/0.1261, allocations: 42.69 kB / 42.41 MB, free: 1.922 MB / 24.77 MB Notification: Performance of SimCode: time 1.543e-06/0.1261, allocations: 1.781 kB / 42.41 MB, free: 1.922 MB / 24.77 MB Notification: Performance of Templates: time 0.03842/0.1645, allocations: 3.899 MB / 46.31 MB, free: 6.598 MB / 24.77 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)