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.001752/0.001752, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001783/0.001784, allocations: 195.6 kB / 16.79 MB, free: 6.809 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.402/1.402, allocations: 222.9 MB / 240.5 MB, free: 4.633 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.9891/0.9891, allocations: 143 MB / 433.7 MB, free: 11.55 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 59.91 kB / 0.5141 GB, free: 12.15 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1647/0.166, allocations: 82.03 MB / 0.5943 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.3257/0.4917, allocations: 29.16 MB / 0.6227 GB, free: 28.84 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.009264/0.5011, allocations: 6.914 MB / 0.6295 GB, free: 23.98 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001651/0.5028, allocations: 42.22 kB / 0.6295 GB, free: 23.96 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001641/0.5044, allocations: 0.6019 MB / 0.6301 GB, free: 23.7 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003527/0.508, allocations: 1.345 MB / 0.6314 GB, free: 22.98 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002943/0.511, allocations: 1.031 MB / 0.6324 GB, free: 22.43 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003529/0.5145, allocations: 3.229 MB / 0.6356 GB, free: 21.25 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00107/0.5156, allocations: 0.7207 MB / 0.6363 GB, free: 20.98 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001632/0.5172, allocations: 0.9448 MB / 0.6372 GB, free: 20.57 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009406/0.5182, allocations: 0.8334 MB / 0.638 GB, free: 20.25 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.000105/0.5183, allocations: 42.47 kB / 0.6381 GB, free: 20.25 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001823/0.5201, allocations: 0.7591 MB / 0.6388 GB, free: 19.96 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002423/0.5204, allocations: 261.3 kB / 0.6391 GB, free: 19.84 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005644/0.5209, allocations: 0.5302 MB / 0.6396 GB, free: 19.53 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001312/0.5223, allocations: 1.173 MB / 0.6407 GB, free: 19.16 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.5223, allocations: 2.625 kB / 0.6407 GB, free: 19.16 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.104e-06/0.5223, allocations: 3.422 kB / 0.6407 GB, free: 19.16 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.407e-05/0.5223, allocations: 0 / 0.6407 GB, free: 19.16 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.002556/0.5249, allocations: 1.567 MB / 0.6423 GB, free: 18.09 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.5249, allocations: 8.688 kB / 0.6423 GB, free: 18.09 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003429/0.5284, allocations: 0.5859 MB / 0.6428 GB, free: 18 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001134/0.5295, allocations: 0.8123 MB / 0.6436 GB, free: 17.48 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.099e-05/0.5296, allocations: 51.66 kB / 0.6437 GB, free: 17.46 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001177/0.5297, allocations: 80.64 kB / 0.6438 GB, free: 17.43 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002213/0.5319, allocations: 1.094 MB / 0.6448 GB, free: 16.92 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.102e-05/0.5319, allocations: 2.656 kB / 0.6448 GB, free: 16.92 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.559e-05/0.532, allocations: 35.53 kB / 0.6449 GB, free: 16.89 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.856e-05/0.532, allocations: 18.22 kB / 0.6449 GB, free: 16.89 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002891/0.5349, allocations: 0.9986 MB / 0.6459 GB, free: 16.63 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.005494/0.5404, allocations: 4.949 MB / 0.6507 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002978/0.5434, allocations: 0.9065 MB / 0.6516 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001474/0.5449, allocations: 489 kB / 0.652 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001058/0.546, allocations: 1.588 MB / 0.6536 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00169/0.5477, allocations: 0.5719 MB / 0.6541 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=61): time 3.417e-06/0.5477, allocations: 0 / 0.6541 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of matching and sorting (n=61): time 0.00485/0.5526, allocations: 1.488 MB / 0.6556 GB, free: 9.961 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.176e-05/0.5526, allocations: 59.55 kB / 0.6557 GB, free: 9.898 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001819/0.5545, allocations: 1.111 MB / 0.6567 GB, free: 9.492 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.018e-05/0.5546, allocations: 42.58 kB / 0.6568 GB, free: 9.449 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004195/0.555, allocations: 0.554 MB / 0.6573 GB, free: 9 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001943/0.5552, allocations: 208.9 kB / 0.6575 GB, free: 8.84 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000333/0.5555, allocations: 164.6 kB / 0.6577 GB, free: 8.766 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.057e-05/0.5556, allocations: 335.3 kB / 0.658 GB, free: 8.449 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001497/0.5571, allocations: 447.3 kB / 0.6584 GB, free: 8.34 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00167/0.5588, allocations: 0.7147 MB / 0.6591 GB, free: 7.898 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003033/0.5618, allocations: 1.117 MB / 0.6602 GB, free: 7.316 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.294e-05/0.5619, allocations: 2.625 kB / 0.6602 GB, free: 7.316 MB / 0.4981 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003884/0.5658, allocations: 1.275 MB / 0.6615 GB, free: 6.887 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.338e-05/0.5658, allocations: 8.906 kB / 0.6615 GB, free: 6.887 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.263e-05/0.5658, allocations: 13.34 kB / 0.6615 GB, free: 6.883 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.784e-05/0.5659, allocations: 15.75 kB / 0.6615 GB, free: 6.879 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001275/0.5672, allocations: 271.2 kB / 0.6618 GB, free: 6.852 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.074e-05/0.5672, allocations: 17.88 kB / 0.6618 GB, free: 6.848 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001476/0.5687, allocations: 195 kB / 0.662 GB, free: 6.781 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001312/0.5688, allocations: 48.17 kB / 0.662 GB, free: 6.773 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.0007195/0.5696, allocations: 292.3 kB / 0.6623 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003949/0.57, allocations: 122.7 kB / 0.6624 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004347/0.5743, allocations: 1.363 MB / 0.6637 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.872e-05/0.5744, allocations: 9.688 kB / 0.6637 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.718e-06/0.5744, allocations: 3.938 kB / 0.6637 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.009e-05/0.5744, allocations: 5.531 kB / 0.6638 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006086/0.5805, allocations: 2.372 MB / 0.6661 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.468e-05/0.5805, allocations: 1.969 kB / 0.6661 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001081/0.5816, allocations: 182.2 kB / 0.6662 GB, free: 5.059 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.665e-05/0.5817, allocations: 4.344 kB / 0.6663 GB, free: 5.059 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.33e-05/0.5818, allocations: 30.17 kB / 0.6663 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.298e-05/0.5818, allocations: 8.5 kB / 0.6663 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.693e-06/0.5818, allocations: 7.703 kB / 0.6663 GB, free: 5.039 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005801/0.5876, allocations: 1.976 MB / 0.6682 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006602/0.5883, allocations: 281.1 kB / 0.6685 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002921/0.5886, allocations: 13.5 kB / 0.6685 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001142/0.5897, allocations: 123.1 kB / 0.6686 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001594/0.5899, allocations: 61.2 kB / 0.6687 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.229e-05/0.59, allocations: 34.09 kB / 0.6687 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001267/0.5913, allocations: 0.7643 MB / 0.6695 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5913, allocations: 0 / 0.6695 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001485/0.5928, allocations: 346.5 kB / 0.6698 GB, free: 3.66 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.001744/0.5945, allocations: 0.6692 MB / 0.6704 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003699/0.5982, allocations: 1.114 MB / 0.6715 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.5983, allocations: 0 / 0.6715 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001799/0.6001, allocations: 0.5718 MB / 0.6721 GB, free: 2.934 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002588/0.6027, allocations: 426.4 kB / 0.6725 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005739/0.6084, allocations: 2.773 MB / 0.6752 GB, free: 1.281 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000795/0.6093, allocations: 1.104 MB / 0.6763 GB, free: 0.5469 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005616/0.6098, allocations: 121.8 kB / 0.6764 GB, free: 0.5273 MB / 0.4981 GB Notification: Performance of SimCode: time 6.82e-07/0.6098, allocations: 3.938 kB / 0.6764 GB, free: 0.5234 MB / 0.4981 GB Notification: Performance of Templates: time 0.03844/0.6483, allocations: 19.23 MB / 0.6952 GB, free: 5.996 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)