Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Basic.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.Basic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Basic") translateModel(BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Basic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Basic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.8429/0.8429, allocations: 127.4 MB / 134.9 MB, free: 3.465 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.001098/0.001099, allocations: 183.4 kB / 164.6 MB, free: 11.61 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.712/1.712, allocations: 205.2 MB / 399.5 MB, free: 13.53 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.001148/0.001148, allocations: 85.11 kB / 476.7 MB, free: 1.531 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 1.671e-05/1.673e-05, allocations: 2.938 kB / 0.5466 GB, free: 95.29 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1616/0.1616, allocations: 76.77 MB / 0.6215 GB, free: 43.1 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.204/1.365, allocations: 427.1 MB / 1.039 GB, free: 181.1 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004385/1.366, allocations: 94.78 kB / 1.039 GB, free: 181.1 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 25.61/26.98, allocations: 6.145 GB / 7.184 GB, free: 71.25 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.535e-06/26.98, allocations: 2.312 kB / 7.184 GB, free: 71.25 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.003993/26.98, allocations: 0.535 MB / 7.184 GB, free: 71.13 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: 2029 * Number of variables: 2029 Notification: Performance of Generate backend data structure: time 0.05917/27.04, allocations: 14.03 MB / 7.198 GB, free: 65.17 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/27.04, allocations: 9.125 kB / 7.198 GB, free: 65.17 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01874/27.06, allocations: 2.451 MB / 7.201 GB, free: 64.16 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08197/27.14, allocations: 24.73 MB / 7.225 GB, free: 61.32 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006727/27.14, allocations: 256 kB / 7.225 GB, free: 61.32 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005884/27.15, allocations: 0.578 MB / 7.226 GB, free: 61.32 MB / 0.9167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03472/27.19, allocations: 19.74 MB / 7.245 GB, free: 61.29 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04722/27.23, allocations: 15.41 MB / 7.26 GB, free: 59.46 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007781/27.23, allocations: 24.61 kB / 7.26 GB, free: 59.45 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00548/27.24, allocations: 16.28 kB / 7.26 GB, free: 59.45 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003387/27.24, allocations: 208 kB / 7.26 GB, free: 59.45 MB / 0.9167 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.1638/27.4, allocations: 77.06 MB / 7.335 GB, free: 26.52 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02022/27.42, allocations: 13.04 MB / 7.348 GB, free: 26.07 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01347/27.44, allocations: 9.727 MB / 7.358 GB, free: 24.79 MB / 0.9167 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.0747/27.51, allocations: 31.05 MB / 7.388 GB, free: 8.027 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01736/27.53, allocations: 9.125 MB / 7.397 GB, free: 1.988 MB / 0.9167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 1.121/28.65, allocations: 18.97 MB / 7.415 GB, free: 78.2 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=603): time 9.489e-05/28.65, allocations: 2.281 kB / 7.415 GB, free: 78.2 MB / 0.9167 GB Notification: Performance of matching and sorting (n=605): time 0.7476/29.4, allocations: 149.8 MB / 7.562 GB, free: 74.9 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009933/29.4, allocations: 2.506 MB / 7.564 GB, free: 71.89 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04392/29.44, allocations: 13.58 MB / 7.577 GB, free: 71.14 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.005821/29.45, allocations: 51.75 kB / 7.577 GB, free: 71.11 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.01508/29.46, allocations: 7.925 MB / 7.585 GB, free: 69.73 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.006736/29.47, allocations: 2.053 MB / 7.587 GB, free: 68.65 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005426/29.48, allocations: 0 / 7.587 GB, free: 68.65 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.001311/29.48, allocations: 0.6724 MB / 7.588 GB, free: 68.32 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01709/29.49, allocations: 9.15 MB / 7.597 GB, free: 68.3 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02128/29.52, allocations: 12.66 MB / 7.609 GB, free: 64.29 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02272/29.54, allocations: 10.47 MB / 7.619 GB, free: 64.06 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001542/29.54, allocations: 14.16 kB / 7.619 GB, free: 64.06 MB / 0.9167 GB Notification: Performance of matching and sorting (n=1194) (initialization): time 0.6584/30.2, allocations: 132.6 MB / 7.749 GB, free: 14.45 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.974/31.17, allocations: 34.62 MB / 7.783 GB, free: 103.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000727/31.17, allocations: 113.3 kB / 7.783 GB, free: 103.5 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6592/31.83, allocations: 146.4 MB / 7.926 GB, free: 103.4 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01285/31.84, allocations: 2.103 MB / 7.928 GB, free: 103.4 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1611/32.01, allocations: 71.56 MB / 7.998 GB, free: 97.07 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02388/32.03, allocations: 1.26 MB / 7.999 GB, free: 97 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005558/32.04, allocations: 0.8535 MB / 8 GB, free: 97 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/32.04, allocations: 5.531 kB / 8 GB, free: 97 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.6/32.64, allocations: 122 MB / 8.119 GB, free: 14.78 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006593/32.64, allocations: 115.4 kB / 8.119 GB, free: 14.67 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.711/34.35, allocations: 144.4 MB / 8.26 GB, free: 109.5 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009616/34.36, allocations: 1.99 MB / 8.262 GB, free: 109.5 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1522/34.51, allocations: 73.1 MB / 8.333 GB, free: 106.6 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02053/34.53, allocations: 0.8954 MB / 8.334 GB, free: 106.6 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004668/34.53, allocations: 0.7822 MB / 8.335 GB, free: 106.6 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 217 * 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 (887): * Single equations (assignments): 809 * 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 119} Notification: Performance of prepare postOptimizeDAE: time 0.008113/34.54, allocations: 352 kB / 8.335 GB, free: 106.5 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008003/34.55, allocations: 1.464 MB / 8.337 GB, free: 106.5 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.23/34.78, allocations: 50.57 MB / 8.386 GB, free: 96.82 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001785/34.78, allocations: 71.5 kB / 8.386 GB, free: 96.76 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.182e-05/34.78, allocations: 28 kB / 8.386 GB, free: 96.73 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2021/34.98, allocations: 45.51 MB / 8.431 GB, free: 57.75 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 1.189/36.17, allocations: 65.12 MB / 8.494 GB, free: 104.2 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001098/36.17, allocations: 0.9688 kB / 8.494 GB, free: 104.2 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008739/36.18, allocations: 1.191 MB / 8.495 GB, free: 104.2 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1911/36.37, allocations: 43.68 MB / 8.538 GB, free: 104.2 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003027/36.38, allocations: 173 kB / 8.538 GB, free: 104.2 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1552/36.53, allocations: 61.59 MB / 8.598 GB, free: 95.41 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.474e-06/36.53, allocations: 2.156 kB / 8.598 GB, free: 95.41 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2276/36.76, allocations: 57.08 MB / 8.654 GB, free: 94.43 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.014/36.77, allocations: 3.265 MB / 8.657 GB, free: 93.93 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008272/36.78, allocations: 77.09 kB / 8.657 GB, free: 93.93 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01957/36.8, allocations: 1.11 MB / 8.658 GB, free: 93.88 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004751/36.81, allocations: 0.5308 MB / 8.659 GB, free: 93.87 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002276/36.81, allocations: 275.3 kB / 8.659 GB, free: 93.87 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0245/36.83, allocations: 10.2 MB / 8.669 GB, free: 93.44 MB / 0.9792 GB Notification: Performance of sort global known variables: time 4.3e-07/36.83, allocations: 0 / 8.669 GB, free: 93.44 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.06748/36.9, allocations: 8.324 MB / 8.677 GB, free: 93.44 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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.pulseStart,stepValve.T_start,stepValve.count) * Number of discrete states: 1 (stepValve.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (493): * Single equations (assignments): 472 * 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: 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 119} Notification: Performance of Backend phase and start with SimCode phase: time 0.01228/36.91, allocations: 5.411 MB / 8.683 GB, free: 91.52 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.08823/37, allocations: 38.09 MB / 8.72 GB, free: 87.94 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-05/37, allocations: 14.62 kB / 8.72 GB, free: 87.93 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.02786/37.03, allocations: 10.57 MB / 8.73 GB, free: 82.47 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04634/37.07, allocations: 7.329 MB / 8.737 GB, free: 78.69 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07367/37.15, allocations: 27.65 MB / 8.764 GB, free: 58.5 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01861/37.17, allocations: 8.949 MB / 8.773 GB, free: 53.25 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.04028/37.21, allocations: 8.087 MB / 8.781 GB, free: 48.61 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00399/37.21, allocations: 0.8115 MB / 8.782 GB, free: 47.91 MB / 0.9792 GB Notification: Performance of SimCode: time 2.324e-06/37.21, allocations: 0 / 8.782 GB, free: 47.91 MB / 0.9792 GB Notification: Performance of Templates: time 3.487/40.7, allocations: 489 MB / 9.259 GB, free: 149.7 MB / 1.042 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Basic.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Basic.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Basic.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Basic.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Basic.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Basic -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Basic.pipe 2>&1)