Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified5") translateModel(BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.8032/0.8032, allocations: 128.7 MB / 143.7 MB, free: 2.105 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001207/0.001207, allocations: 188.3 kB / 173.8 MB, free: 5.805 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.741/1.741, allocations: 205.4 MB / 409 MB, free: 10.46 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009703/0.0009703, allocations: 88.27 kB / 486.6 MB, free: 12.97 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000327/0.000327, allocations: 11.16 kB / 0.5603 GB, free: 97.61 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1491/0.1495, allocations: 76.77 MB / 0.6353 GB, free: 30.52 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.087/1.236, allocations: 429.7 MB / 1.055 GB, free: 161.7 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002569/1.236, allocations: 103 kB / 1.055 GB, free: 161.7 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 41.97/43.21, allocations: 9.913 GB / 10.97 GB, free: 69.96 MB / 0.9167 GB Notification: Performance of FrontEnd: time 3.086e-06/43.21, allocations: 0 / 10.97 GB, free: 69.96 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.00316/43.21, allocations: 351.3 kB / 10.97 GB, free: 69.89 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1489 * Number of variables: 1489 Notification: Performance of Generate backend data structure: time 0.07546/43.29, allocations: 17.42 MB / 10.99 GB, free: 63.46 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.773e-05/43.29, allocations: 14.97 kB / 10.99 GB, free: 63.46 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01709/43.31, allocations: 2.369 MB / 10.99 GB, free: 62.63 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06789/43.37, allocations: 19.36 MB / 11.01 GB, free: 60.25 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001017/43.38, allocations: 0.5143 MB / 11.01 GB, free: 60.24 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00438/43.38, allocations: 0.7015 MB / 11.01 GB, free: 60.24 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05296/43.43, allocations: 15.79 MB / 11.02 GB, free: 59.52 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005985/43.43, allocations: 7.875 kB / 11.02 GB, free: 59.52 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004742/43.44, allocations: 245.3 kB / 11.02 GB, free: 59.52 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000233/43.44, allocations: 148 kB / 11.02 GB, free: 59.52 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05172/43.49, allocations: 20.38 MB / 11.04 GB, free: 58.07 MB / 0.9167 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.23/44.72, allocations: 69.93 MB / 11.11 GB, free: 75.58 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02989/44.75, allocations: 12.2 MB / 11.12 GB, free: 75.49 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07215/44.82, allocations: 27.38 MB / 11.15 GB, free: 67.93 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03263/44.85, allocations: 10.86 MB / 11.16 GB, free: 67.82 MB / 0.9167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.05056/44.91, allocations: 15.08 MB / 11.18 GB, free: 67.82 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=392): time 7.428e-05/44.91, allocations: 0 / 11.18 GB, free: 67.82 MB / 0.9167 GB Notification: Performance of matching and sorting (n=581): time 0.6791/45.58, allocations: 158.8 MB / 11.33 GB, free: 59.02 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.996e-05/45.58, allocations: 112.1 kB / 11.33 GB, free: 58.95 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03254/45.62, allocations: 11.86 MB / 11.34 GB, free: 58.3 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.004424/45.62, allocations: 186.7 kB / 11.34 GB, free: 58.27 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.01014/45.63, allocations: 6.077 MB / 11.35 GB, free: 57.32 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.005584/45.64, allocations: 1.949 MB / 11.35 GB, free: 56.32 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003094/45.64, allocations: 144.5 kB / 11.35 GB, free: 56.32 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0006209/45.64, allocations: 0.5992 MB / 11.35 GB, free: 56 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01794/45.66, allocations: 8.936 MB / 11.36 GB, free: 55.06 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02085/45.68, allocations: 11.52 MB / 11.37 GB, free: 47.7 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02063/45.7, allocations: 9.844 MB / 11.38 GB, free: 43 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001193/45.7, allocations: 16 kB / 11.38 GB, free: 42.98 MB / 0.9167 GB Notification: Performance of matching and sorting (n=962) (initialization): time 0.1269/45.83, allocations: 36.56 MB / 11.42 GB, free: 16.47 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.01366/45.84, allocations: 30.15 MB / 11.45 GB, free: 0.8477 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000417/45.84, allocations: 48 kB / 11.45 GB, free: 0.8008 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.775/47.62, allocations: 173.3 MB / 11.61 GB, free: 101.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01242/47.63, allocations: 1.689 MB / 11.62 GB, free: 101.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08729/47.72, allocations: 43.08 MB / 11.66 GB, free: 95.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02475/47.74, allocations: 1.426 MB / 11.66 GB, free: 95.44 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00571/47.75, allocations: 0.8136 MB / 11.66 GB, free: 95.44 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/47.75, allocations: 3.281 kB / 11.66 GB, free: 95.44 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.07156/47.82, allocations: 26.79 MB / 11.69 GB, free: 93.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002772/47.82, allocations: 48 kB / 11.69 GB, free: 93.35 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.661/49.48, allocations: 171.4 MB / 11.85 GB, free: 127.4 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009499/49.49, allocations: 1.526 MB / 11.86 GB, free: 127.4 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07867/49.57, allocations: 43.52 MB / 11.9 GB, free: 123.2 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01959/49.59, allocations: 1.031 MB / 11.9 GB, free: 123.2 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004413/49.59, allocations: 0.7525 MB / 11.9 GB, free: 123.2 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 209 * 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 (656): * Single equations (assignments): 643 * Array equations: 4 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * 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: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(6,72.2%) 82} * Non-linear torn systems: 2 {39 57,6 82} Notification: Performance of prepare postOptimizeDAE: time 0.01284/49.61, allocations: 3.07 MB / 11.9 GB, free: 123 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008348/49.61, allocations: 1.201 MB / 11.9 GB, free: 123 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1202/49.73, allocations: 33.75 MB / 11.94 GB, free: 122.5 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001935/49.73, allocations: 69.94 kB / 11.94 GB, free: 122.5 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001629/49.73, allocations: 21.22 kB / 11.94 GB, free: 122.4 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1007/49.84, allocations: 28.09 MB / 11.96 GB, free: 121.9 MB / 0.9792 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.1622/50, allocations: 52.2 MB / 12.02 GB, free: 115.5 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001312/50, allocations: 6.625 kB / 12.02 GB, free: 115.5 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007654/50.01, allocations: 1.22 MB / 12.02 GB, free: 115.5 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2138/50.22, allocations: 51.72 MB / 12.07 GB, free: 101.1 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002862/50.22, allocations: 211.6 kB / 12.07 GB, free: 101 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1445/50.37, allocations: 58.08 MB / 12.12 GB, free: 67.79 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.104e-06/50.37, allocations: 9.531 kB / 12.12 GB, free: 67.78 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.09931/50.47, allocations: 41.03 MB / 12.16 GB, free: 33.31 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01251/50.48, allocations: 2.966 MB / 12.17 GB, free: 30.34 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005716/50.48, allocations: 128 kB / 12.17 GB, free: 30.21 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01695/50.5, allocations: 1.212 MB / 12.17 GB, free: 29.02 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00437/50.51, allocations: 0.5684 MB / 12.17 GB, free: 28.46 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003176/50.51, allocations: 308.5 kB / 12.17 GB, free: 28.16 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.9272/51.44, allocations: 9.08 MB / 12.18 GB, free: 128.4 MB / 0.9792 GB Notification: Performance of sort global known variables: time 2.063e-06/51.44, allocations: 0 / 12.18 GB, free: 128.4 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.06962/51.51, allocations: 7.179 MB / 12.19 GB, free: 128.4 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * 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 (485): * Single equations (assignments): 465 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * 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: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(8,56.2%) 74} * Non-linear torn systems: 2 {38 56,6 82} Notification: Performance of Backend phase and start with SimCode phase: time 0.01287/51.52, allocations: 5.123 MB / 12.19 GB, free: 126.5 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.09451/51.61, allocations: 37.45 MB / 12.23 GB, free: 125.5 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.279e-05/51.61, allocations: 3.344 kB / 12.23 GB, free: 125.5 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.03081/51.64, allocations: 12 MB / 12.24 GB, free: 125 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03798/51.68, allocations: 6.219 MB / 12.24 GB, free: 124.9 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1063/51.79, allocations: 35.92 MB / 12.28 GB, free: 114.2 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01863/51.81, allocations: 7.245 MB / 12.29 GB, free: 113.2 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.02517/51.83, allocations: 3.688 MB / 12.29 GB, free: 113 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007018/51.84, allocations: 0.9738 MB / 12.29 GB, free: 113 MB / 0.9792 GB Notification: Performance of SimCode: time 1.693e-06/51.84, allocations: 0 / 12.29 GB, free: 113 MB / 0.9792 GB Notification: Performance of Templates: time 2.205/54.04, allocations: 452.7 MB / 12.73 GB, free: 124.9 MB / 0.9949 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified5.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified5.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified5.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified5.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified5.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified5.pipe 2>&1)