Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.FlowSystem.Simplified4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Examples.FlowSystem.Simplified4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.FlowSystem.Simplified4") translateModel(IBPSA.Fluid.Examples.FlowSystem.Simplified4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.FlowSystem.Simplified4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008695/0.0008695, allocations: 172 kB / 16.76 MB, free: 5.055 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4467/0.4467, allocations: 86.28 MB / 103.8 MB, free: 14.57 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.325/1.325, allocations: 223.3 MB / 348.4 MB, free: 5.02 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008113/0.0008113, allocations: 93.64 kB / 420.2 MB, free: 9.648 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004297/0.0004297, allocations: 12 kB / 0.4901 GB, free: 8.008 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3365/0.3369, allocations: 71.02 MB / 0.5594 GB, free: 43.67 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9499/1.287, allocations: 413.7 MB / 0.9635 GB, free: 218.7 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002356/1.287, allocations: 105.8 kB / 0.9636 GB, free: 218.6 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 44.04/45.33, allocations: 10.48 GB / 11.44 GB, free: 43.45 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.898e-06/45.33, allocations: 0 / 11.44 GB, free: 43.45 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.004072/45.34, allocations: 384.8 kB / 11.44 GB, free: 43.37 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1775 * Number of variables: 1775 Notification: Performance of Generate backend data structure: time 0.07322/45.41, allocations: 18.62 MB / 11.46 GB, free: 36.21 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/45.41, allocations: 7.562 kB / 11.46 GB, free: 36.21 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01381/45.42, allocations: 2.192 MB / 11.46 GB, free: 35.32 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06126/45.48, allocations: 20.5 MB / 11.48 GB, free: 32.16 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009358/45.49, allocations: 0.6017 MB / 11.48 GB, free: 32.15 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005034/45.49, allocations: 0.8053 MB / 11.48 GB, free: 32.14 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03851/45.53, allocations: 14.29 MB / 11.5 GB, free: 31.3 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003973/45.53, allocations: 15.44 kB / 11.5 GB, free: 31.29 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003593/45.53, allocations: 290.2 kB / 11.5 GB, free: 31.29 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001834/45.53, allocations: 186.9 kB / 11.5 GB, free: 31.29 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03261/45.57, allocations: 18.48 MB / 11.52 GB, free: 31.14 MB / 0.8855 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 1.022/46.59, allocations: 74.13 MB / 11.59 GB, free: 61.72 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01778/46.61, allocations: 9.792 MB / 11.6 GB, free: 61.62 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01518/46.62, allocations: 8.659 MB / 11.61 GB, free: 61.59 MB / 0.9011 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.07276/46.69, allocations: 30.15 MB / 11.64 GB, free: 53.36 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01623/46.71, allocations: 8.283 MB / 11.64 GB, free: 53.24 MB / 0.9011 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.04408/46.75, allocations: 14.95 MB / 11.66 GB, free: 53.24 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=427): time 5.844e-05/46.75, allocations: 0 / 11.66 GB, free: 53.24 MB / 0.9011 GB Notification: Performance of matching and sorting (n=613): time 0.4218/47.18, allocations: 112.7 MB / 11.77 GB, free: 45.94 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001278/47.18, allocations: 119.4 kB / 11.77 GB, free: 45.87 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04491/47.22, allocations: 14.2 MB / 11.78 GB, free: 45.12 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.004536/47.23, allocations: 196.1 kB / 11.78 GB, free: 45.09 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.01226/47.24, allocations: 6.653 MB / 11.79 GB, free: 43.97 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.006738/47.25, allocations: 2.076 MB / 11.79 GB, free: 42.91 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00437/47.25, allocations: 154.2 kB / 11.79 GB, free: 42.91 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0009121/47.25, allocations: 0.621 MB / 11.79 GB, free: 42.59 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01902/47.27, allocations: 8.626 MB / 11.8 GB, free: 42.54 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02192/47.29, allocations: 11.45 MB / 11.81 GB, free: 39.3 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04271/47.33, allocations: 19.49 MB / 11.83 GB, free: 34.48 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001386/47.33, allocations: 15.28 kB / 11.83 GB, free: 34.48 MB / 0.9011 GB Notification: Performance of matching and sorting (n=1035) (initialization): time 0.08414/47.42, allocations: 28.53 MB / 11.86 GB, free: 22.05 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.001475/47.42, allocations: 1.745 MB / 11.86 GB, free: 19.61 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001773/47.42, allocations: 52 kB / 11.86 GB, free: 19.55 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.657/49.08, allocations: 150.4 MB / 12.01 GB, free: 78.43 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01307/49.09, allocations: 2.051 MB / 12.01 GB, free: 78.43 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04975/49.14, allocations: 25.29 MB / 12.03 GB, free: 73.34 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02525/49.17, allocations: 1.366 MB / 12.04 GB, free: 73.34 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006114/49.17, allocations: 0.8207 MB / 12.04 GB, free: 73.34 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/49.17, allocations: 3.656 kB / 12.04 GB, free: 73.34 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.07865/49.25, allocations: 27.11 MB / 12.06 GB, free: 73 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003232/49.25, allocations: 60.36 kB / 12.06 GB, free: 73 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5657/49.82, allocations: 147.8 MB / 12.21 GB, free: 8.559 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01053/49.83, allocations: 2.032 MB / 12.21 GB, free: 6.672 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06095/49.89, allocations: 29.59 MB / 12.24 GB, free: 0.5938 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0244/49.91, allocations: 1.332 MB / 12.24 GB, free: 15.46 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005722/49.92, allocations: 0.7796 MB / 12.24 GB, free: 14.74 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 237 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition2,booleanToInteger.u,booleanToInteger.y,$PRE.stepPump.pulseStart,stepPump.pulseStart,$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 (761): * Single equations (assignments): 747 * Array equations: 4 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {32 38,5 80,5 80} Notification: Performance of prepare postOptimizeDAE: time 0.01729/49.94, allocations: 3.372 MB / 12.24 GB, free: 12.71 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007632/49.94, allocations: 1.299 MB / 12.25 GB, free: 12.11 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.141/51.08, allocations: 26.53 MB / 12.27 GB, free: 106.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002169/51.09, allocations: 75.64 kB / 12.27 GB, free: 106.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-05/51.09, allocations: 0 / 12.27 GB, free: 106.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.06897/51.15, allocations: 20.91 MB / 12.29 GB, free: 106.3 MB / 0.948 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.1927/51.35, allocations: 57.94 MB / 12.35 GB, free: 99.89 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001231/51.35, allocations: 10.38 kB / 12.35 GB, free: 99.89 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008097/51.36, allocations: 1.353 MB / 12.35 GB, free: 99.89 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1769/51.53, allocations: 43.02 MB / 12.39 GB, free: 99.79 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002349/51.53, allocations: 205.3 kB / 12.39 GB, free: 99.79 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02255/51.56, allocations: 14.37 MB / 12.41 GB, free: 94.71 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.189e-05/51.56, allocations: 13.66 kB / 12.41 GB, free: 94.71 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1033/51.66, allocations: 36.25 MB / 12.44 GB, free: 93.55 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01622/51.68, allocations: 3.111 MB / 12.44 GB, free: 93.46 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008536/51.69, allocations: 136.7 kB / 12.44 GB, free: 93.46 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02093/51.71, allocations: 1.063 MB / 12.45 GB, free: 93.46 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00368/51.71, allocations: 482.6 kB / 12.45 GB, free: 93.45 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002769/51.71, allocations: 305.6 kB / 12.45 GB, free: 93.45 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.02718/51.74, allocations: 9.637 MB / 12.46 GB, free: 93.09 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.364e-06/51.74, allocations: 1.031 kB / 12.46 GB, free: 93.09 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.06516/51.81, allocations: 7.148 MB / 12.46 GB, free: 93.09 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 8 (valSouth.vol.dynBal.U,valNorth.vol.dynBal.U,spl.vol.dynBal.U,spl1.vol.dynBal.U,pumpHea.vol.dynBal.U,spl2.vol.dynBal.U,spl3.vol.dynBal.U,pumpCoo.vol.dynBal.U) * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,booleanToInteger.u,booleanToInteger.y,stepPump.pulseStart,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 (537): * Single equations (assignments): 515 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {9 78,30 38,5 80,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01561/51.82, allocations: 5.427 MB / 12.47 GB, free: 91.07 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.08442/51.91, allocations: 34.94 MB / 12.5 GB, free: 84.95 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.075e-05/51.91, allocations: 4 kB / 12.5 GB, free: 84.94 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.02224/51.93, allocations: 9.773 MB / 12.51 GB, free: 79.16 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.07074/52, allocations: 6.747 MB / 12.52 GB, free: 74.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0794/52.08, allocations: 32.44 MB / 12.55 GB, free: 45.55 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01745/52.1, allocations: 7.424 MB / 12.56 GB, free: 40.22 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.03016/52.13, allocations: 4.087 MB / 12.56 GB, free: 37.27 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007335/52.13, allocations: 1.09 MB / 12.56 GB, free: 36.32 MB / 0.948 GB Notification: Performance of SimCode: time 1.072e-06/52.13, allocations: 0 / 12.56 GB, free: 36.32 MB / 0.948 GB Notification: Performance of Templates: time 3.64/55.77, allocations: 426.6 MB / 12.98 GB, free: 139.8 MB / 0.9949 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Examples.FlowSystem.Simplified4.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Examples.FlowSystem.Simplified4.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.FlowSystem.Simplified4.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.FlowSystem.Simplified4.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.FlowSystem.Simplified4.sim & ./IBPSA_latest_IBPSA.Fluid.Examples.FlowSystem.Simplified4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Examples.FlowSystem.Simplified4.pipe 2>&1)