Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ConPNlib_ConPNlib.Examples.Test2.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.Test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test2") translateModel(ConPNlib.Examples.Test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo): time 0.01734/0.01734, allocations: 1.357 MB / 16.3 MB, free: 5.348 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.778e-05/1.771e-05, allocations: 4 kB / 23.22 MB, free: 4.012 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.000702/0.0007424, allocations: 356.2 kB / 23.57 MB, free: 3.863 MB / 13.93 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.005165/0.005922, allocations: 4.107 MB / 27.68 MB, free: 4.59 MB / 18.57 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001629/0.006138, allocations: 47.98 kB / 27.72 MB, free: 4.543 MB / 18.57 MB Notification: Performance of FrontEnd - DAE generated: time 0.0353/0.04146, allocations: 5.409 MB / 33.13 MB, free: 4.887 MB / 18.57 MB Notification: Performance of FrontEnd: time 2.033e-06/0.04151, allocations: 2.906 kB / 33.13 MB, free: 4.887 MB / 18.57 MB Notification: Performance of Transformations before backend: time 1.911e-05/0.04153, allocations: 6.297 kB / 33.14 MB, free: 4.887 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.0008175/0.04236, allocations: 0.5179 MB / 33.66 MB, free: 4.453 MB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.04241, allocations: 9.641 kB / 33.67 MB, free: 4.453 MB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.35e-05/0.0425, allocations: 26.59 kB / 33.69 MB, free: 4.441 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003783/0.04289, allocations: 258.7 kB / 33.95 MB, free: 4.242 MB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.129e-05/0.04294, allocations: 17.44 kB / 33.96 MB, free: 4.242 MB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.638e-05/0.04301, allocations: 30.78 kB / 33.99 MB, free: 4.242 MB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007714/0.04379, allocations: 355.2 kB / 34.34 MB, free: 4.188 MB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.774e-05/0.04383, allocations: 3.656 kB / 34.34 MB, free: 4.188 MB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.112e-05/0.04388, allocations: 8 kB / 34.35 MB, free: 4.188 MB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.319e-05/0.04394, allocations: 21.92 kB / 34.37 MB, free: 4.18 MB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005686/0.04452, allocations: 235.2 kB / 34.6 MB, free: 4.18 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001339/0.04587, allocations: 0.6849 MB / 35.29 MB, free: 3.879 MB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004377/0.04634, allocations: 157.5 kB / 35.44 MB, free: 3.852 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003875/0.04674, allocations: 429.4 kB / 35.86 MB, free: 3.383 MB / 18.57 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.156e-05/0.04678, allocations: 36.59 kB / 35.9 MB, free: 3.344 MB / 18.57 MB Notification: Performance of pre-optimization done (n=14): time 2.815e-06/0.04679, allocations: 0 / 35.9 MB, free: 3.344 MB / 18.57 MB Notification: Performance of matching and sorting (n=14): time 0.0008557/0.04766, allocations: 389.4 kB / 36.28 MB, free: 3.172 MB / 18.57 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.176e-05/0.04772, allocations: 110.5 kB / 36.38 MB, free: 3.047 MB / 18.57 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000169/0.0479, allocations: 151 kB / 36.53 MB, free: 2.941 MB / 18.57 MB Notification: Performance of collectPreVariables (initialization): time 2.992e-05/0.04795, allocations: 35.98 kB / 36.57 MB, free: 2.91 MB / 18.57 MB Notification: Performance of collectInitialEqns (initialization): time 9.215e-05/0.04805, allocations: 157 kB / 36.72 MB, free: 2.785 MB / 18.57 MB Notification: Performance of collectInitialBindings (initialization): time 5.629e-05/0.04812, allocations: 45.58 kB / 36.77 MB, free: 2.762 MB / 18.57 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.354e-05/0.04815, allocations: 8.344 kB / 36.77 MB, free: 2.762 MB / 18.57 MB Notification: Performance of setup shared object (initialization): time 6.238e-05/0.04822, allocations: 325.1 kB / 37.09 MB, free: 2.445 MB / 18.57 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002385/0.04847, allocations: 87.95 kB / 37.18 MB, free: 2.445 MB / 18.57 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002711/0.04875, allocations: 152.5 kB / 37.33 MB, free: 2.375 MB / 18.57 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002791/0.04905, allocations: 119.9 kB / 37.44 MB, free: 2.336 MB / 18.57 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.04907, allocations: 3.438 kB / 37.45 MB, free: 2.336 MB / 18.57 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007003/0.04977, allocations: 300 kB / 37.74 MB, free: 2.223 MB / 18.57 MB Notification: Performance of prepare postOptimizeDAE: time 5.07e-05/0.04984, allocations: 41.09 kB / 37.78 MB, free: 2.188 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/0.04986, allocations: 0 / 37.78 MB, free: 2.188 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.671e-05/0.04989, allocations: 7.328 kB / 37.79 MB, free: 2.184 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002232/0.05013, allocations: 40.14 kB / 37.83 MB, free: 2.176 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.05e-05/0.05015, allocations: 7.25 kB / 37.83 MB, free: 2.172 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001815/0.05034, allocations: 20.38 kB / 37.85 MB, free: 2.168 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.076e-05/0.05039, allocations: 16.81 kB / 37.87 MB, free: 2.164 MB / 18.57 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.P1.fireOut[1],P1.emptying,P1.feeding,P1.outTransition[1].arcType,T1.activation.active,T1.activation.weaklyInputActiveVec[1],P1.fireOut[1],T1.activation.arcType[1],T1.activation.fed[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 21 * Array equations: 1 * 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.0002433/0.05065, allocations: 193 kB / 38.06 MB, free: 2 MB / 18.57 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.419e-05/0.05071, allocations: 14.53 kB / 38.07 MB, free: 1.992 MB / 18.57 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008791/0.0516, allocations: 332.8 kB / 38.4 MB, free: 1.84 MB / 18.57 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.86e-05/0.05164, allocations: 3.953 kB / 38.4 MB, free: 1.836 MB / 18.57 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.05165, allocations: 3.312 kB / 38.4 MB, free: 1.836 MB / 18.57 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.05167, allocations: 3.562 kB / 38.41 MB, free: 1.836 MB / 18.57 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001001/0.05267, allocations: 0.5915 MB / 39 MB, free: 1.355 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.528e-06/0.0527, allocations: 0 / 39 MB, free: 1.355 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001926/0.0529, allocations: 30.97 kB / 39.03 MB, free: 1.332 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.868e-05/0.05294, allocations: 4 kB / 39.03 MB, free: 1.328 MB / 18.57 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.91e-05/0.05298, allocations: 13.39 kB / 39.05 MB, free: 1.316 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.05299, allocations: 0 / 39.05 MB, free: 1.316 MB / 18.57 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.053, allocations: 3.938 kB / 39.05 MB, free: 1.312 MB / 18.57 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008507/0.05386, allocations: 450.8 kB / 39.49 MB, free: 0.8945 MB / 18.57 MB Notification: Performance of postOpt removeConstants (simulation): time 4.255e-05/0.05392, allocations: 92.48 kB / 39.58 MB, free: 0.7891 MB / 18.57 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.235e-05/0.05398, allocations: 8 kB / 39.59 MB, free: 0.7812 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001819/0.05417, allocations: 23.22 kB / 39.61 MB, free: 0.7617 MB / 18.57 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001331/0.05432, allocations: 30.5 kB / 39.64 MB, free: 0.7422 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.325e-05/0.05436, allocations: 12 kB / 39.65 MB, free: 0.7305 MB / 18.57 MB Notification: Performance of sorting global known variables: time 0.0001027/0.05448, allocations: 119.4 kB / 39.77 MB, free: 0.625 MB / 18.57 MB Notification: Performance of sort global known variables: time 3.61e-07/0.05449, allocations: 0 / 39.77 MB, free: 0.625 MB / 18.57 MB Notification: Performance of remove unused functions: time 0.0005386/0.05503, allocations: 94.83 kB / 39.86 MB, free: 0.5352 MB / 18.57 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (P1.t_) * Number of discrete variables: 4 (T1.activation.active,T1.activation.weaklyInputActiveVec[1],P1.fireOut[1],P1.emptying) * Number of discrete states: 3 (P1.fireOut[1],T1.activation.weaklyInputActiveVec[1],T1.activation.active) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 13 * Array equations: 1 * 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.0003083/0.05536, allocations: 166.5 kB / 40.02 MB, free: 384 kB / 18.57 MB Notification: Performance of simCode: created initialization part: time 0.000652/0.05602, allocations: 301.8 kB / 40.32 MB, free: 104 kB / 18.57 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.05604, allocations: 0 / 40.32 MB, free: 104 kB / 18.57 MB Notification: Performance of simCode: created simulation system equations: time 0.013/0.06905, allocations: 166.3 kB / 40.48 MB, free: 3.992 MB / 18.57 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000341/0.06945, allocations: 23.31 kB / 40.5 MB, free: 3.992 MB / 18.57 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001078/0.07054, allocations: 486.5 kB / 40.98 MB, free: 3.73 MB / 18.57 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002476/0.07081, allocations: 0.7782 MB / 41.76 MB, free: 3.035 MB / 18.57 MB Notification: Performance of simCode: alias equations: time 0.0002616/0.07108, allocations: 71.55 kB / 41.83 MB, free: 3.035 MB / 18.57 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001064/0.0712, allocations: 34.52 kB / 41.86 MB, free: 3.027 MB / 18.57 MB Notification: Performance of SimCode: time 8.32e-07/0.07121, allocations: 0 / 41.86 MB, free: 3.027 MB / 18.57 MB Notification: Performance of Templates: time 0.007885/0.07911, allocations: 2.537 MB / 44.4 MB, free: 2.898 MB / 18.57 MB make -j1 -f ConPNlib_ConPNlib.Examples.Test2.makefile (rm -f ConPNlib_ConPNlib.Examples.Test2.pipe ; mkfifo ConPNlib_ConPNlib.Examples.Test2.pipe ; head -c 1048576 < ConPNlib_ConPNlib.Examples.Test2.pipe >> ../files/ConPNlib_ConPNlib.Examples.Test2.sim & ./ConPNlib_ConPNlib.Examples.Test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ConPNlib_ConPNlib.Examples.Test2.pipe 2>&1)