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-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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.0009617/0.0009617, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.006398/0.006398, allocations: 170.2 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.474/1.474, allocations: 223.2 MB / 240.3 MB, free: 5.344 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 1.041/1.041, allocations: 143.4 MB / 434.8 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003898/0.0003897, allocations: 8 kB / 0.5166 GB, free: 10.97 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1942/0.1946, allocations: 83.41 MB / 0.5981 GB, free: 7.5 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.3286/0.5233, allocations: 28.44 MB / 0.6259 GB, free: 27.43 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.009692/0.533, allocations: 6.827 MB / 0.6325 GB, free: 23.16 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00171/0.5347, allocations: 39.38 kB / 0.6326 GB, free: 23.14 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001615/0.5364, allocations: 0.6004 MB / 0.6331 GB, free: 22.89 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003921/0.5403, allocations: 1.347 MB / 0.6345 GB, free: 22.16 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00293/0.5433, allocations: 1.043 MB / 0.6355 GB, free: 21.61 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004018/0.5473, allocations: 3.22 MB / 0.6386 GB, free: 20.43 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001331/0.5486, allocations: 0.7093 MB / 0.6393 GB, free: 20.16 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002072/0.5507, allocations: 0.9273 MB / 0.6402 GB, free: 19.77 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001081/0.5518, allocations: 0.8095 MB / 0.641 GB, free: 19.46 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.28e-05/0.5519, allocations: 37.09 kB / 0.641 GB, free: 19.46 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00187/0.5538, allocations: 0.755 MB / 0.6418 GB, free: 19.18 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002694/0.5541, allocations: 253.7 kB / 0.642 GB, free: 19.06 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005212/0.5546, allocations: 0.5443 MB / 0.6426 GB, free: 18.71 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002295/0.5569, allocations: 1.588 MB / 0.6441 GB, free: 18.18 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.5569, allocations: 0 / 0.6441 GB, free: 18.18 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.044e-06/0.5569, allocations: 2.625 kB / 0.6441 GB, free: 18.18 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.258e-05/0.557, allocations: 0 / 0.6441 GB, free: 18.18 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.002408/0.5594, allocations: 1.362 MB / 0.6454 GB, free: 17.24 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.5594, allocations: 9.469 kB / 0.6455 GB, free: 17.24 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00341/0.5628, allocations: 0.6276 MB / 0.6461 GB, free: 17.14 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001268/0.5641, allocations: 0.8091 MB / 0.6469 GB, free: 16.62 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.416e-05/0.5642, allocations: 59.16 kB / 0.6469 GB, free: 16.6 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001343/0.5643, allocations: 73.09 kB / 0.647 GB, free: 16.57 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002293/0.5666, allocations: 1.113 MB / 0.6481 GB, free: 16.06 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.113e-05/0.5667, allocations: 3.938 kB / 0.6481 GB, free: 16.06 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.939e-05/0.5668, allocations: 30.62 kB / 0.6481 GB, free: 16.04 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.925e-05/0.5668, allocations: 18 kB / 0.6481 GB, free: 16.04 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00308/0.5699, allocations: 1.023 MB / 0.6491 GB, free: 15.78 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.005604/0.5755, allocations: 4.985 MB / 0.654 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003166/0.5787, allocations: 0.948 MB / 0.6549 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001611/0.5803, allocations: 0.4946 MB / 0.6554 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001126/0.5815, allocations: 1.603 MB / 0.657 GB, free: 9.703 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001722/0.5832, allocations: 0.5876 MB / 0.6575 GB, free: 9.527 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=61): time 3.085e-06/0.5832, allocations: 0 / 0.6575 GB, free: 9.527 MB / 0.4981 GB Notification: Performance of matching and sorting (n=61): time 0.005298/0.5885, allocations: 1.517 MB / 0.659 GB, free: 9.105 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.579e-05/0.5886, allocations: 62.17 kB / 0.6591 GB, free: 9.039 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001602/0.5902, allocations: 1.115 MB / 0.6602 GB, free: 8.629 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.594e-05/0.5903, allocations: 43.3 kB / 0.6602 GB, free: 8.586 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004067/0.5907, allocations: 0.5462 MB / 0.6607 GB, free: 8.145 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001773/0.5909, allocations: 204.8 kB / 0.6609 GB, free: 7.988 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001133/0.591, allocations: 66.61 kB / 0.661 GB, free: 7.949 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.71e-05/0.5911, allocations: 343.3 kB / 0.6613 GB, free: 7.625 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001581/0.5927, allocations: 464.2 kB / 0.6618 GB, free: 7.516 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001846/0.5946, allocations: 0.7251 MB / 0.6625 GB, free: 7.074 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003287/0.5979, allocations: 1.144 MB / 0.6636 GB, free: 6.492 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.888e-06/0.5979, allocations: 2.625 kB / 0.6636 GB, free: 6.492 MB / 0.4981 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.004171/0.6021, allocations: 1.295 MB / 0.6649 GB, free: 6.07 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.126e-05/0.6021, allocations: 8.688 kB / 0.6649 GB, free: 6.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.288e-05/0.6021, allocations: 12.44 kB / 0.6649 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.025e-05/0.6022, allocations: 11.5 kB / 0.6649 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001328/0.6035, allocations: 274.2 kB / 0.6652 GB, free: 6.043 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.145e-05/0.6036, allocations: 18.92 kB / 0.6652 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001585/0.6052, allocations: 202.7 kB / 0.6654 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001607/0.6053, allocations: 55.25 kB / 0.6654 GB, free: 5.961 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 ($PRE.setHeaHigPow.nextTimeEvent,$whenCondition3,$PRE.setCooLimPow.nextTimeEvent,$whenCondition2,$PRE.setHeaCooUnl.nextTimeEvent,$whenCondition1,setHeaCooUnl.nextTimeEventScaled,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setCooLimPow.nextTimeEventScaled,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00067/0.606, allocations: 288.5 kB / 0.6657 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003326/0.6063, allocations: 124.4 kB / 0.6658 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004261/0.6106, allocations: 1.384 MB / 0.6672 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.393e-05/0.6107, allocations: 14.5 kB / 0.6672 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.6107, allocations: 0 / 0.6672 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-05/0.6107, allocations: 7.469 kB / 0.6672 GB, free: 5.289 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005571/0.6163, allocations: 2.392 MB / 0.6695 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.897e-06/0.6163, allocations: 1.594 kB / 0.6695 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001057/0.6174, allocations: 197.8 kB / 0.6697 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.113e-05/0.6174, allocations: 9.25 kB / 0.6697 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.122e-05/0.6175, allocations: 20.8 kB / 0.6697 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.197e-06/0.6175, allocations: 5.5 kB / 0.6697 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.818e-06/0.6175, allocations: 1.891 kB / 0.6697 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005795/0.6233, allocations: 2.011 MB / 0.6717 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007448/0.6241, allocations: 290.8 kB / 0.672 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003838/0.6245, allocations: 18.16 kB / 0.672 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001234/0.6257, allocations: 133.3 kB / 0.6721 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001496/0.6259, allocations: 53.16 kB / 0.6722 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001106/0.626, allocations: 41.7 kB / 0.6722 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001634/0.6277, allocations: 0.7624 MB / 0.673 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.5e-07/0.6277, allocations: 1.312 kB / 0.673 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00182/0.6295, allocations: 342.7 kB / 0.6733 GB, free: 2.863 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00212/0.6316, allocations: 0.6572 MB / 0.6739 GB, free: 2.594 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0043/0.636, allocations: 1.132 MB / 0.675 GB, free: 2.305 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.636, allocations: 3.938 kB / 0.675 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001835/0.6378, allocations: 0.5829 MB / 0.6756 GB, free: 2.145 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003305/0.6411, allocations: 434 kB / 0.676 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006288/0.6474, allocations: 2.809 MB / 0.6788 GB, free: 0.5039 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001171/0.6486, allocations: 1.104 MB / 0.6798 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001679/0.6503, allocations: 248 kB / 0.6801 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004702/0.6508, allocations: 106.8 kB / 0.6802 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of SimCode: time 7.31e-07/0.6508, allocations: 1.031 kB / 0.6802 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of Templates: time 0.04115/0.692, allocations: 19.17 MB / 0.6989 GB, free: 4.016 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)