Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified4.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.Simplified4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified4") translateModel(BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.9939/0.9939, allocations: 127.3 MB / 139.8 MB, free: 15.43 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001085/0.001085, allocations: 192.7 kB / 169.7 MB, free: 1.719 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.764/1.764, allocations: 205.1 MB / 404.5 MB, free: 1.59 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.001062/0.001062, allocations: 83.92 kB / 481.8 MB, free: 4.242 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.404e-05/4.416e-05, allocations: 4 kB / 0.5532 GB, free: 54.84 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.163/0.1631, allocations: 76.76 MB / 0.6281 GB, free: 10.02 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.309/1.472, allocations: 428.9 MB / 1.047 GB, free: 87.24 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002602/1.473, allocations: 104.2 kB / 1.047 GB, free: 87.19 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 45.86/47.33, allocations: 9.938 GB / 10.99 GB, free: 70.49 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.014e-06/47.33, allocations: 0 / 10.99 GB, free: 70.49 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.003072/47.33, allocations: 390.8 kB / 10.99 GB, free: 70.41 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1743 * Number of variables: 1743 Notification: Performance of Generate backend data structure: time 0.04951/47.38, allocations: 11.98 MB / 11 GB, free: 65.07 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.978e-05/47.38, allocations: 10.31 kB / 11 GB, free: 65.07 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01675/47.4, allocations: 2.33 MB / 11 GB, free: 64.18 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07112/47.47, allocations: 21.28 MB / 11.02 GB, free: 61.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001078/47.47, allocations: 0.5941 MB / 11.02 GB, free: 61.68 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005209/47.48, allocations: 0.7947 MB / 11.02 GB, free: 61.68 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05031/47.53, allocations: 15.75 MB / 11.04 GB, free: 57.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005442/47.53, allocations: 23.5 kB / 11.04 GB, free: 57.88 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004336/47.53, allocations: 282.1 kB / 11.04 GB, free: 57.61 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002122/47.53, allocations: 190.7 kB / 11.04 GB, free: 57.43 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04304/47.58, allocations: 19.82 MB / 11.06 GB, free: 39.79 MB / 0.948 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 1.204/48.78, allocations: 73.99 MB / 11.13 GB, free: 60.73 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02637/48.81, allocations: 11.32 MB / 11.14 GB, free: 60.57 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01408/48.82, allocations: 8.418 MB / 11.15 GB, free: 60.51 MB / 0.948 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 0.0751/48.9, allocations: 28.29 MB / 11.18 GB, free: 52.23 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02831/48.93, allocations: 9.978 MB / 11.19 GB, free: 52.12 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.05112/48.98, allocations: 14.97 MB / 11.2 GB, free: 52.12 MB / 0.948 GB Notification: Performance of pre-optimization done (n=425): time 6.358e-05/48.98, allocations: 0.9375 kB / 11.2 GB, free: 52.12 MB / 0.948 GB Notification: Performance of matching and sorting (n=611): time 0.4961/49.47, allocations: 116.1 MB / 11.31 GB, free: 45.22 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001247/49.47, allocations: 116.2 kB / 11.31 GB, free: 45.15 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03915/49.51, allocations: 12.37 MB / 11.33 GB, free: 44.42 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.005323/49.52, allocations: 196.5 kB / 11.33 GB, free: 44.38 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.01245/49.53, allocations: 6.677 MB / 11.33 GB, free: 43.28 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.006187/49.54, allocations: 2.065 MB / 11.33 GB, free: 42.23 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004173/49.54, allocations: 158.2 kB / 11.34 GB, free: 42.23 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0009302/49.54, allocations: 0.6139 MB / 11.34 GB, free: 41.91 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01605/49.56, allocations: 8.061 MB / 11.34 GB, free: 41.89 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01921/49.58, allocations: 10.86 MB / 11.35 GB, free: 38.67 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01942/49.6, allocations: 9.083 MB / 11.36 GB, free: 38.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002083/49.6, allocations: 15.84 kB / 11.36 GB, free: 38.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=1033) (initialization): time 0.1064/49.7, allocations: 33.82 MB / 11.4 GB, free: 24.18 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.009832/49.71, allocations: 36.2 MB / 11.43 GB, free: 2.199 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000193/49.71, allocations: 57.12 kB / 11.43 GB, free: 2.145 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.763/51.48, allocations: 149.6 MB / 11.58 GB, free: 104 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01156/51.49, allocations: 1.731 MB / 11.58 GB, free: 104 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07752/51.57, allocations: 37.98 MB / 11.62 GB, free: 98.44 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02585/51.59, allocations: 1.464 MB / 11.62 GB, free: 98.44 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006744/51.6, allocations: 0.8227 MB / 11.62 GB, free: 98.44 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 2.292e-05/51.6, allocations: 5.594 kB / 11.62 GB, free: 98.44 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.09076/51.69, allocations: 25.88 MB / 11.64 GB, free: 98.09 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003823/51.69, allocations: 52.81 kB / 11.64 GB, free: 98.09 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6448/52.33, allocations: 147.1 MB / 11.79 GB, free: 10.31 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009321/52.34, allocations: 1.695 MB / 11.79 GB, free: 8.75 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08691/52.43, allocations: 39.8 MB / 11.83 GB, free: 12.29 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02218/52.45, allocations: 1.08 MB / 11.83 GB, free: 11.41 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.029/53.48, allocations: 0.7661 MB / 11.83 GB, free: 132.9 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 245 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (759): * Single equations (assignments): 746 * 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 {(5,76.0%) 80} * Non-linear torn systems: 2 {32 38,5 80} Notification: Performance of prepare postOptimizeDAE: time 0.006813/53.49, allocations: 0.566 MB / 11.83 GB, free: 132.8 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00628/53.5, allocations: 1.278 MB / 11.83 GB, free: 132.8 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1329/53.63, allocations: 35.67 MB / 11.87 GB, free: 132.3 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000163/53.63, allocations: 75.05 kB / 11.87 GB, free: 132.3 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.693e-05/53.63, allocations: 15.69 kB / 11.87 GB, free: 132.3 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.107/53.74, allocations: 29.97 MB / 11.9 GB, free: 131.8 MB / 1.01 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.1884/53.92, allocations: 59.24 MB / 11.95 GB, free: 125.6 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001003/53.92, allocations: 5.438 kB / 11.95 GB, free: 125.6 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00744/53.93, allocations: 1.18 MB / 11.95 GB, free: 125.6 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1862/54.12, allocations: 43.32 MB / 12 GB, free: 125.5 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002652/54.12, allocations: 213 kB / 12 GB, free: 125.5 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1168/54.24, allocations: 48.48 MB / 12.04 GB, free: 118 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.789e-06/54.24, allocations: 8.469 kB / 12.04 GB, free: 118 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2161/54.45, allocations: 61.52 MB / 12.1 GB, free: 92.79 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01261/54.47, allocations: 3.074 MB / 12.11 GB, free: 90.97 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006228/54.47, allocations: 133.8 kB / 12.11 GB, free: 90.94 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0174/54.49, allocations: 1.242 MB / 12.11 GB, free: 90.25 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003841/54.49, allocations: 0.5611 MB / 12.11 GB, free: 89.98 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002051/54.5, allocations: 310.8 kB / 12.11 GB, free: 89.78 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.02199/54.52, allocations: 9.439 MB / 12.12 GB, free: 84.46 MB / 1.01 GB Notification: Performance of sort global known variables: time 4.7e-07/54.52, allocations: 0.5625 kB / 12.12 GB, free: 84.46 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.05748/54.58, allocations: 7.724 MB / 12.13 GB, free: 77.69 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (533): * Single equations (assignments): 513 * 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 {(7,75.5%) 74} * Non-linear torn systems: 2 {30 38,5 80} Notification: Performance of Backend phase and start with SimCode phase: time 0.01073/54.59, allocations: 5.643 MB / 12.13 GB, free: 73.34 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.07549/54.66, allocations: 34.7 MB / 12.17 GB, free: 50.11 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.691e-05/54.66, allocations: 4 kB / 12.17 GB, free: 50.11 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.02425/54.69, allocations: 10.53 MB / 12.18 GB, free: 40.7 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04468/54.73, allocations: 6.672 MB / 12.18 GB, free: 36.16 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.982/56.71, allocations: 28.99 MB / 12.21 GB, free: 115.1 MB / 1.011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0172/56.73, allocations: 7.761 MB / 12.22 GB, free: 114 MB / 1.011 GB Notification: Performance of simCode: alias equations: time 0.03878/56.77, allocations: 6.736 MB / 12.23 GB, free: 113.8 MB / 1.011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004143/56.77, allocations: 0.7788 MB / 12.23 GB, free: 113.8 MB / 1.011 GB Notification: Performance of SimCode: time 1.713e-06/56.77, allocations: 3.25 kB / 12.23 GB, free: 113.8 MB / 1.011 GB Notification: Performance of Templates: time 1.785/58.56, allocations: 492.9 MB / 12.71 GB, free: 124 MB / 1.057 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified4.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified4.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified4.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified4.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified4.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified4.pipe 2>&1)