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.3259/0.3259, allocations: 55.01 MB / 69.96 MB, free: 8.453 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.00123/0.00123, allocations: 187 kB / 83.98 MB, free: 10.71 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 2.13/2.13, allocations: 194.4 MB / 292.3 MB, free: 3.582 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.002101/0.0021, allocations: 120.2 kB / 350.7 MB, free: 9.086 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004377/0.0004378, allocations: 8 kB / 418.9 MB, free: 37.02 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1635/0.164, allocations: 57.65 MB / 476.5 MB, free: 11.32 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.222/1.386, allocations: 397.4 MB / 0.8534 GB, free: 30.23 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003628/1.387, allocations: 94.89 kB / 0.8535 GB, free: 30.18 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 24.72/26.11, allocations: 5.636 GB / 6.489 GB, free: 32.92 MB / 0.7605 GB Notification: Performance of FrontEnd: time 4.659e-06/26.11, allocations: 0 / 6.489 GB, free: 32.92 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.005245/26.11, allocations: 0.5186 MB / 6.49 GB, free: 32.4 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 0.09176/26.21, allocations: 20.87 MB / 6.51 GB, free: 11.36 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 8.202e-05/26.21, allocations: 12.03 kB / 6.51 GB, free: 11.35 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02089/26.23, allocations: 2.407 MB / 6.512 GB, free: 8.918 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 1.075/27.3, allocations: 23.86 MB / 6.536 GB, free: 40.45 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001779/27.3, allocations: 0.6979 MB / 6.536 GB, free: 40.43 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007882/27.31, allocations: 0.9925 MB / 6.537 GB, free: 40.43 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08545/27.4, allocations: 21.62 MB / 6.558 GB, free: 38.52 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001193/27.4, allocations: 20.23 kB / 6.558 GB, free: 38.52 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006999/27.41, allocations: 351 kB / 6.559 GB, free: 38.52 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005123/27.41, allocations: 213.5 kB / 6.559 GB, free: 38.52 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0728/27.48, allocations: 24.53 MB / 6.583 GB, free: 38.46 MB / 0.7605 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.2079/27.69, allocations: 78.48 MB / 6.66 GB, free: 21.88 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05106/27.74, allocations: 18.44 MB / 6.678 GB, free: 21.41 MB / 0.7761 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.1162/27.85, allocations: 43.49 MB / 6.72 GB, free: 10.05 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03897/27.89, allocations: 13.92 MB / 6.734 GB, free: 9.84 MB / 0.7761 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.05264/27.95, allocations: 14.81 MB / 6.748 GB, free: 9.527 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=624): time 0.0001118/27.95, allocations: 3.844 kB / 6.748 GB, free: 9.527 MB / 0.7761 GB Notification: Performance of matching and sorting (n=916): time 2.461/30.41, allocations: 286.2 MB / 7.028 GB, free: 67.02 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001829/30.41, allocations: 2.596 MB / 7.03 GB, free: 63.95 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.05679/30.47, allocations: 14.3 MB / 7.044 GB, free: 56.17 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.009042/30.48, allocations: 282.3 kB / 7.044 GB, free: 56.06 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.01724/30.49, allocations: 7.611 MB / 7.052 GB, free: 53.18 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.01108/30.5, allocations: 3.147 MB / 7.055 GB, free: 50.71 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00765/30.51, allocations: 214.4 kB / 7.055 GB, free: 50.67 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.001783/30.51, allocations: 0.769 MB / 7.056 GB, free: 50.07 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03387/30.55, allocations: 12.24 MB / 7.068 GB, free: 41.82 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03614/30.58, allocations: 15.81 MB / 7.083 GB, free: 28.97 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03716/30.62, allocations: 13.28 MB / 7.096 GB, free: 20.4 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002577/30.62, allocations: 20 kB / 7.096 GB, free: 20.38 MB / 0.7917 GB Notification: Performance of matching and sorting (n=1483) (initialization): time 1.861/32.48, allocations: 144.3 MB / 7.237 GB, free: 58.57 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.01004/32.49, allocations: 30.76 MB / 7.267 GB, free: 42.19 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005824/32.49, allocations: 109.6 kB / 7.267 GB, free: 42.19 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6501/33.14, allocations: 161.9 MB / 7.425 GB, free: 4.957 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01731/33.16, allocations: 2.517 MB / 7.428 GB, free: 2.609 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.227/34.39, allocations: 114.8 MB / 7.54 GB, free: 120.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03304/34.42, allocations: 1.992 MB / 7.542 GB, free: 120.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007861/34.43, allocations: 0.9351 MB / 7.543 GB, free: 120.6 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/34.43, allocations: 6.297 kB / 7.543 GB, free: 120.6 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.6143/35.04, allocations: 133.6 MB / 7.673 GB, free: 97.64 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007407/35.04, allocations: 111.1 kB / 7.673 GB, free: 97.54 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.682/36.73, allocations: 157.3 MB / 7.827 GB, free: 121.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01642/36.74, allocations: 2.325 MB / 7.829 GB, free: 121.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.33/37.07, allocations: 115.8 MB / 7.942 GB, free: 117.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03127/37.1, allocations: 1.372 MB / 7.944 GB, free: 117.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.008157/37.11, allocations: 0.8685 MB / 7.945 GB, free: 117.3 MB / 0.8542 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 () * Number of clocked 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.02928/37.14, allocations: 4.23 MB / 7.949 GB, free: 117.1 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01351/37.16, allocations: 1.531 MB / 7.95 GB, free: 117.1 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2926/37.45, allocations: 65.81 MB / 8.014 GB, free: 75.94 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002977/37.45, allocations: 106.8 kB / 8.014 GB, free: 75.84 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0004376/37.45, allocations: 52 kB / 8.015 GB, free: 75.79 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.426/38.88, allocations: 59.78 MB / 8.073 GB, free: 90.86 MB / 0.8542 GB Warning: The model contains alias variables with redundant start and/or conflicting 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 0.3702/39.25, allocations: 87.6 MB / 8.158 GB, free: 86.27 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002014/39.25, allocations: 7.594 kB / 8.158 GB, free: 86.27 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01244/39.26, allocations: 1.667 MB / 8.16 GB, free: 86.27 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2169/39.48, allocations: 54.05 MB / 8.213 GB, free: 86.02 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004912/39.48, allocations: 391.9 kB / 8.213 GB, free: 86.02 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2778/39.76, allocations: 108.4 MB / 8.319 GB, free: 68.18 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.218e-05/39.76, allocations: 12.31 kB / 8.319 GB, free: 68.18 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3341/40.09, allocations: 79.65 MB / 8.397 GB, free: 21.02 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01936/40.11, allocations: 3.823 MB / 8.401 GB, free: 17.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01151/40.12, allocations: 306.2 kB / 8.401 GB, free: 17.63 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02483/40.15, allocations: 1.837 MB / 8.403 GB, free: 16.34 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.006959/40.16, allocations: 0.8376 MB / 8.404 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004339/40.16, allocations: 406.6 kB / 8.404 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.9683/41.13, allocations: 10.97 MB / 8.415 GB, free: 118.5 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.122e-06/41.13, allocations: 0 / 8.415 GB, free: 118.5 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.09407/41.22, allocations: 9.782 MB / 8.424 GB, free: 118.5 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 74 (pmpSouth.vol.dynBal.U,pmpSouth.filter.x[1],pmpSouth.filter.x[2],pmpNorth.vol.dynBal.U,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.vol.dynBal.U,valSouth.filter.x[1],valSouth.filter.x[2],valNorth.vol.dynBal.U,valNorth.filter.x[1],valNorth.filter.x[2],spl.vol.dynBal.U,spl1.vol.dynBal.U,pumpHea.vol.dynBal.U,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.vol.dynBal.U,spl3.vol.dynBal.U,pumpCoo.vol.dynBal.U,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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (704): * Single equations (assignments): 672 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 7 * Torn equation systems: 13 * 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,26.1%) 118} * Non-linear torn systems: 11 {1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,33 119} Notification: Performance of Backend phase and start with SimCode phase: time 0.01891/41.24, allocations: 5.701 MB / 8.43 GB, free: 116.6 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.1794/41.42, allocations: 52.26 MB / 8.481 GB, free: 112.6 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.77e-05/41.42, allocations: 13.53 kB / 8.481 GB, free: 112.6 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.05241/41.47, allocations: 17.18 MB / 8.498 GB, free: 111.7 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04811/41.52, allocations: 7.475 MB / 8.505 GB, free: 111.5 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1327/41.65, allocations: 49.1 MB / 8.553 GB, free: 96.91 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.024/41.68, allocations: 9.511 MB / 8.562 GB, free: 95.6 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.03117/41.71, allocations: 5.04 MB / 8.567 GB, free: 95.01 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007942/41.72, allocations: 1.25 MB / 8.568 GB, free: 95 MB / 0.8542 GB Notification: Performance of SimCode: time 2.023e-06/41.72, allocations: 0 / 8.568 GB, free: 95 MB / 0.8542 GB Notification: Performance of Templates: time 2.99/44.71, allocations: 0.5574 GB / 9.126 GB, free: 125.7 MB / 0.8855 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)