Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified6.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.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.4.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified6") translateModel(BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified6") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/UsersGuide/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: License Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo): time 0.6459/0.6459, allocations: 117.9 MB / 133.9 MB, free: 4.508 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.00154/0.00154, allocations: 179 kB / 161.7 MB, free: 2.73 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.821/1.821, allocations: 205.4 MB / 394.8 MB, free: 20.97 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.0008705/0.0008705, allocations: 97.45 kB / 470.1 MB, free: 12.12 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004448/0.0004449, allocations: 20 kB / 0.5423 GB, free: 6.836 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3952/0.3957, allocations: 74.53 MB / 0.6151 GB, free: 54.11 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.198/1.593, allocations: 429.4 MB / 1.034 GB, free: 217.9 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002681/1.594, allocations: 105.4 kB / 1.035 GB, free: 217.9 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 41.89/43.49, allocations: 10.08 GB / 11.11 GB, free: 66.37 MB / 0.9011 GB Notification: Performance of FrontEnd: time 3.536e-06/43.49, allocations: 0 / 11.11 GB, free: 66.37 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.00308/43.49, allocations: 350.9 kB / 11.11 GB, free: 66.29 MB / 0.9011 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.06189/43.55, allocations: 17.18 MB / 11.13 GB, free: 59.58 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/43.55, allocations: 10.12 kB / 11.13 GB, free: 59.58 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01525/43.57, allocations: 2.217 MB / 11.13 GB, free: 58.76 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05567/43.62, allocations: 19.15 MB / 11.15 GB, free: 50.58 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007636/43.62, allocations: 0.5196 MB / 11.15 GB, free: 50.06 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003001/43.63, allocations: 0.6995 MB / 11.15 GB, free: 49.36 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03184/43.66, allocations: 10.99 MB / 11.16 GB, free: 40.43 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001717/43.66, allocations: 19.81 kB / 11.16 GB, free: 40.41 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001142/43.66, allocations: 252 kB / 11.16 GB, free: 40.16 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001198/43.66, allocations: 148 kB / 11.16 GB, free: 40.02 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02468/43.68, allocations: 9.362 MB / 11.17 GB, free: 30.64 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 removeSimpleEquations (simulation): time 0.8578/44.54, allocations: 50.35 MB / 11.22 GB, free: 55.21 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01905/44.56, allocations: 7.355 MB / 11.23 GB, free: 55.06 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006321/44.57, allocations: 3.67 MB / 11.23 GB, free: 55.01 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.03338/44.6, allocations: 12.76 MB / 11.24 GB, free: 52.17 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01685/44.62, allocations: 5.937 MB / 11.25 GB, free: 52.07 MB / 0.9011 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01284/44.63, allocations: 2.463 MB / 11.25 GB, free: 52.07 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=323): time 3.492e-05/44.63, allocations: 0.5625 kB / 11.25 GB, free: 52.07 MB / 0.9011 GB Notification: Performance of matching and sorting (n=509): time 0.3866/45.02, allocations: 94.04 MB / 11.34 GB, free: 45.52 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.455e-05/45.02, allocations: 106.9 kB / 11.34 GB, free: 45.45 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03379/45.05, allocations: 13.4 MB / 11.36 GB, free: 44.71 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.002843/45.05, allocations: 180.5 kB / 11.36 GB, free: 44.68 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.009837/45.06, allocations: 6.275 MB / 11.36 GB, free: 43.61 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.003568/45.07, allocations: 1.716 MB / 11.36 GB, free: 42.74 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001299/45.07, allocations: 143 kB / 11.37 GB, free: 42.74 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0005502/45.07, allocations: 0.5939 MB / 11.37 GB, free: 42.43 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0108/45.08, allocations: 5.104 MB / 11.37 GB, free: 42.38 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01404/45.1, allocations: 8.037 MB / 11.38 GB, free: 38.93 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02438/45.12, allocations: 12.29 MB / 11.39 GB, free: 36.38 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000119/45.12, allocations: 16.53 kB / 11.39 GB, free: 36.38 MB / 0.9011 GB Notification: Performance of matching and sorting (n=952) (initialization): time 0.1059/45.23, allocations: 27.81 MB / 11.42 GB, free: 34.91 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.002226/45.23, allocations: 1.951 MB / 11.42 GB, free: 32.46 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001496/45.23, allocations: 60.81 kB / 11.42 GB, free: 32.46 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02307/45.25, allocations: 7.207 MB / 11.43 GB, free: 32.16 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01046/45.26, allocations: 1.814 MB / 11.43 GB, free: 32.14 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1645/45.43, allocations: 68.99 MB / 11.5 GB, free: 2.184 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01709/45.44, allocations: 1.348 MB / 11.5 GB, free: 1.359 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002631/45.45, allocations: 0.4952 MB / 11.5 GB, free: 0.9961 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/45.45, allocations: 8 kB / 11.5 GB, free: 0.9883 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04394/45.49, allocations: 15.87 MB / 11.51 GB, free: 9.816 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002266/45.49, allocations: 60 kB / 11.51 GB, free: 9.758 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01834/45.51, allocations: 5.303 MB / 11.52 GB, free: 6.309 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00856/45.52, allocations: 1.655 MB / 11.52 GB, free: 5.09 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.9164/46.43, allocations: 31.6 MB / 11.55 GB, free: 89.38 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01585/46.45, allocations: 0.9609 MB / 11.55 GB, free: 89.38 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002579/46.45, allocations: 441.5 kB / 11.55 GB, free: 89.38 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 271 * 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 (737): * Single equations (assignments): 721 * 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: 6 * 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: 5 {1 4,1 2,1 2,1 2,7 78} Notification: Performance of prepare postOptimizeDAE: time 0.01122/46.46, allocations: 3.102 MB / 11.56 GB, free: 89.2 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003809/46.47, allocations: 1.194 MB / 11.56 GB, free: 89.2 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07899/46.55, allocations: 23.52 MB / 11.58 GB, free: 88.7 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001364/46.55, allocations: 61.48 kB / 11.58 GB, free: 88.7 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.911e-05/46.55, allocations: 20.44 kB / 11.58 GB, free: 88.7 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.06956/46.62, allocations: 20.8 MB / 11.6 GB, free: 88.12 MB / 0.9323 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.1267/46.74, allocations: 36 MB / 11.63 GB, free: 86.36 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.664e-05/46.74, allocations: 5.312 kB / 11.63 GB, free: 86.36 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007054/46.75, allocations: 1.138 MB / 11.64 GB, free: 86.36 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02164/46.77, allocations: 6.25 MB / 11.64 GB, free: 86.29 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001705/46.77, allocations: 180.7 kB / 11.64 GB, free: 86.29 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1391/46.91, allocations: 56.48 MB / 11.7 GB, free: 76.96 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.098e-05/46.91, allocations: 9.625 kB / 11.7 GB, free: 76.96 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08472/47, allocations: 29.1 MB / 11.73 GB, free: 75.93 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01112/47.01, allocations: 2.565 MB / 11.73 GB, free: 75.32 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005791/47.01, allocations: 106.1 kB / 11.73 GB, free: 75.32 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01502/47.03, allocations: 1.193 MB / 11.73 GB, free: 75.3 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002937/47.03, allocations: 0.493 MB / 11.73 GB, free: 75.29 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001163/47.03, allocations: 274.7 kB / 11.73 GB, free: 75.29 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.02201/47.06, allocations: 9.086 MB / 11.74 GB, free: 74.94 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.843e-06/47.06, allocations: 3.469 kB / 11.74 GB, free: 74.94 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.06959/47.13, allocations: 7.241 MB / 11.75 GB, free: 74.94 MB / 0.9323 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 (432): * Single equations (assignments): 409 * 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: 6 * 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,65.3%) 74} * Non-linear torn systems: 5 {1 4,1 2,1 2,1 2,8 77} Notification: Performance of Backend phase and start with SimCode phase: time 0.01038/47.14, allocations: 4.976 MB / 11.75 GB, free: 73.07 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.05446/47.19, allocations: 21.31 MB / 11.77 GB, free: 71.81 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.492e-05/47.19, allocations: 8.312 kB / 11.77 GB, free: 71.81 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.01979/47.21, allocations: 7.468 MB / 11.78 GB, free: 71.32 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06186/47.27, allocations: 5.886 MB / 11.79 GB, free: 70.52 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09459/47.37, allocations: 33.53 MB / 11.82 GB, free: 44.25 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01727/47.38, allocations: 6.913 MB / 11.82 GB, free: 39.82 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.02608/47.41, allocations: 3.825 MB / 11.83 GB, free: 37.11 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005641/47.42, allocations: 0.9317 MB / 11.83 GB, free: 36.33 MB / 0.9323 GB Notification: Performance of SimCode: time 1.112e-06/47.42, allocations: 4 kB / 11.83 GB, free: 36.32 MB / 0.9323 GB Notification: Performance of Templates: time 2.359/49.78, allocations: 347.6 MB / 12.17 GB, free: 22.68 MB / 0.948 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified6.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified6.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified6.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified6.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified6.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified6 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified6.pipe 2>&1)