Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.FlowSystem.Simplified6.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.Simplified6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.FlowSystem.Simplified6") translateModel(IBPSA.Fluid.Examples.FlowSystem.Simplified6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.FlowSystem.Simplified6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001805/0.001805, allocations: 172.7 kB / 16.76 MB, free: 5.059 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4601/0.4601, allocations: 86.27 MB / 103.8 MB, free: 14.56 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.404/1.404, allocations: 223.3 MB / 348.4 MB, free: 4.895 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.0008605/0.0008602, allocations: 102.6 kB / 420.2 MB, free: 9.629 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004108/0.000411, allocations: 12 kB / 0.4901 GB, free: 7.98 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3854/0.3858, allocations: 71.01 MB / 0.5594 GB, free: 43.68 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.117/1.503, allocations: 415 MB / 0.9647 GB, free: 217.3 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002676/1.503, allocations: 100.1 kB / 0.9648 GB, free: 217.3 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 44.41/45.92, allocations: 10.66 GB / 11.62 GB, free: 53.6 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.434e-06/45.92, allocations: 0 / 11.62 GB, free: 53.6 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.003267/45.92, allocations: 347.9 kB / 11.62 GB, free: 53.52 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1521 * Number of variables: 1521 Notification: Performance of Generate backend data structure: time 0.06567/45.99, allocations: 17.36 MB / 11.64 GB, free: 46.88 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.411e-05/45.99, allocations: 10.22 kB / 11.64 GB, free: 46.88 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01395/46, allocations: 2.088 MB / 11.64 GB, free: 46.05 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0597/46.06, allocations: 18.76 MB / 11.66 GB, free: 43 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009947/46.06, allocations: 0.5307 MB / 11.66 GB, free: 42.77 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003838/46.06, allocations: 0.707 MB / 11.66 GB, free: 42.54 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02666/46.09, allocations: 8.538 MB / 11.67 GB, free: 37.57 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004401/46.09, allocations: 15.81 kB / 11.67 GB, free: 37.55 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002783/46.09, allocations: 256 kB / 11.67 GB, free: 37.3 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002186/46.09, allocations: 155.9 kB / 11.67 GB, free: 37.15 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0196/46.11, allocations: 6.96 MB / 11.68 GB, free: 31.23 MB / 0.8698 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.063/47.18, allocations: 50.6 MB / 11.73 GB, free: 46.54 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.011/47.19, allocations: 4.911 MB / 11.73 GB, free: 46.39 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007544/47.2, allocations: 3.746 MB / 11.73 GB, free: 46.34 MB / 0.8698 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.04496/47.24, allocations: 13.59 MB / 11.75 GB, free: 43.52 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008479/47.25, allocations: 3.388 MB / 11.75 GB, free: 43.41 MB / 0.8698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01648/47.27, allocations: 2.381 MB / 11.75 GB, free: 43.41 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=326): time 4.622e-05/47.27, allocations: 2.406 kB / 11.75 GB, free: 43.41 MB / 0.8698 GB Notification: Performance of matching and sorting (n=514): time 0.2117/47.48, allocations: 53.12 MB / 11.8 GB, free: 37.06 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.881e-05/47.48, allocations: 103.3 kB / 11.81 GB, free: 36.99 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04563/47.52, allocations: 13.68 MB / 11.82 GB, free: 36.24 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.002665/47.53, allocations: 172.9 kB / 11.82 GB, free: 36.21 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.01158/47.54, allocations: 6.211 MB / 11.82 GB, free: 35.13 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.003727/47.54, allocations: 1.734 MB / 11.83 GB, free: 34.25 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002224/47.54, allocations: 141.2 kB / 11.83 GB, free: 34.25 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0008637/47.54, allocations: 0.5945 MB / 11.83 GB, free: 33.93 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01332/47.56, allocations: 4.697 MB / 11.83 GB, free: 33.92 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01662/47.57, allocations: 7.663 MB / 11.84 GB, free: 30.57 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02802/47.6, allocations: 11.39 MB / 11.85 GB, free: 28.24 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001961/47.6, allocations: 18.22 kB / 11.85 GB, free: 28.24 MB / 0.8698 GB Notification: Performance of matching and sorting (n=957) (initialization): time 0.05496/47.66, allocations: 16.42 MB / 11.87 GB, free: 27.11 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001913/47.66, allocations: 1.938 MB / 11.87 GB, free: 24.67 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002558/47.66, allocations: 56.62 kB / 11.87 GB, free: 24.67 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01699/47.68, allocations: 4.777 MB / 11.87 GB, free: 24.48 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01225/47.69, allocations: 1.961 MB / 11.87 GB, free: 24.46 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01886/47.71, allocations: 12.97 MB / 11.89 GB, free: 17.68 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01981/47.73, allocations: 1.206 MB / 11.89 GB, free: 17.59 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003437/47.73, allocations: 498.1 kB / 11.89 GB, free: 17.59 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/47.73, allocations: 4.062 kB / 11.89 GB, free: 17.59 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04605/47.78, allocations: 14.99 MB / 11.9 GB, free: 17.04 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003552/47.78, allocations: 58.62 kB / 11.9 GB, free: 17.04 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01398/47.79, allocations: 4.561 MB / 11.91 GB, free: 16.86 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01019/47.8, allocations: 1.944 MB / 11.91 GB, free: 16.84 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03192/47.83, allocations: 17.32 MB / 11.93 GB, free: 11.19 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02111/47.86, allocations: 1.181 MB / 11.93 GB, free: 11.11 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003396/47.86, allocations: 451.9 kB / 11.93 GB, free: 11.11 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 269 * 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 (742): * Single equations (assignments): 725 * 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: 6 * 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: 6 {1 4,1 2,1 2,1 2,7 78,7 78} Notification: Performance of prepare postOptimizeDAE: time 0.01823/47.88, allocations: 3.139 MB / 11.93 GB, free: 10.91 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006276/47.88, allocations: 1.208 MB / 11.93 GB, free: 10.25 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05194/47.94, allocations: 14.56 MB / 11.95 GB, free: 9.418 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000149/47.94, allocations: 61.91 kB / 11.95 GB, free: 9.418 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.612e-05/47.94, allocations: 2.625 kB / 11.95 GB, free: 9.418 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03536/47.97, allocations: 11.9 MB / 11.96 GB, free: 8.574 MB / 0.8698 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.08314/48.05, allocations: 26.66 MB / 11.98 GB, free: 2.68 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.046e-05/48.05, allocations: 8 kB / 11.98 GB, free: 2.672 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006581/48.06, allocations: 1.151 MB / 11.99 GB, free: 1.77 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01498/48.08, allocations: 3.772 MB / 11.99 GB, free: 15.72 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002/48.08, allocations: 177.9 kB / 11.99 GB, free: 15.57 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01448/48.09, allocations: 11.64 MB / 12 GB, free: 4.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.631e-05/48.09, allocations: 12.88 kB / 12 GB, free: 4.488 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05459/48.15, allocations: 19.58 MB / 12.02 GB, free: 4.156 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01396/48.16, allocations: 2.572 MB / 12.02 GB, free: 1.938 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007063/48.17, allocations: 111.8 kB / 12.02 GB, free: 1.832 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01621/48.18, allocations: 0.9861 MB / 12.02 GB, free: 1.152 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002221/48.19, allocations: 393.9 kB / 12.02 GB, free: 0.9062 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001873/48.19, allocations: 260.8 kB / 12.02 GB, free: 0.6914 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.05455/48.24, allocations: 11.37 MB / 12.04 GB, free: 14.37 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.502e-06/48.24, allocations: 0 / 12.04 GB, free: 14.37 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0526/48.3, allocations: 6.005 MB / 12.04 GB, free: 8.562 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 3 (valSouth.vol.dynBal.U,valNorth.vol.dynBal.U,heater.outCon.T) * 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 (440): * Single equations (assignments): 415 * 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: 7 * 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: 7 {9 78,1 4,1 2,1 2,1 2,1 1,8 77} Notification: Performance of Backend phase and start with SimCode phase: time 0.01322/48.31, allocations: 4.94 MB / 12.05 GB, free: 4.18 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 1.064/49.37, allocations: 20.18 MB / 12.07 GB, free: 102.1 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.565e-05/49.37, allocations: 3.203 kB / 12.07 GB, free: 102.1 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.01408/49.39, allocations: 5.436 MB / 12.07 GB, free: 102 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06084/49.45, allocations: 5.89 MB / 12.08 GB, free: 101.9 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07637/49.52, allocations: 27.88 MB / 12.1 GB, free: 91.47 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02302/49.55, allocations: 6.857 MB / 12.11 GB, free: 90.51 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.02959/49.58, allocations: 3.877 MB / 12.11 GB, free: 90.4 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008865/49.59, allocations: 0.949 MB / 12.12 GB, free: 90.4 MB / 0.9167 GB Notification: Performance of SimCode: time 1.523e-06/49.59, allocations: 2.25 kB / 12.12 GB, free: 90.4 MB / 0.9167 GB Notification: Performance of Templates: time 2.361/51.95, allocations: 280.2 MB / 12.39 GB, free: 131.4 MB / 0.948 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Examples.FlowSystem.Simplified6.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Examples.FlowSystem.Simplified6.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.FlowSystem.Simplified6.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.FlowSystem.Simplified6.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.FlowSystem.Simplified6.sim & ./IBPSA_latest_IBPSA.Fluid.Examples.FlowSystem.Simplified6 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Examples.FlowSystem.Simplified6.pipe 2>&1)