Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ConPNlib_ConPNlib.Examples.Test10.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.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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo): time 0.01044/0.01044, allocations: 1.338 MB / 13.9 MB, free: 1.406 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.466e-05/1.483e-05, allocations: 0 / 19.23 MB, free: 1.988 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0007389/0.0007817, allocations: 364 kB / 19.59 MB, free: 1.656 MB / 13.93 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.02607/0.02687, allocations: 4.066 MB / 23.66 MB, free: 2.383 MB / 13.93 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001846/0.02712, allocations: 48.48 kB / 23.7 MB, free: 2.363 MB / 13.93 MB Notification: Performance of FrontEnd - DAE generated: time 0.07634/0.1035, allocations: 13.62 MB / 37.33 MB, free: 2.086 MB / 18.57 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1035, allocations: 0 / 37.33 MB, free: 2.086 MB / 18.57 MB Notification: Performance of Transformations before backend: time 5.085e-05/0.1036, allocations: 24.78 kB / 37.35 MB, free: 2.078 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.001997/0.1056, allocations: 1.026 MB / 38.38 MB, free: 1.324 MB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 4.861e-05/0.1057, allocations: 8.312 kB / 38.39 MB, free: 1.316 MB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003504/0.106, allocations: 107.6 kB / 38.49 MB, free: 1.211 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001167/0.1072, allocations: 0.5287 MB / 39.02 MB, free: 0.7734 MB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.282e-05/0.1073, allocations: 90.16 kB / 39.11 MB, free: 0.7227 MB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000223/0.1076, allocations: 125.4 kB / 39.23 MB, free: 0.6211 MB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01748/0.1251, allocations: 1.482 MB / 40.71 MB, free: 1.18 MB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.448e-05/0.1252, allocations: 4.125 kB / 40.72 MB, free: 1.18 MB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001602/0.1253, allocations: 49.48 kB / 40.76 MB, free: 1.18 MB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001812/0.1255, allocations: 77.12 kB / 40.84 MB, free: 1.176 MB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002772/0.1283, allocations: 0.9986 MB / 41.84 MB, free: 1.16 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006056/0.1344, allocations: 2.758 MB / 44.6 MB, free: 6.531 MB / 24.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001128/0.1356, allocations: 0.5537 MB / 45.15 MB, free: 6.246 MB / 24.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007527/0.1364, allocations: 386.2 kB / 45.53 MB, free: 6.09 MB / 24.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007481/0.1372, allocations: 0.6027 MB / 46.13 MB, free: 5.43 MB / 24.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.04e-05/0.1372, allocations: 39.91 kB / 46.17 MB, free: 5.387 MB / 24.8 MB Notification: Performance of pre-optimization done (n=50): time 4.369e-06/0.1372, allocations: 3.656 kB / 46.17 MB, free: 5.387 MB / 24.8 MB Notification: Performance of matching and sorting (n=50): time 0.00166/0.1389, allocations: 0.656 MB / 46.83 MB, free: 5.113 MB / 24.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000188/0.1391, allocations: 263.2 kB / 47.09 MB, free: 4.82 MB / 24.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006689/0.1398, allocations: 378.4 kB / 47.46 MB, free: 4.605 MB / 24.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001079/0.1399, allocations: 47.8 kB / 47.5 MB, free: 4.559 MB / 24.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004703/0.1404, allocations: 458.5 kB / 47.95 MB, free: 4.168 MB / 24.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002314/0.1407, allocations: 161.8 kB / 48.11 MB, free: 4.027 MB / 24.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.626e-05/0.1407, allocations: 16 kB / 48.12 MB, free: 4.012 MB / 24.8 MB Notification: Performance of setup shared object (initialization): time 0.0001865/0.1409, allocations: 362.5 kB / 48.48 MB, free: 3.668 MB / 24.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008546/0.1418, allocations: 320.6 kB / 48.79 MB, free: 3.387 MB / 24.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001098/0.1429, allocations: 0.574 MB / 49.36 MB, free: 2.738 MB / 24.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009756/0.1439, allocations: 424.9 kB / 49.78 MB, free: 2.375 MB / 24.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.877e-06/0.144, allocations: 0 / 49.78 MB, free: 2.375 MB / 24.8 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.002509/0.1465, allocations: 0.9843 MB / 50.76 MB, free: 1.48 MB / 24.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.000132/0.1466, allocations: 91.33 kB / 50.85 MB, free: 1.387 MB / 24.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.276e-05/0.1467, allocations: 10.86 kB / 50.86 MB, free: 1.379 MB / 24.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.796e-05/0.1467, allocations: 12 kB / 50.88 MB, free: 1.367 MB / 24.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007394/0.1475, allocations: 120 kB / 50.99 MB, free: 1.266 MB / 24.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.324e-05/0.1475, allocations: 13.97 kB / 51.01 MB, free: 1.254 MB / 24.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008104/0.1483, allocations: 107.1 kB / 51.11 MB, free: 1.16 MB / 24.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002788/0.1487, allocations: 54.42 kB / 51.16 MB, free: 1.113 MB / 24.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 39 ($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,P1.feeding,P1.outTransition[1].arcType,P3.emptying,P4.emptying,P2.feeding,P2.outTransition[1].arcType,IA1.outTransition.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.active,T2.activation.weaklyInputActiveVec[1],T2.activation.weaklyOutputActiveVec[1],P3.fireIn[1],P4.fireIn[1],T1.activation.arcType[2],T2.activation.arcType[1],T2.activation.fed[1],T1.activation.fed[2],T2.activation.emptied[1],T1.activation.emptied[1],T1.activation.arcType[1],T1.activation.fed[1],T1.outPlaces[1].enabledByInPlaces,T2.outPlaces[1].enabledByInPlaces,P2.outTransition[2].arcType) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 85 * 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.0009168/0.1496, allocations: 278 kB / 51.44 MB, free: 0.8398 MB / 24.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002776/0.1499, allocations: 57.69 kB / 51.49 MB, free: 0.7852 MB / 24.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002177/0.1521, allocations: 0.8048 MB / 52.3 MB, free: 84 kB / 24.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.122e-05/0.1522, allocations: 11.66 kB / 52.31 MB, free: 76 kB / 24.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.1522, allocations: 0 / 52.31 MB, free: 76 kB / 24.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.002e-05/0.1522, allocations: 3.797 kB / 52.31 MB, free: 76 kB / 24.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01859/0.1708, allocations: 1.56 MB / 53.87 MB, free: 6.18 MB / 24.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.325e-06/0.1709, allocations: 0 / 53.87 MB, free: 6.18 MB / 24.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005537/0.1715, allocations: 76.94 kB / 53.95 MB, free: 6.18 MB / 24.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.055e-05/0.1715, allocations: 3.375 kB / 53.95 MB, free: 6.18 MB / 24.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.952e-05/0.1716, allocations: 27.25 kB / 53.98 MB, free: 6.18 MB / 24.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.149e-06/0.1716, allocations: 1.656 kB / 53.98 MB, free: 6.18 MB / 24.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.1716, allocations: 0 / 53.98 MB, free: 6.18 MB / 24.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002417/0.174, allocations: 1.206 MB / 55.18 MB, free: 5.969 MB / 24.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001173/0.1742, allocations: 125.6 kB / 55.31 MB, free: 5.875 MB / 24.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001466/0.1743, allocations: 24.95 kB / 55.33 MB, free: 5.875 MB / 24.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004855/0.1748, allocations: 60.25 kB / 55.39 MB, free: 5.875 MB / 24.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003659/0.1752, allocations: 132.3 kB / 55.52 MB, free: 5.875 MB / 24.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001035/0.1753, allocations: 31.75 kB / 55.55 MB, free: 5.875 MB / 24.8 MB Notification: Performance of sorting global known variables: time 0.0003567/0.1757, allocations: 253.1 kB / 55.8 MB, free: 5.793 MB / 24.8 MB Notification: Performance of sort global known variables: time 4.51e-07/0.1757, allocations: 0 / 55.8 MB, free: 5.793 MB / 24.8 MB Notification: Performance of remove unused functions: time 0.001063/0.1768, allocations: 270.6 kB / 56.06 MB, free: 5.793 MB / 24.8 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: 16 (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.active,T2.activation.weaklyInputActiveVec[1],T2.activation.weaklyOutputActiveVec[1],P3.fireIn[1],P3.feeding,P4.fireIn[1],P4.feeding) * Number of discrete states: 12 (P4.fireIn[1],P3.fireIn[1],P2.fireOut[1],P2.fireOut[2],P1.fireOut[1],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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 43 * 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.0004831/0.1773, allocations: 229.3 kB / 56.29 MB, free: 5.707 MB / 24.8 MB Notification: Performance of simCode: created initialization part: time 0.001948/0.1792, allocations: 1.051 MB / 57.34 MB, free: 5.574 MB / 24.8 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.1793, allocations: 0.5312 kB / 57.34 MB, free: 5.574 MB / 24.8 MB Notification: Performance of simCode: created simulation system equations: time 0.000973/0.1803, allocations: 0.5733 MB / 57.91 MB, free: 5.316 MB / 24.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005204/0.1808, allocations: 65.77 kB / 57.97 MB, free: 5.293 MB / 24.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003395/0.1842, allocations: 1.419 MB / 59.39 MB, free: 4.184 MB / 24.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006659/0.1849, allocations: 1.12 MB / 60.51 MB, free: 3.203 MB / 24.8 MB Notification: Performance of simCode: alias equations: time 0.0008124/0.1858, allocations: 195 kB / 60.7 MB, free: 3.09 MB / 24.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000242/0.186, allocations: 72.98 kB / 60.78 MB, free: 3.031 MB / 24.8 MB Notification: Performance of SimCode: time 1.142e-06/0.186, allocations: 0 / 60.78 MB, free: 3.031 MB / 24.8 MB Notification: Performance of Templates: time 0.03908/0.2251, allocations: 7.31 MB / 68.09 MB, free: 3.672 MB / 24.8 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)