Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water") translateModel(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008586/0.0008586, allocations: 91.69 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008642/0.0008642, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.187/1.187, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.8592/0.8592, allocations: 143.2 MB / 434.2 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002641/0.0002642, allocations: 12 kB / 0.5158 GB, free: 11.5 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1258/0.1261, allocations: 83.41 MB / 0.5972 GB, free: 8.055 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.239/0.3651, allocations: 26.91 MB / 0.6235 GB, free: 29.89 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00639/0.3715, allocations: 6.493 MB / 0.6299 GB, free: 25.28 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006282/0.3722, allocations: 42.44 kB / 0.6299 GB, free: 25.25 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009105/0.3731, allocations: 0.5465 MB / 0.6304 GB, free: 25.04 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002073/0.3752, allocations: 1.194 MB / 0.6316 GB, free: 24.4 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001948/0.3771, allocations: 0.9225 MB / 0.6325 GB, free: 23.96 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002084/0.3792, allocations: 2.776 MB / 0.6352 GB, free: 22.84 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007255/0.38, allocations: 0.6435 MB / 0.6358 GB, free: 22.61 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001024/0.381, allocations: 0.885 MB / 0.6367 GB, free: 22.27 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006336/0.3816, allocations: 0.7566 MB / 0.6374 GB, free: 21.98 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.613e-05/0.3817, allocations: 38.16 kB / 0.6375 GB, free: 21.98 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009954/0.3827, allocations: 498 kB / 0.638 GB, free: 21.82 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001582/0.3829, allocations: 235.2 kB / 0.6382 GB, free: 21.71 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001419/0.383, allocations: 234.5 kB / 0.6384 GB, free: 21.58 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007482/0.3838, allocations: 1.063 MB / 0.6394 GB, free: 21.29 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.3838, allocations: 0 / 0.6394 GB, free: 21.29 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.793e-06/0.3838, allocations: 0 / 0.6394 GB, free: 21.29 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.041e-05/0.3838, allocations: 3.219 kB / 0.6394 GB, free: 21.29 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 176 * Number of variables: 176 Notification: Performance of Generate backend data structure: time 0.001666/0.3855, allocations: 1.376 MB / 0.6408 GB, free: 20.34 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.814e-05/0.3855, allocations: 10.06 kB / 0.6408 GB, free: 20.34 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002648/0.3882, allocations: 0.6305 MB / 0.6414 GB, free: 20.23 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008122/0.389, allocations: 0.7686 MB / 0.6422 GB, free: 19.77 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.44e-05/0.389, allocations: 55.22 kB / 0.6422 GB, free: 19.74 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.297e-05/0.3891, allocations: 73.34 kB / 0.6423 GB, free: 19.71 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001701/0.3908, allocations: 1.117 MB / 0.6434 GB, free: 19.2 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.739e-05/0.3909, allocations: 0 / 0.6434 GB, free: 19.2 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.122e-05/0.3909, allocations: 32.62 kB / 0.6434 GB, free: 19.17 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.358e-05/0.391, allocations: 18.44 kB / 0.6434 GB, free: 19.17 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002258/0.3932, allocations: 1.02 MB / 0.6444 GB, free: 18.91 MB / 0.4981 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.003566/0.3968, allocations: 4.971 MB / 0.6493 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002263/0.3991, allocations: 0.9543 MB / 0.6502 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001176/0.4003, allocations: 498.4 kB / 0.6507 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008361/0.4011, allocations: 1.6 MB / 0.6523 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001347/0.4025, allocations: 0.5888 MB / 0.6528 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=61): time 2.044e-06/0.4025, allocations: 0 / 0.6528 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of matching and sorting (n=61): time 0.003797/0.4063, allocations: 1.513 MB / 0.6543 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.889e-05/0.4063, allocations: 61.38 kB / 0.6544 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001123/0.4074, allocations: 1.109 MB / 0.6554 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.961e-05/0.4075, allocations: 39.38 kB / 0.6555 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003012/0.4078, allocations: 0.543 MB / 0.656 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000134/0.408, allocations: 212.6 kB / 0.6562 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.129e-05/0.408, allocations: 15.38 kB / 0.6562 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.664e-05/0.4081, allocations: 343.8 kB / 0.6566 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001206/0.4093, allocations: 457 kB / 0.657 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001308/0.4106, allocations: 0.7218 MB / 0.6577 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001208/0.4118, allocations: 0.4916 MB / 0.6582 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.4118, allocations: 1.938 kB / 0.6582 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002789/0.4146, allocations: 1.286 MB / 0.6594 GB, free: 9.672 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.4146, allocations: 7.969 kB / 0.6594 GB, free: 9.672 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.4147, allocations: 6.906 kB / 0.6595 GB, free: 9.672 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.076e-05/0.4147, allocations: 17.31 kB / 0.6595 GB, free: 9.668 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001039/0.4157, allocations: 274.5 kB / 0.6597 GB, free: 9.645 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.731e-05/0.4158, allocations: 17.64 kB / 0.6597 GB, free: 9.641 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009504/0.4167, allocations: 207.1 kB / 0.6599 GB, free: 9.57 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.293e-05/0.4168, allocations: 48.36 kB / 0.66 GB, free: 9.562 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,$PRE.setHeaHigPow.nextTimeEvent,$whenCondition2,$PRE.setCooLimPow.nextTimeEvent,$whenCondition1,$PRE.setHeaCooUnl.nextTimeEvent,setHeaHigPow.nextTimeEvent,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (100): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003092/0.4171, allocations: 297 kB / 0.6603 GB, free: 9.363 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001147/0.4172, allocations: 118.8 kB / 0.6604 GB, free: 9.301 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003113/0.4204, allocations: 1.375 MB / 0.6617 GB, free: 8.891 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.566e-05/0.4204, allocations: 17.77 kB / 0.6617 GB, free: 8.883 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.4204, allocations: 1.656 kB / 0.6617 GB, free: 8.883 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.427e-06/0.4204, allocations: 4.297 kB / 0.6618 GB, free: 8.883 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004024/0.4244, allocations: 2.385 MB / 0.6641 GB, free: 7.867 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/0.4245, allocations: 1.344 kB / 0.6641 GB, free: 7.867 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008804/0.4253, allocations: 198 kB / 0.6643 GB, free: 7.848 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.963e-06/0.4254, allocations: 12.7 kB / 0.6643 GB, free: 7.84 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.915e-05/0.4254, allocations: 25.59 kB / 0.6643 GB, free: 7.832 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.199e-06/0.4254, allocations: 3.906 kB / 0.6643 GB, free: 7.832 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.4254, allocations: 3.188 kB / 0.6643 GB, free: 7.832 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004089/0.4295, allocations: 2.005 MB / 0.6663 GB, free: 7.078 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002979/0.4298, allocations: 284.9 kB / 0.6665 GB, free: 6.871 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001306/0.43, allocations: 27.95 kB / 0.6666 GB, free: 6.852 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007969/0.4308, allocations: 122.2 kB / 0.6667 GB, free: 6.84 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.463e-05/0.4309, allocations: 53.08 kB / 0.6667 GB, free: 6.828 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.69e-05/0.431, allocations: 37.58 kB / 0.6668 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007937/0.4318, allocations: 0.7557 MB / 0.6675 GB, free: 6.535 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4318, allocations: 0 / 0.6675 GB, free: 6.535 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008727/0.4326, allocations: 340.1 kB / 0.6678 GB, free: 6.461 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (heaHigPow.T,cooLimPow.T,heaCooUnl.T) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,setHeaHigPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 6 (setHeaHigPow.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 6 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00119/0.4338, allocations: 0.6564 MB / 0.6685 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00267/0.4365, allocations: 1.129 MB / 0.6696 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.4365, allocations: 5.094 kB / 0.6696 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00133/0.4379, allocations: 0.5799 MB / 0.6702 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001655/0.4395, allocations: 429.1 kB / 0.6706 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003965/0.4435, allocations: 2.711 MB / 0.6732 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005502/0.4441, allocations: 1.108 MB / 0.6743 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0009592/0.445, allocations: 245.8 kB / 0.6745 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002804/0.4453, allocations: 104.6 kB / 0.6746 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of SimCode: time 8.11e-07/0.4453, allocations: 0 / 0.6746 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of Templates: time 0.02754/0.4729, allocations: 18.68 MB / 0.6929 GB, free: 10.21 MB / 0.5137 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1)