Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Examples.FlowSystem.Basic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.Fluid.Examples.FlowSystem.Basic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Examples.FlowSystem.Basic") translateModel(Annex60.Fluid.Examples.FlowSystem.Basic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Examples.FlowSystem.Basic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.2866/0.2866, allocations: 54.33 MB / 66.89 MB, free: 6.121 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001791/0.001791, allocations: 186.3 kB / 80.71 MB, free: 15.39 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.639/1.639, allocations: 194.2 MB / 288.6 MB, free: 15 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001697/0.001697, allocations: 112.2 kB / 346.9 MB, free: 4.738 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.305e-05/3.307e-05, allocations: 4 kB / 412.4 MB, free: 21.48 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1371/0.1372, allocations: 57.65 MB / 470 MB, free: 11.77 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.36/1.497, allocations: 397.3 MB / 0.847 GB, free: 127.5 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003322/1.497, allocations: 96.56 kB / 0.8471 GB, free: 127.5 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 24.5/26, allocations: 5.619 GB / 6.466 GB, free: 8.371 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.274e-06/26, allocations: 0 / 6.466 GB, free: 8.371 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.004161/26.01, allocations: 0.5148 MB / 6.466 GB, free: 7.855 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1989 * Number of variables: 1989 Notification: Performance of Generate backend data structure: time 1.739/27.75, allocations: 13.8 MB / 6.48 GB, free: 38.74 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 7.83e-05/27.75, allocations: 14.41 kB / 6.48 GB, free: 38.74 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02206/27.77, allocations: 2.405 MB / 6.482 GB, free: 37.76 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08961/27.86, allocations: 23.64 MB / 6.505 GB, free: 35.35 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001478/27.86, allocations: 0.6933 MB / 6.506 GB, free: 35.34 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007558/27.87, allocations: 0.9935 MB / 6.507 GB, free: 35.32 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07225/27.94, allocations: 20.13 MB / 6.526 GB, free: 33.41 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009206/27.94, allocations: 19.48 kB / 6.526 GB, free: 33.4 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005876/27.95, allocations: 350.3 kB / 6.527 GB, free: 33.4 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004021/27.95, allocations: 214 kB / 6.527 GB, free: 33.4 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06229/28.01, allocations: 22.92 MB / 6.549 GB, free: 33.34 MB / 0.7605 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1833/28.19, allocations: 78.43 MB / 6.626 GB, free: 16.36 MB / 0.7762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03838/28.23, allocations: 17.11 MB / 6.643 GB, free: 15.88 MB / 0.7762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01612/28.25, allocations: 9.396 MB / 6.652 GB, free: 15.8 MB / 0.7762 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt evalFunc (simulation): time 0.1125/28.36, allocations: 43.47 MB / 6.694 GB, free: 4.488 MB / 0.7762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03548/28.39, allocations: 12.73 MB / 6.707 GB, free: 2.641 MB / 0.7762 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.04712/28.44, allocations: 14.81 MB / 6.721 GB, free: 1.734 MB / 0.7762 GB Notification: Performance of pre-optimization done (n=624): time 5.677e-05/28.44, allocations: 0 / 6.721 GB, free: 1.734 MB / 0.7762 GB Notification: Performance of matching and sorting (n=916): time 2.152/30.59, allocations: 242.9 MB / 6.958 GB, free: 83.25 MB / 0.8074 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00121/30.59, allocations: 2.592 MB / 6.961 GB, free: 80.18 MB / 0.8074 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04238/30.64, allocations: 14.14 MB / 6.975 GB, free: 79.35 MB / 0.8074 GB Notification: Performance of collectPreVariables (initialization): time 0.006811/30.64, allocations: 282.8 kB / 6.975 GB, free: 79.32 MB / 0.8074 GB Notification: Performance of collectInitialEqns (initialization): time 0.01565/30.66, allocations: 7.613 MB / 6.982 GB, free: 78.07 MB / 0.8074 GB Notification: Performance of collectInitialBindings (initialization): time 0.007772/30.67, allocations: 3.156 MB / 6.985 GB, free: 76.16 MB / 0.8074 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005151/30.67, allocations: 217.2 kB / 6.986 GB, free: 76.16 MB / 0.8074 GB Notification: Performance of setup shared object (initialization): time 0.001143/30.67, allocations: 0.7672 MB / 6.986 GB, free: 75.83 MB / 0.8074 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02103/30.7, allocations: 10.59 MB / 6.997 GB, free: 75.81 MB / 0.8074 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02727/30.72, allocations: 14.16 MB / 7.011 GB, free: 67.6 MB / 0.8074 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02308/30.75, allocations: 11.69 MB / 7.022 GB, free: 60.2 MB / 0.8074 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001483/30.75, allocations: 15.95 kB / 7.022 GB, free: 60.18 MB / 0.8074 GB Notification: Performance of matching and sorting (n=1483) (initialization): time 1.68/32.43, allocations: 139.6 MB / 7.158 GB, free: 69.45 MB / 0.8074 GB Notification: Performance of prepare postOptimizeDAE: time 0.00959/32.44, allocations: 30.76 MB / 7.188 GB, free: 37.22 MB / 0.8074 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006205/32.44, allocations: 106.7 kB / 7.188 GB, free: 37.22 MB / 0.8074 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6566/33.09, allocations: 159.7 MB / 7.344 GB, free: 4.625 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01682/33.11, allocations: 2.511 MB / 7.347 GB, free: 2.281 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.286/34.4, allocations: 102.4 MB / 7.447 GB, free: 117.5 MB / 0.8543 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03583/34.43, allocations: 2.05 MB / 7.449 GB, free: 117.5 MB / 0.8543 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.009591/34.44, allocations: 0.937 MB / 7.45 GB, free: 117.5 MB / 0.8543 GB Notification: Performance of prepare postOptimizeDAE: time 2.815e-05/34.44, allocations: 4.812 kB / 7.45 GB, free: 117.5 MB / 0.8543 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.7364/35.18, allocations: 132.1 MB / 7.579 GB, free: 116.5 MB / 0.8543 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006736/35.18, allocations: 108.8 kB / 7.579 GB, free: 116.5 MB / 0.8543 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.65/36.83, allocations: 156.6 MB / 7.732 GB, free: 117 MB / 0.8543 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01276/36.84, allocations: 2.329 MB / 7.734 GB, free: 117 MB / 0.8543 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2316/37.07, allocations: 105.8 MB / 7.837 GB, free: 112.6 MB / 0.8543 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02609/37.1, allocations: 1.43 MB / 7.839 GB, free: 112.6 MB / 0.8543 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006223/37.11, allocations: 0.8732 MB / 7.84 GB, free: 112.6 MB / 0.8543 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 195 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$whenCondition1,booleanToInteger.u,booleanToInteger.y,$PRE.stepPump.pulsStart,stepPump.pulsStart,$PRE.stepValve.T_start,stepValve.T_start,$PRE.stepValve.count,stepValve.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1021): * Single equations (assignments): 942 * Array equations: 36 * Algorithm blocks: 1 * Record equations: 32 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 7 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 7 {1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(28,89.3%) 28,(33,24.2%) 121} * Non-linear torn systems: 1 {33 121} Notification: Performance of prepare postOptimizeDAE: time 0.01112/37.12, allocations: 0.7309 MB / 7.84 GB, free: 112.5 MB / 0.8543 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009483/37.13, allocations: 1.532 MB / 7.842 GB, free: 112 MB / 0.8543 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2476/37.37, allocations: 60.97 MB / 7.901 GB, free: 111.1 MB / 0.8543 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002985/37.38, allocations: 110.3 kB / 7.902 GB, free: 111 MB / 0.8543 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002689/37.38, allocations: 58.45 kB / 7.902 GB, free: 110.9 MB / 0.8543 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2263/37.6, allocations: 54.97 MB / 7.955 GB, free: 77.61 MB / 0.8543 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 1.646/39.25, allocations: 82.89 MB / 8.036 GB, free: 101.8 MB / 0.8543 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002902/39.25, allocations: 7.812 kB / 8.036 GB, free: 101.8 MB / 0.8543 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0144/39.26, allocations: 1.726 MB / 8.038 GB, free: 101.8 MB / 0.8543 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2316/39.49, allocations: 50.77 MB / 8.088 GB, free: 101.7 MB / 0.8543 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.006522/39.5, allocations: 381.5 kB / 8.088 GB, free: 101.7 MB / 0.8543 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1967/39.7, allocations: 83.02 MB / 8.169 GB, free: 91.09 MB / 0.8543 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.068e-05/39.7, allocations: 11.16 kB / 8.169 GB, free: 91.09 MB / 0.8543 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2742/39.97, allocations: 73.43 MB / 8.241 GB, free: 80.58 MB / 0.8543 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02441/40, allocations: 3.829 MB / 8.244 GB, free: 78.29 MB / 0.8543 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01328/40.01, allocations: 303.4 kB / 8.245 GB, free: 78.19 MB / 0.8543 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02873/40.04, allocations: 1.813 MB / 8.246 GB, free: 77.15 MB / 0.8543 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.009358/40.05, allocations: 0.826 MB / 8.247 GB, free: 76.75 MB / 0.8543 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.005898/40.05, allocations: 403.2 kB / 8.248 GB, free: 76.5 MB / 0.8543 GB Notification: Performance of sorting global known variables: time 0.03738/40.09, allocations: 10.82 MB / 8.258 GB, free: 70.37 MB / 0.8543 GB Notification: Performance of sort global known variables: time 9.92e-07/40.09, allocations: 0 / 8.258 GB, free: 70.37 MB / 0.8543 GB Notification: Performance of remove unused functions: time 0.08272/40.17, allocations: 9.768 MB / 8.268 GB, free: 61.82 MB / 0.8543 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 37 * Number of states: 74 (pmpSouth.port_a.h_outflow,pmpSouth.filter.x[1],pmpSouth.filter.x[2],pmpNorth.port_a.h_outflow,pmpNorth.filter.x[1],pmpNorth.filter.x[2],valSouth1[1].filter.x[1],valSouth1[1].filter.x[2],valSouth1[2].filter.x[1],valSouth1[2].filter.x[2],valSouth1[3].filter.x[1],valSouth1[3].filter.x[2],valSouth1[4].filter.x[1],valSouth1[4].filter.x[2],valSouth2[1].filter.x[1],valSouth2[1].filter.x[2],valSouth2[2].filter.x[1],valSouth2[2].filter.x[2],valSouth2[3].filter.x[1],valSouth2[3].filter.x[2],valSouth2[4].filter.x[1],valSouth2[4].filter.x[2],valSouth2[5].filter.x[1],valSouth2[5].filter.x[2],valSouth2[6].filter.x[1],valSouth2[6].filter.x[2],valSouth2[7].filter.x[1],valSouth2[7].filter.x[2],valSouth2[8].filter.x[1],valSouth2[8].filter.x[2],valNorth1[1].filter.x[1],valNorth1[1].filter.x[2],valNorth1[2].filter.x[1],valNorth1[2].filter.x[2],valNorth1[3].filter.x[1],valNorth1[3].filter.x[2],valNorth1[4].filter.x[1],valNorth1[4].filter.x[2],valNorth2[1].filter.x[1],valNorth2[1].filter.x[2],valNorth2[2].filter.x[1],valNorth2[2].filter.x[2],valNorth2[3].filter.x[1],valNorth2[3].filter.x[2],valNorth2[4].filter.x[1],valNorth2[4].filter.x[2],valNorth2[5].filter.x[1],valNorth2[5].filter.x[2],valNorth2[6].filter.x[1],valNorth2[6].filter.x[2],valNorth2[7].filter.x[1],valNorth2[7].filter.x[2],valNorth2[8].filter.x[1],valNorth2[8].filter.x[2],valSouth.port_3.h_outflow,valSouth.filter.x[1],valSouth.filter.x[2],valNorth.port_3.h_outflow,valNorth.filter.x[1],valNorth.filter.x[2],spl.port_3.h_outflow,spl1.port_3.h_outflow,pumpHea.port_a.h_outflow,pumpHea.filter.x[1],pumpHea.filter.x[2],valHea.filter.x[1],valHea.filter.x[2],valCoo.filter.x[1],valCoo.filter.x[2],spl2.port_3.h_outflow,spl3.port_3.h_outflow,pumpCoo.port_a.h_outflow,pumpCoo.filter.x[1],pumpCoo.filter.x[2]) * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,booleanToInteger.u,booleanToInteger.y,stepPump.pulsStart,stepValve.T_start,stepValve.count) * Number of discrete states: 1 (stepValve.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (734): * Single equations (assignments): 702 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 19 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 7 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 7 {1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(33,24.2%) 118,(28,89.3%) 28} * Non-linear torn systems: 1 {33 119} Notification: Performance of Backend phase and start with SimCode phase: time 0.01698/40.19, allocations: 5.701 MB / 8.273 GB, free: 57.54 MB / 0.8543 GB Notification: Performance of simCode: created initialization part: time 0.1255/40.32, allocations: 48.64 MB / 8.321 GB, free: 29.29 MB / 0.8543 GB Notification: Performance of simCode: created event and clocks part: time 3.852e-05/40.32, allocations: 17.72 kB / 8.321 GB, free: 29.28 MB / 0.8543 GB Notification: Performance of simCode: created simulation system equations: time 0.04418/40.36, allocations: 15.39 MB / 8.336 GB, free: 15.98 MB / 0.8543 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 1.35/41.71, allocations: 7.526 MB / 8.343 GB, free: 111.2 MB / 0.8543 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.152/41.86, allocations: 36.84 MB / 8.379 GB, free: 105.9 MB / 0.8543 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02338/41.89, allocations: 9.548 MB / 8.389 GB, free: 104.7 MB / 0.8543 GB Notification: Performance of simCode: alias equations: time 0.05149/41.94, allocations: 8.479 MB / 8.397 GB, free: 104.5 MB / 0.8543 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007065/41.95, allocations: 0.9293 MB / 8.398 GB, free: 104.5 MB / 0.8543 GB Notification: Performance of SimCode: time 2.405e-06/41.95, allocations: 0 / 8.398 GB, free: 104.5 MB / 0.8543 GB Notification: Performance of Templates: time 3.816/45.76, allocations: 0.5888 GB / 8.987 GB, free: 172.4 MB / 0.9168 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Examples.FlowSystem.Basic.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Examples.FlowSystem.Basic.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Examples.FlowSystem.Basic.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Examples.FlowSystem.Basic.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Examples.FlowSystem.Basic.sim & ./Annex60_1.0.0_Annex60.Fluid.Examples.FlowSystem.Basic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Examples.FlowSystem.Basic.pipe 2>&1)