Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ConPNlib_ConPNlib.Examples.Test8.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.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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo): time 0.01275/0.01275, allocations: 1.336 MB / 8.813 MB, free: 244 kB / 5.871 MB Notification: Performance of FrontEnd - loaded program: time 2.117e-05/2.126e-05, allocations: 1.625 kB / 13.13 MB, free: 3.02 MB / 7.832 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0009266/0.0009855, allocations: 360 kB / 13.48 MB, free: 2.867 MB / 7.832 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.01521/0.01623, allocations: 3.355 MB / 16.83 MB, free: 0.7461 MB / 7.832 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001594/0.01645, allocations: 48.91 kB / 16.88 MB, free: 0.7461 MB / 7.832 MB Notification: Performance of FrontEnd - DAE generated: time 0.07078/0.08725, allocations: 10.84 MB / 27.72 MB, free: 3.496 MB / 14.12 MB Notification: Performance of FrontEnd: time 1.864e-06/0.08731, allocations: 0 / 27.72 MB, free: 3.496 MB / 14.12 MB Notification: Performance of Transformations before backend: time 4.653e-05/0.08738, allocations: 21.7 kB / 27.74 MB, free: 3.496 MB / 14.12 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.008292/0.09568, allocations: 0.8598 MB / 28.6 MB, free: 2.91 MB / 14.12 MB Notification: Performance of prepare preOptimizeDAE: time 4.819e-05/0.09575, allocations: 9.969 kB / 28.61 MB, free: 2.91 MB / 14.12 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002799/0.09604, allocations: 79.58 kB / 28.69 MB, free: 2.871 MB / 14.12 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001262/0.09732, allocations: 455.1 kB / 29.13 MB, free: 2.641 MB / 14.12 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.161e-05/0.09741, allocations: 29.22 kB / 29.16 MB, free: 2.641 MB / 14.12 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002158/0.09764, allocations: 60.28 kB / 29.22 MB, free: 2.641 MB / 14.12 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002198/0.09985, allocations: 0.7381 MB / 29.96 MB, free: 2.637 MB / 14.12 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007781/0.1077, allocations: 1.013 MB / 30.97 MB, free: 2.168 MB / 14.12 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.792e-05/0.1077, allocations: 0 / 30.97 MB, free: 2.168 MB / 14.12 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001452/0.1079, allocations: 11.3 kB / 30.98 MB, free: 2.16 MB / 14.12 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002086/0.1081, allocations: 54.58 kB / 31.04 MB, free: 2.113 MB / 14.12 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005615/0.1138, allocations: 1.854 MB / 32.89 MB, free: 0.6289 MB / 14.12 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001297/0.1151, allocations: 0.5299 MB / 33.42 MB, free: 88 kB / 14.12 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01349/0.1286, allocations: 323.2 kB / 33.74 MB, free: 2.676 MB / 14.12 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007903/0.1294, allocations: 0.6 MB / 34.33 MB, free: 2.02 MB / 14.12 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.637e-05/0.1295, allocations: 41.83 kB / 34.38 MB, free: 1.98 MB / 14.12 MB Notification: Performance of pre-optimization done (n=40): time 4.93e-06/0.1295, allocations: 3.188 kB / 34.38 MB, free: 1.98 MB / 14.12 MB Notification: Performance of matching and sorting (n=40): time 0.002014/0.1316, allocations: 482.8 kB / 34.85 MB, free: 1.945 MB / 14.12 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001262/0.1317, allocations: 213.9 kB / 35.06 MB, free: 1.727 MB / 14.12 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004359/0.1322, allocations: 252.6 kB / 35.31 MB, free: 1.633 MB / 14.12 MB Notification: Performance of collectPreVariables (initialization): time 7.7e-05/0.1323, allocations: 32.36 kB / 35.34 MB, free: 1.602 MB / 14.12 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003375/0.1326, allocations: 354.4 kB / 35.68 MB, free: 1.418 MB / 14.12 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001843/0.1328, allocations: 127.5 kB / 35.81 MB, free: 1.348 MB / 14.12 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.531e-05/0.1329, allocations: 3.344 kB / 35.81 MB, free: 1.348 MB / 14.12 MB Notification: Performance of setup shared object (initialization): time 0.0001084/0.133, allocations: 338.8 kB / 36.14 MB, free: 1.035 MB / 14.12 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007403/0.1338, allocations: 252.2 kB / 36.39 MB, free: 1.035 MB / 14.12 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008688/0.1347, allocations: 418.7 kB / 36.8 MB, free: 0.8281 MB / 14.12 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00102/0.1357, allocations: 270.8 kB / 37.06 MB, free: 0.8242 MB / 14.12 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.797e-06/0.1357, allocations: 0 / 37.06 MB, free: 0.8242 MB / 14.12 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002252/0.138, allocations: 0.6704 MB / 37.73 MB, free: 0.7656 MB / 14.12 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001229/0.1382, allocations: 92.09 kB / 37.82 MB, free: 0.7031 MB / 14.12 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.672e-05/0.1382, allocations: 3.031 kB / 37.83 MB, free: 0.7031 MB / 14.12 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.273e-05/0.1382, allocations: 12.34 kB / 37.84 MB, free: 0.7031 MB / 14.12 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007905/0.139, allocations: 92.36 kB / 37.93 MB, free: 0.6953 MB / 14.12 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.75e-05/0.1391, allocations: 11.75 kB / 37.94 MB, free: 0.6953 MB / 14.12 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006454/0.1397, allocations: 67.81 kB / 38.01 MB, free: 0.6797 MB / 14.12 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000137/0.1399, allocations: 42.44 kB / 38.05 MB, free: 0.6719 MB / 14.12 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 30 ($PRE.P1.fireOut[1],$PRE.P1.fireOut[2],P1.emptying,$PRE.P2.fireIn[1],P2.feeding,$PRE.P3.fireIn[1],P3.feeding,P1.feeding,P1.outTransition[2].arcType,P1.outTransition[1].arcType,P3.emptying,P2.emptying,P1.fireOut[1],P1.fireOut[2],P2.fireIn[1],T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyOutputActiveVec[1],T2.activation.active,T2.activation.weaklyInputActiveVec[1],T2.activation.weaklyOutputActiveVec[1],P3.fireIn[1],T1.activation.emptied[1],T2.activation.emptied[1],T1.activation.arcType[1],T2.activation.arcType[1],T1.activation.fed[1],T2.activation.fed[1],T2.outPlaces[1].enabledByInPlaces,T1.outPlaces[1].enabledByInPlaces) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 63 * 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.0003431/0.1403, allocations: 232.2 kB / 38.27 MB, free: 480 kB / 14.12 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001427/0.1404, allocations: 38.38 kB / 38.31 MB, free: 460 kB / 14.12 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002129/0.1426, allocations: 0.5779 MB / 38.89 MB, free: 280 kB / 14.12 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.474e-05/0.1426, allocations: 3.688 kB / 38.89 MB, free: 280 kB / 14.12 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.104e-06/0.1427, allocations: 3.469 kB / 38.9 MB, free: 280 kB / 14.12 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.968e-06/0.1427, allocations: 0.625 kB / 38.9 MB, free: 280 kB / 14.12 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01666/0.1593, allocations: 1.11 MB / 40.01 MB, free: 1.93 MB / 14.12 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.705e-06/0.1594, allocations: 0 / 40.01 MB, free: 1.93 MB / 14.12 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005943/0.16, allocations: 62.67 kB / 40.07 MB, free: 1.93 MB / 14.12 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.471e-05/0.1601, allocations: 8.156 kB / 40.08 MB, free: 1.93 MB / 14.12 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.926e-05/0.1601, allocations: 15.12 kB / 40.09 MB, free: 1.93 MB / 14.12 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.416e-06/0.1602, allocations: 2.922 kB / 40.09 MB, free: 1.93 MB / 14.12 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.1602, allocations: 1.312 kB / 40.09 MB, free: 1.93 MB / 14.12 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002844/0.163, allocations: 0.9178 MB / 41.01 MB, free: 1.793 MB / 14.12 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001115/0.1632, allocations: 112.5 kB / 41.12 MB, free: 1.699 MB / 14.12 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001578/0.1634, allocations: 17.33 kB / 41.14 MB, free: 1.699 MB / 14.12 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005648/0.164, allocations: 38.08 kB / 41.18 MB, free: 1.699 MB / 14.12 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004357/0.1644, allocations: 117.1 kB / 41.29 MB, free: 1.699 MB / 14.12 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001225/0.1645, allocations: 30.56 kB / 41.32 MB, free: 1.699 MB / 14.12 MB Notification: Performance of sorting global known variables: time 0.0002328/0.1648, allocations: 156.8 kB / 41.47 MB, free: 1.621 MB / 14.12 MB Notification: Performance of sort global known variables: time 5.61e-07/0.1648, allocations: 0 / 41.47 MB, free: 1.621 MB / 14.12 MB Notification: Performance of remove unused functions: time 0.001348/0.1662, allocations: 214.5 kB / 41.68 MB, free: 1.621 MB / 14.12 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: 13 (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.active,T2.activation.weaklyInputActiveVec[1],T2.activation.weaklyOutputActiveVec[1],P3.fireIn[1],P3.feeding) * Number of discrete states: 10 (P3.fireIn[1],P2.fireIn[1],P1.fireOut[1],P1.fireOut[2],T1.activation.weaklyOutputActiveVec[1],T1.activation.weaklyInputActiveVec[1],T1.activation.active,T2.activation.weaklyOutputActiveVec[1],T2.activation.weaklyInputActiveVec[1],T2.activation.active) * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 34 * 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.0005993/0.1668, allocations: 214.3 kB / 41.89 MB, free: 1.535 MB / 14.12 MB Notification: Performance of simCode: created initialization part: time 0.001758/0.1686, allocations: 0.8181 MB / 42.71 MB, free: 1.383 MB / 14.12 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.1686, allocations: 2.781 kB / 42.71 MB, free: 1.383 MB / 14.12 MB Notification: Performance of simCode: created simulation system equations: time 0.000718/0.1693, allocations: 472.8 kB / 43.18 MB, free: 1.137 MB / 14.12 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004246/0.1698, allocations: 39.5 kB / 43.21 MB, free: 1.113 MB / 14.12 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002204/0.172, allocations: 1.029 MB / 44.24 MB, free: 216 kB / 14.12 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007531/0.1728, allocations: 1.023 MB / 45.27 MB, free: 4.199 MB / 19.02 MB Notification: Performance of simCode: alias equations: time 0.0006378/0.1734, allocations: 140.9 kB / 45.4 MB, free: 4.121 MB / 19.02 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00022/0.1736, allocations: 55.92 kB / 45.46 MB, free: 4.074 MB / 19.02 MB Notification: Performance of SimCode: time 9.42e-07/0.1737, allocations: 0 / 45.46 MB, free: 4.074 MB / 19.02 MB Notification: Performance of Templates: time 0.02907/0.2027, allocations: 5.927 MB / 51.39 MB, free: 5.004 MB / 19.02 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)