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.3034/0.3034, allocations: 54.41 MB / 61.89 MB, free: 13.73 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.001074/0.001074, allocations: 180.2 kB / 75.61 MB, free: 0.7617 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.456/1.456, allocations: 194.3 MB / 283.5 MB, free: 14.79 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.001592/0.001592, allocations: 119 kB / 341.6 MB, free: 4.016 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.565e-05/1.569e-05, allocations: 0 / 405.5 MB, free: 4.113 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3884/0.3885, allocations: 57.63 MB / 463.1 MB, free: 51.79 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.03/1.419, allocations: 396.6 MB / 0.8396 GB, free: 134.7 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002469/1.419, allocations: 89.81 kB / 0.8397 GB, free: 134.7 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 24.95/26.37, allocations: 5.59 GB / 6.43 GB, free: 56.62 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.775e-06/26.37, allocations: 0 / 6.43 GB, free: 56.62 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.004603/26.37, allocations: 0.5199 MB / 6.43 GB, free: 56.5 MB / 0.7448 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.06144/26.44, allocations: 13.8 MB / 6.444 GB, free: 50.54 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.083e-05/26.44, allocations: 12.5 kB / 6.444 GB, free: 50.54 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01951/26.46, allocations: 2.403 MB / 6.446 GB, free: 49.54 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07912/26.53, allocations: 23.63 MB / 6.469 GB, free: 46.81 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007322/26.54, allocations: 251.8 kB / 6.47 GB, free: 46.81 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006457/26.54, allocations: 0.5702 MB / 6.47 GB, free: 46.81 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04585/26.59, allocations: 19.7 MB / 6.489 GB, free: 46.77 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05109/26.64, allocations: 15.42 MB / 6.504 GB, free: 44.74 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000628/26.64, allocations: 10.03 kB / 6.504 GB, free: 44.73 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005139/26.64, allocations: 23.64 kB / 6.505 GB, free: 44.73 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000301/26.65, allocations: 217.7 kB / 6.505 GB, free: 44.72 MB / 0.7448 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.1667/26.81, allocations: 77.12 MB / 6.58 GB, free: 7.941 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0272/26.84, allocations: 14.93 MB / 6.595 GB, free: 13.89 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01772/26.86, allocations: 9.737 MB / 6.604 GB, free: 5.152 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 evalFunc (simulation): time 1.08/27.94, allocations: 43.28 MB / 6.646 GB, free: 73.96 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02667/27.96, allocations: 9.494 MB / 6.656 GB, free: 73.77 MB / 0.7605 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.05737/28.02, allocations: 14.61 MB / 6.67 GB, free: 73.77 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=624): time 0.0001066/28.02, allocations: 0 / 6.67 GB, free: 73.77 MB / 0.7605 GB Notification: Performance of matching and sorting (n=636): time 0.7485/28.77, allocations: 151.5 MB / 6.818 GB, free: 57.77 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008044/28.77, allocations: 2.563 MB / 6.82 GB, free: 54.61 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04409/28.82, allocations: 13.29 MB / 6.833 GB, free: 45.39 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.005623/28.82, allocations: 45.7 kB / 6.833 GB, free: 45.34 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.01606/28.84, allocations: 7.492 MB / 6.841 GB, free: 42.42 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.007404/28.84, allocations: 2.151 MB / 6.843 GB, free: 40.8 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005836/28.85, allocations: 0.8438 kB / 6.843 GB, free: 40.8 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.001438/28.85, allocations: 0.6797 MB / 6.843 GB, free: 40.27 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01798/28.87, allocations: 9.197 MB / 6.852 GB, free: 34.62 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02179/28.89, allocations: 12.51 MB / 6.865 GB, free: 24.62 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02427/28.92, allocations: 10.35 MB / 6.875 GB, free: 18 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001522/28.92, allocations: 12 kB / 6.875 GB, free: 17.99 MB / 0.7605 GB Notification: Performance of matching and sorting (n=1203) (initialization): time 1.591/30.51, allocations: 133.2 MB / 7.005 GB, free: 81.48 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.007069/30.51, allocations: 30.62 MB / 7.035 GB, free: 49.13 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005033/30.51, allocations: 107.6 kB / 7.035 GB, free: 49.13 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6581/31.17, allocations: 147.3 MB / 7.179 GB, free: 13.51 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01543/31.19, allocations: 2.239 MB / 7.181 GB, free: 11.42 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.071/32.26, allocations: 71.76 MB / 7.251 GB, free: 132.7 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02548/32.29, allocations: 1.509 MB / 7.253 GB, free: 132.7 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006608/32.29, allocations: 0.8447 MB / 7.253 GB, free: 132.7 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/32.29, allocations: 4.141 kB / 7.253 GB, free: 132.7 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.6232/32.92, allocations: 122.1 MB / 7.373 GB, free: 129.4 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000603/32.92, allocations: 106.7 kB / 7.373 GB, free: 129.4 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.489/34.41, allocations: 144.6 MB / 7.514 GB, free: 129.8 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01012/34.42, allocations: 2.049 MB / 7.516 GB, free: 129.8 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1588/34.57, allocations: 73.38 MB / 7.588 GB, free: 127.1 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02139/34.6, allocations: 0.88 MB / 7.588 GB, free: 127.1 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004974/34.6, allocations: 0.7782 MB / 7.589 GB, free: 127.1 MB / 0.823 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 (894): * Single equations (assignments): 816 * 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: 2 * 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: 1 {(28,89.3%) 28} * Non-linear torn systems: 1 {33 121} Notification: Performance of prepare postOptimizeDAE: time 0.008798/34.61, allocations: 339.5 kB / 7.59 GB, free: 127 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00864/34.62, allocations: 1.437 MB / 7.591 GB, free: 127 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2267/34.84, allocations: 51.69 MB / 7.641 GB, free: 126.3 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000187/34.85, allocations: 78.97 kB / 7.642 GB, free: 126.3 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001403/34.85, allocations: 33.19 kB / 7.642 GB, free: 126.3 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2598/35.11, allocations: 46.55 MB / 7.687 GB, free: 113.9 MB / 0.823 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 0.2801/35.39, allocations: 68.2 MB / 7.754 GB, free: 64.37 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.6e-05/35.39, allocations: 8 kB / 7.754 GB, free: 64.36 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008799/35.39, allocations: 1.256 MB / 7.755 GB, free: 63.18 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.201/36.6, allocations: 44.7 MB / 7.798 GB, free: 114.1 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004038/36.6, allocations: 178.7 kB / 7.799 GB, free: 114.1 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1615/36.76, allocations: 65.07 MB / 7.862 GB, free: 100.1 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.882e-05/36.76, allocations: 7.438 kB / 7.862 GB, free: 100.1 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.236/37, allocations: 60.33 MB / 7.921 GB, free: 96.82 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01915/37.02, allocations: 3.266 MB / 7.924 GB, free: 96.39 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.009518/37.03, allocations: 90.2 kB / 7.924 GB, free: 96.39 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02215/37.05, allocations: 1.4 MB / 7.926 GB, free: 96.35 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005885/37.05, allocations: 0.5519 MB / 7.926 GB, free: 96.34 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002753/37.06, allocations: 291 kB / 7.927 GB, free: 96.34 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.03167/37.09, allocations: 9.987 MB / 7.936 GB, free: 95.91 MB / 0.823 GB Notification: Performance of sort global known variables: time 9.92e-07/37.09, allocations: 1.203 kB / 7.936 GB, free: 95.91 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.07254/37.16, allocations: 8.297 MB / 7.944 GB, free: 95.91 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (514): * Single equations (assignments): 483 * 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: 12 * 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: 1 {(28,89.3%) 28} * 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.01447/37.18, allocations: 5.348 MB / 7.95 GB, free: 93.98 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.1008/37.28, allocations: 38.67 MB / 7.987 GB, free: 90.69 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.992e-05/37.28, allocations: 18.06 kB / 7.987 GB, free: 90.69 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.03473/37.31, allocations: 11.29 MB / 7.998 GB, free: 88.03 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05289/37.36, allocations: 7.236 MB / 8.006 GB, free: 84.2 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1043/37.47, allocations: 32.83 MB / 8.038 GB, free: 58.39 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01617/37.48, allocations: 8.853 MB / 8.046 GB, free: 52.23 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.04688/37.53, allocations: 7.936 MB / 8.054 GB, free: 47.18 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004914/37.54, allocations: 0.8051 MB / 8.055 GB, free: 46.46 MB / 0.823 GB Notification: Performance of SimCode: time 1.713e-06/37.54, allocations: 0 / 8.055 GB, free: 46.46 MB / 0.823 GB Notification: Performance of Templates: time 4.154/41.69, allocations: 481.1 MB / 8.525 GB, free: 111.6 MB / 0.8543 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)