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.01257/0.01257, allocations: 1.341 MB / 8.814 MB, free: 244 kB / 5.871 MB Notification: Performance of FrontEnd - loaded program: time 2.143e-05/2.161e-05, allocations: 2.344 kB / 13.13 MB, free: 2.273 MB / 7.832 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.000664/0.0007095, allocations: 360.2 kB / 13.48 MB, free: 2.238 MB / 7.832 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.004894/0.00562, allocations: 3.406 MB / 16.89 MB, free: 1.867 MB / 10.45 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001542/0.00583, allocations: 47.98 kB / 16.94 MB, free: 1.82 MB / 10.45 MB Notification: Performance of FrontEnd - DAE generated: time 0.06383/0.06967, allocations: 13.5 MB / 30.44 MB, free: 1.586 MB / 13.93 MB Notification: Performance of FrontEnd: time 1.813e-06/0.06973, allocations: 0 / 30.44 MB, free: 1.586 MB / 13.93 MB Notification: Performance of Transformations before backend: time 6.233e-05/0.0698, allocations: 24.44 kB / 30.46 MB, free: 1.562 MB / 13.93 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.002271/0.07208, allocations: 1.021 MB / 31.48 MB, free: 492 kB / 13.93 MB Notification: Performance of prepare preOptimizeDAE: time 4.971e-05/0.07216, allocations: 16.66 kB / 31.5 MB, free: 476 kB / 13.93 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004137/0.07258, allocations: 103.6 kB / 31.6 MB, free: 372 kB / 13.93 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01214/0.08473, allocations: 0.5192 MB / 32.12 MB, free: 0.9141 MB / 13.93 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.09e-05/0.08487, allocations: 43.59 kB / 32.16 MB, free: 0.9141 MB / 13.93 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002329/0.08511, allocations: 69.5 kB / 32.23 MB, free: 0.9141 MB / 13.93 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002208/0.08733, allocations: 0.9564 MB / 33.19 MB, free: 0.9062 MB / 13.93 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002795/0.09015, allocations: 1.319 MB / 34.5 MB, free: 0.7461 MB / 13.93 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.759e-05/0.09022, allocations: 0 / 34.5 MB, free: 0.7461 MB / 13.93 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001271/0.09036, allocations: 8.609 kB / 34.51 MB, free: 0.7461 MB / 13.93 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001727/0.09054, allocations: 77.33 kB / 34.59 MB, free: 0.7422 MB / 13.93 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004868/0.09542, allocations: 2.526 MB / 37.12 MB, free: 4.395 MB / 18.61 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001138/0.09661, allocations: 0.525 MB / 37.64 MB, free: 3.883 MB / 18.61 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007952/0.09744, allocations: 378 kB / 38.01 MB, free: 3.547 MB / 18.61 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007805/0.09824, allocations: 0.6031 MB / 38.61 MB, free: 2.84 MB / 18.61 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.513e-05/0.09831, allocations: 38.56 kB / 38.65 MB, free: 2.793 MB / 18.61 MB Notification: Performance of pre-optimization done (n=50): time 3.877e-06/0.09832, allocations: 0 / 38.65 MB, free: 2.793 MB / 18.61 MB Notification: Performance of matching and sorting (n=50): time 0.001821/0.1002, allocations: 0.5646 MB / 39.21 MB, free: 2.305 MB / 18.61 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001903/0.1004, allocations: 265 kB / 39.47 MB, free: 1.996 MB / 18.61 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005727/0.101, allocations: 310.4 kB / 39.78 MB, free: 1.727 MB / 18.61 MB Notification: Performance of collectPreVariables (initialization): time 0.0001146/0.1011, allocations: 40.75 kB / 39.82 MB, free: 1.684 MB / 18.61 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004782/0.1016, allocations: 463.7 kB / 40.27 MB, free: 1.277 MB / 18.61 MB Notification: Performance of collectInitialBindings (initialization): time 0.00023/0.1018, allocations: 152.8 kB / 40.42 MB, free: 1.145 MB / 18.61 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.682e-05/0.1019, allocations: 8 kB / 40.43 MB, free: 1.137 MB / 18.61 MB Notification: Performance of setup shared object (initialization): time 0.0001813/0.1021, allocations: 355 kB / 40.77 MB, free: 0.793 MB / 18.61 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007379/0.1028, allocations: 303.1 kB / 41.07 MB, free: 0.5312 MB / 18.61 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01808/0.1209, allocations: 0.5496 MB / 41.62 MB, free: 4.375 MB / 18.61 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001139/0.1221, allocations: 347.2 kB / 41.96 MB, free: 4.371 MB / 18.61 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.087e-06/0.1222, allocations: 0 / 41.96 MB, free: 4.371 MB / 18.61 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.002095/0.1243, allocations: 0.8466 MB / 42.8 MB, free: 4.32 MB / 18.61 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001068/0.1244, allocations: 95.45 kB / 42.9 MB, free: 4.258 MB / 18.61 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.753e-05/0.1244, allocations: 3.938 kB / 42.9 MB, free: 4.258 MB / 18.61 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.614e-05/0.1245, allocations: 18.27 kB / 42.92 MB, free: 4.258 MB / 18.61 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007/0.1252, allocations: 119.7 kB / 43.04 MB, free: 4.246 MB / 18.61 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.969e-05/0.1252, allocations: 15.41 kB / 43.05 MB, free: 4.246 MB / 18.61 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000636/0.1259, allocations: 79.36 kB / 43.13 MB, free: 4.246 MB / 18.61 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001287/0.126, allocations: 56.72 kB / 43.18 MB, free: 4.246 MB / 18.61 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.0003256/0.1264, allocations: 251.6 kB / 43.43 MB, free: 4.059 MB / 18.61 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001245/0.1265, allocations: 45.41 kB / 43.47 MB, free: 4.059 MB / 18.61 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001895/0.1284, allocations: 0.6971 MB / 44.17 MB, free: 4.004 MB / 18.61 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.527e-05/0.1285, allocations: 9.922 kB / 44.18 MB, free: 4.004 MB / 18.61 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.1285, allocations: 0 / 44.18 MB, free: 4.004 MB / 18.61 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.617e-06/0.1285, allocations: 2.25 kB / 44.18 MB, free: 4.004 MB / 18.61 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002703/0.1312, allocations: 1.302 MB / 45.48 MB, free: 3.727 MB / 18.61 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.895e-06/0.1313, allocations: 0 / 45.48 MB, free: 3.727 MB / 18.61 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005245/0.1318, allocations: 82.19 kB / 45.56 MB, free: 3.719 MB / 18.61 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.837e-06/0.1318, allocations: 0 / 45.56 MB, free: 3.719 MB / 18.61 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.591e-05/0.1319, allocations: 18.34 kB / 45.58 MB, free: 3.719 MB / 18.61 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.36e-06/0.1319, allocations: 5.906 kB / 45.59 MB, free: 3.719 MB / 18.61 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.1319, allocations: 0.9688 kB / 45.59 MB, free: 3.719 MB / 18.61 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002345/0.1343, allocations: 1.092 MB / 46.68 MB, free: 3.457 MB / 18.61 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001021/0.1344, allocations: 115.4 kB / 46.79 MB, free: 3.352 MB / 18.61 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001394/0.1346, allocations: 21.16 kB / 46.82 MB, free: 3.34 MB / 18.61 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004566/0.135, allocations: 47.28 kB / 46.86 MB, free: 3.305 MB / 18.61 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003566/0.1354, allocations: 135.5 kB / 46.99 MB, free: 3.215 MB / 18.61 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001011/0.1355, allocations: 38.56 kB / 47.03 MB, free: 3.188 MB / 18.61 MB Notification: Performance of sorting global known variables: time 0.0002195/0.1358, allocations: 187.7 kB / 47.21 MB, free: 3.016 MB / 18.61 MB Notification: Performance of sort global known variables: time 4.51e-07/0.1358, allocations: 0 / 47.21 MB, free: 3.016 MB / 18.61 MB Notification: Performance of remove unused functions: time 0.001142/0.1369, allocations: 254.7 kB / 47.46 MB, free: 2.805 MB / 18.61 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.0005101/0.1375, allocations: 218.1 kB / 47.68 MB, free: 2.617 MB / 18.61 MB Notification: Performance of simCode: created initialization part: time 0.00177/0.1392, allocations: 1.007 MB / 48.68 MB, free: 1.668 MB / 18.61 MB Notification: Performance of simCode: created event and clocks part: time 5.03e-06/0.1393, allocations: 1.938 kB / 48.69 MB, free: 1.668 MB / 18.61 MB Notification: Performance of simCode: created simulation system equations: time 0.0008399/0.1401, allocations: 0.5478 MB / 49.23 MB, free: 1.137 MB / 18.61 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005466/0.1407, allocations: 63.92 kB / 49.3 MB, free: 1.09 MB / 18.61 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01513/0.1558, allocations: 1.387 MB / 50.68 MB, free: 4.152 MB / 18.61 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007854/0.1567, allocations: 1.128 MB / 51.81 MB, free: 3.453 MB / 18.61 MB Notification: Performance of simCode: alias equations: time 0.00083/0.1575, allocations: 186.3 kB / 51.99 MB, free: 3.445 MB / 18.61 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002568/0.1578, allocations: 65.94 kB / 52.06 MB, free: 3.445 MB / 18.61 MB Notification: Performance of SimCode: time 1.973e-06/0.1578, allocations: 1.125 kB / 52.06 MB, free: 3.445 MB / 18.61 MB Notification: Performance of Templates: time 0.03441/0.1923, allocations: 6.948 MB / 59.01 MB, free: 2.77 MB / 18.61 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)