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.0196/0.0196, allocations: 1.356 MB / 16.3 MB, free: 5.305 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 2.024e-05/2.018e-05, allocations: 0 / 23.22 MB, free: 4.027 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0009606/0.001018, allocations: 353.5 kB / 23.57 MB, free: 3.879 MB / 13.93 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.008108/0.009156, allocations: 4.113 MB / 27.68 MB, free: 4.566 MB / 18.57 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001996/0.009416, allocations: 47.98 kB / 27.73 MB, free: 4.52 MB / 18.57 MB Notification: Performance of FrontEnd - DAE generated: time 0.05522/0.06466, allocations: 11.03 MB / 38.76 MB, free: 2.664 MB / 18.57 MB Notification: Performance of FrontEnd: time 2.374e-06/0.0647, allocations: 0 / 38.76 MB, free: 2.664 MB / 18.57 MB Notification: Performance of Transformations before backend: time 3.33e-05/0.06475, allocations: 12 kB / 38.77 MB, free: 2.652 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: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 0.00152/0.06628, allocations: 0.8825 MB / 39.66 MB, free: 1.711 MB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.06633, allocations: 8.297 kB / 39.66 MB, free: 1.703 MB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00022/0.06656, allocations: 80.02 kB / 39.74 MB, free: 1.625 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008634/0.06743, allocations: 453.9 kB / 40.18 MB, free: 1.137 MB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.032e-05/0.06752, allocations: 70.27 kB / 40.25 MB, free: 1.07 MB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001682/0.0677, allocations: 96.22 kB / 40.35 MB, free: 0.9766 MB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01587/0.08358, allocations: 1.172 MB / 41.52 MB, free: 1.738 MB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.899e-05/0.08365, allocations: 0 / 41.52 MB, free: 1.738 MB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000122/0.08379, allocations: 39.42 kB / 41.56 MB, free: 1.738 MB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001488/0.08395, allocations: 56.73 kB / 41.61 MB, free: 1.738 MB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002163/0.08612, allocations: 0.8184 MB / 42.43 MB, free: 1.727 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003714/0.08986, allocations: 2.02 MB / 44.45 MB, free: 1.156 MB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001261/0.09115, allocations: 0.6182 MB / 45.07 MB, free: 0.9297 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006216/0.09179, allocations: 0.5988 MB / 45.67 MB, free: 6.477 MB / 24.78 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.805e-05/0.09185, allocations: 43.55 kB / 45.71 MB, free: 6.438 MB / 24.78 MB Notification: Performance of pre-optimization done (n=40): time 3.607e-06/0.09186, allocations: 0 / 45.71 MB, free: 6.438 MB / 24.78 MB Notification: Performance of matching and sorting (n=40): time 0.002286/0.09415, allocations: 1.074 MB / 46.79 MB, free: 5.926 MB / 24.78 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001594/0.09433, allocations: 213.3 kB / 46.99 MB, free: 5.695 MB / 24.78 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004029/0.09475, allocations: 295.5 kB / 47.28 MB, free: 5.531 MB / 24.78 MB Notification: Performance of collectPreVariables (initialization): time 7.812e-05/0.09484, allocations: 41.47 kB / 47.32 MB, free: 5.496 MB / 24.78 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002595/0.09511, allocations: 342 kB / 47.66 MB, free: 5.258 MB / 24.78 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001661/0.09529, allocations: 141.9 kB / 47.8 MB, free: 5.164 MB / 24.78 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.237e-05/0.09537, allocations: 16.72 kB / 47.81 MB, free: 5.152 MB / 24.78 MB Notification: Performance of setup shared object (initialization): time 0.0001737/0.09555, allocations: 348.3 kB / 48.15 MB, free: 4.824 MB / 24.78 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007559/0.09631, allocations: 277.9 kB / 48.42 MB, free: 4.746 MB / 24.78 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009178/0.09725, allocations: 463 kB / 48.88 MB, free: 4.445 MB / 24.78 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008208/0.09808, allocations: 368.9 kB / 49.24 MB, free: 4.262 MB / 24.78 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.113e-06/0.09811, allocations: 0 / 49.24 MB, free: 4.262 MB / 24.78 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002179/0.1003, allocations: 0.8367 MB / 50.07 MB, free: 3.582 MB / 24.78 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001182/0.1004, allocations: 93.78 kB / 50.16 MB, free: 3.488 MB / 24.78 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.414e-05/0.1005, allocations: 4 kB / 50.17 MB, free: 3.484 MB / 24.78 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.825e-05/0.1005, allocations: 8 kB / 50.18 MB, free: 3.477 MB / 24.78 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005301/0.101, allocations: 92.53 kB / 50.27 MB, free: 3.398 MB / 24.78 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.517e-05/0.1011, allocations: 11.94 kB / 50.28 MB, free: 3.387 MB / 24.78 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000497/0.1016, allocations: 82.58 kB / 50.36 MB, free: 3.316 MB / 24.78 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001202/0.1017, allocations: 44.69 kB / 50.4 MB, free: 3.281 MB / 24.78 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 () * Number of clocked 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.0007129/0.1024, allocations: 392.2 kB / 50.79 MB, free: 2.922 MB / 24.78 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001204/0.1026, allocations: 39.58 kB / 50.82 MB, free: 2.883 MB / 24.78 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002106/0.1047, allocations: 0.7216 MB / 51.55 MB, free: 2.25 MB / 24.78 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.82e-05/0.1047, allocations: 8 kB / 51.55 MB, free: 2.242 MB / 24.78 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/0.1048, allocations: 1.188 kB / 51.55 MB, free: 2.242 MB / 24.78 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.127e-06/0.1048, allocations: 3.797 kB / 51.56 MB, free: 2.242 MB / 24.78 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002982/0.1078, allocations: 1.361 MB / 52.92 MB, free: 1.043 MB / 24.78 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.676e-06/0.1078, allocations: 7.797 kB / 52.93 MB, free: 1.039 MB / 24.78 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004391/0.1083, allocations: 61.03 kB / 52.99 MB, free: 0.9883 MB / 24.78 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.624e-06/0.1083, allocations: 4 kB / 52.99 MB, free: 0.9844 MB / 24.78 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.345e-05/0.1084, allocations: 19.8 kB / 53.01 MB, free: 0.9688 MB / 24.78 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.23e-06/0.1084, allocations: 0 / 53.01 MB, free: 0.9688 MB / 24.78 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.267e-06/0.1084, allocations: 2.5 kB / 53.01 MB, free: 0.9688 MB / 24.78 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002878/0.1113, allocations: 1.085 MB / 54.1 MB, free: 0 / 24.78 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0151/0.1264, allocations: 118.4 kB / 54.21 MB, free: 7.215 MB / 24.78 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002342/0.1267, allocations: 24.72 kB / 54.24 MB, free: 7.215 MB / 24.78 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004455/0.1272, allocations: 52.22 kB / 54.29 MB, free: 7.215 MB / 24.78 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000344/0.1275, allocations: 111.8 kB / 54.4 MB, free: 7.215 MB / 24.78 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.136e-05/0.1276, allocations: 31.27 kB / 54.43 MB, free: 7.215 MB / 24.78 MB Notification: Performance of sorting global known variables: time 0.0002733/0.1279, allocations: 199.9 kB / 54.62 MB, free: 7.137 MB / 24.78 MB Notification: Performance of sort global known variables: time 4.21e-07/0.1279, allocations: 0 / 54.62 MB, free: 7.137 MB / 24.78 MB Notification: Performance of remove unused functions: time 0.0009405/0.1289, allocations: 223.1 kB / 54.84 MB, free: 7.137 MB / 24.78 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) * Number of clocked states: 0 () * 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.0004495/0.1293, allocations: 226.5 kB / 55.06 MB, free: 7.047 MB / 24.78 MB Notification: Performance of simCode: created initialization part: time 0.0019/0.1312, allocations: 0.9048 MB / 55.97 MB, free: 6.922 MB / 24.78 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.1313, allocations: 0 / 55.97 MB, free: 6.922 MB / 24.78 MB Notification: Performance of simCode: created simulation system equations: time 0.0008962/0.1322, allocations: 0.5004 MB / 56.47 MB, free: 6.797 MB / 24.78 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004158/0.1326, allocations: 50.19 kB / 56.52 MB, free: 6.797 MB / 24.78 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002634/0.1353, allocations: 1.507 MB / 58.02 MB, free: 6.152 MB / 24.78 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005441/0.1358, allocations: 1.028 MB / 59.05 MB, free: 5.453 MB / 24.78 MB Notification: Performance of simCode: alias equations: time 0.0005847/0.1364, allocations: 145.1 kB / 59.19 MB, free: 5.449 MB / 24.78 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001941/0.1366, allocations: 51.7 kB / 59.24 MB, free: 5.445 MB / 24.78 MB Notification: Performance of SimCode: time 7.71e-07/0.1366, allocations: 0 / 59.24 MB, free: 5.445 MB / 24.78 MB Notification: Performance of Templates: time 0.03145/0.1681, allocations: 6.164 MB / 65.41 MB, free: 6.516 MB / 24.78 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)