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.001034/0.001035, allocations: 91.84 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.009153/0.009153, allocations: 170 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.365/1.365, allocations: 223.3 MB / 240.3 MB, free: 5.336 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.9932/0.9932, allocations: 143.2 MB / 434.6 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003483/0.0003485, allocations: 8 kB / 0.5164 GB, free: 11.11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1785/0.1789, allocations: 83.4 MB / 0.5978 GB, free: 7.672 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.3388/0.5177, allocations: 28.43 MB / 0.6256 GB, free: 27.64 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.009005/0.5267, allocations: 6.83 MB / 0.6323 GB, free: 23.36 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001507/0.5283, allocations: 45.97 kB / 0.6323 GB, free: 23.34 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001484/0.5298, allocations: 0.5982 MB / 0.6329 GB, free: 23.08 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003863/0.5336, allocations: 1.343 MB / 0.6342 GB, free: 22.36 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002722/0.5364, allocations: 1.041 MB / 0.6352 GB, free: 21.81 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003376/0.5398, allocations: 3.214 MB / 0.6384 GB, free: 20.64 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001164/0.541, allocations: 0.71 MB / 0.6391 GB, free: 20.37 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00175/0.5427, allocations: 0.9226 MB / 0.64 GB, free: 19.98 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001028/0.5438, allocations: 0.8244 MB / 0.6408 GB, free: 19.65 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.825e-05/0.5439, allocations: 37.75 kB / 0.6408 GB, free: 19.65 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001643/0.5455, allocations: 0.7605 MB / 0.6415 GB, free: 19.36 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002287/0.5458, allocations: 243.3 kB / 0.6418 GB, free: 19.26 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005057/0.5463, allocations: 0.5461 MB / 0.6423 GB, free: 18.91 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001832/0.5481, allocations: 1.581 MB / 0.6439 GB, free: 18.38 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.5481, allocations: 3.422 kB / 0.6439 GB, free: 18.38 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.325e-06/0.5481, allocations: 0 / 0.6439 GB, free: 18.38 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.248e-05/0.5482, allocations: 2.625 kB / 0.6439 GB, free: 18.38 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.002075/0.5502, allocations: 1.358 MB / 0.6452 GB, free: 17.44 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.5503, allocations: 10.72 kB / 0.6452 GB, free: 17.44 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003341/0.5536, allocations: 0.6337 MB / 0.6458 GB, free: 17.34 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001042/0.5547, allocations: 0.8089 MB / 0.6466 GB, free: 16.82 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.773e-05/0.5547, allocations: 55.84 kB / 0.6467 GB, free: 16.8 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001144/0.5549, allocations: 83.19 kB / 0.6467 GB, free: 16.77 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002183/0.5571, allocations: 1.108 MB / 0.6478 GB, free: 16.26 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.286e-05/0.5571, allocations: 10.52 kB / 0.6478 GB, free: 16.25 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.315e-05/0.5572, allocations: 28.59 kB / 0.6479 GB, free: 16.23 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.645e-05/0.5572, allocations: 16.81 kB / 0.6479 GB, free: 16.23 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002985/0.5602, allocations: 1.031 MB / 0.6489 GB, free: 15.96 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.005506/0.5657, allocations: 4.974 MB / 0.6537 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00311/0.5688, allocations: 0.9526 MB / 0.6547 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001553/0.5704, allocations: 0.4955 MB / 0.6552 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001149/0.5716, allocations: 1.599 MB / 0.6567 GB, free: 9.902 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001694/0.5733, allocations: 0.5872 MB / 0.6573 GB, free: 9.727 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=61): time 2.986e-06/0.5733, allocations: 0 / 0.6573 GB, free: 9.727 MB / 0.4981 GB Notification: Performance of matching and sorting (n=61): time 0.005001/0.5783, allocations: 1.513 MB / 0.6588 GB, free: 9.309 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.979e-05/0.5784, allocations: 63.39 kB / 0.6588 GB, free: 9.242 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001605/0.58, allocations: 1.118 MB / 0.6599 GB, free: 8.828 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.957e-05/0.5801, allocations: 39.58 kB / 0.66 GB, free: 8.789 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004029/0.5805, allocations: 0.5453 MB / 0.6605 GB, free: 8.348 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001841/0.5807, allocations: 205 kB / 0.6607 GB, free: 8.191 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001194/0.5808, allocations: 70.73 kB / 0.6608 GB, free: 8.148 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.73e-05/0.5809, allocations: 336.2 kB / 0.6611 GB, free: 7.832 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00148/0.5824, allocations: 464.1 kB / 0.6615 GB, free: 7.723 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001634/0.584, allocations: 0.7285 MB / 0.6622 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003045/0.5871, allocations: 1.148 MB / 0.6633 GB, free: 6.691 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.696e-06/0.5871, allocations: 6.656 kB / 0.6634 GB, free: 6.688 MB / 0.4981 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003997/0.5911, allocations: 1.29 MB / 0.6646 GB, free: 6.27 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.931e-05/0.5911, allocations: 8.922 kB / 0.6646 GB, free: 6.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.636e-05/0.5912, allocations: 7.625 kB / 0.6646 GB, free: 6.27 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.167e-05/0.5912, allocations: 12.78 kB / 0.6646 GB, free: 6.27 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001241/0.5924, allocations: 281.6 kB / 0.6649 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.413e-05/0.5925, allocations: 19.19 kB / 0.6649 GB, free: 6.234 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001489/0.594, allocations: 202.9 kB / 0.6651 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001195/0.5941, allocations: 47.48 kB / 0.6652 GB, free: 6.16 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.0005509/0.5947, allocations: 292.5 kB / 0.6654 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001722/0.5948, allocations: 127.2 kB / 0.6656 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003992/0.5988, allocations: 1.389 MB / 0.6669 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.061e-05/0.5989, allocations: 8.922 kB / 0.6669 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/0.5989, allocations: 0 / 0.6669 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.415e-05/0.5989, allocations: 4.672 kB / 0.6669 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005635/0.6046, allocations: 2.396 MB / 0.6693 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.718e-06/0.6046, allocations: 1.844 kB / 0.6693 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001008/0.6056, allocations: 193.9 kB / 0.6695 GB, free: 4.445 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.366e-06/0.6056, allocations: 4.125 kB / 0.6695 GB, free: 4.445 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.968e-05/0.6057, allocations: 25.73 kB / 0.6695 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.255e-06/0.6057, allocations: 8.125 kB / 0.6695 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.6057, allocations: 3.734 kB / 0.6695 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005276/0.611, allocations: 2.007 MB / 0.6715 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007275/0.6118, allocations: 287.3 kB / 0.6717 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001531/0.6119, allocations: 16.31 kB / 0.6718 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001055/0.613, allocations: 130.2 kB / 0.6719 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001479/0.6131, allocations: 58.17 kB / 0.6719 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.153e-05/0.6132, allocations: 31.83 kB / 0.672 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001348/0.6146, allocations: 0.7683 MB / 0.6727 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.01e-07/0.6146, allocations: 0 / 0.6727 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001511/0.6161, allocations: 343.8 kB / 0.673 GB, free: 3.062 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.001578/0.6177, allocations: 0.6683 MB / 0.6737 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003417/0.6211, allocations: 1.131 MB / 0.6748 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.95e-06/0.6211, allocations: 1.25 kB / 0.6748 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001733/0.6229, allocations: 0.5856 MB / 0.6754 GB, free: 2.344 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002622/0.6255, allocations: 436.5 kB / 0.6758 GB, free: 2.215 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005086/0.6306, allocations: 2.806 MB / 0.6785 GB, free: 0.7031 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007013/0.6313, allocations: 1.107 MB / 0.6796 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001256/0.6326, allocations: 247.4 kB / 0.6798 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003246/0.6329, allocations: 108.3 kB / 0.6799 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of SimCode: time 1.072e-06/0.633, allocations: 0 / 0.6799 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of Templates: time 0.03695/0.6699, allocations: 19.17 MB / 0.6987 GB, free: 4.301 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)