Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 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(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water") translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.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.0009017/0.0009019, allocations: 99.38 kB / 15.37 MB, free: 0.707 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.001125/0.001125, allocations: 182.9 kB / 16.28 MB, free: 6.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.395/1.395, allocations: 205.4 MB / 222.5 MB, free: 5.551 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.541/1.541, allocations: 252 MB / 0.5105 GB, free: 4.656 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006768/0.0006767, allocations: 16.47 kB / 0.6249 GB, free: 0.7422 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5265/0.5272, allocations: 106.3 MB / 0.7287 GB, free: 11.3 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.03029/0.5575, allocations: 28.48 MB / 0.7565 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01146/0.569, allocations: 6.662 MB / 0.763 GB, free: 8.031 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002168/0.5712, allocations: 39.69 kB / 0.7631 GB, free: 7.992 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002084/0.5733, allocations: 0.5948 MB / 0.7637 GB, free: 7.395 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00473/0.5781, allocations: 1.334 MB / 0.765 GB, free: 6.055 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003838/0.5819, allocations: 1.049 MB / 0.766 GB, free: 5.016 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004196/0.5862, allocations: 3.198 MB / 0.7691 GB, free: 1.805 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001281/0.5875, allocations: 0.7073 MB / 0.7698 GB, free: 1.086 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001945/0.5894, allocations: 0.9294 MB / 0.7707 GB, free: 156 kB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001353/0.5908, allocations: 0.8129 MB / 0.7715 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001785/0.591, allocations: 40 kB / 0.7715 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001927/0.5929, allocations: 0.7599 MB / 0.7723 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003217/0.5932, allocations: 258.9 kB / 0.7725 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0007522/0.594, allocations: 0.5491 MB / 0.7731 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002737/0.5967, allocations: 1.561 MB / 0.7746 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.5968, allocations: 0 / 0.7746 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.914e-06/0.5968, allocations: 4 kB / 0.7746 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.901e-05/0.5968, allocations: 0 / 0.7746 GB, free: 12.15 MB / 0.5919 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.002891/0.5997, allocations: 1.376 MB / 0.7759 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/0.5998, allocations: 12.03 kB / 0.776 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003644/0.6034, allocations: 0.6314 MB / 0.7766 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001289/0.6047, allocations: 0.8136 MB / 0.7774 GB, free: 9.207 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.708e-05/0.6048, allocations: 58.38 kB / 0.7774 GB, free: 9.148 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001345/0.6049, allocations: 87.92 kB / 0.7775 GB, free: 9.062 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002393/0.6073, allocations: 1.103 MB / 0.7786 GB, free: 7.883 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.023e-05/0.6074, allocations: 4 kB / 0.7786 GB, free: 7.879 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.543e-05/0.6075, allocations: 28 kB / 0.7786 GB, free: 7.852 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.647e-05/0.6075, allocations: 16 kB / 0.7786 GB, free: 7.836 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003006/0.6105, allocations: 1.031 MB / 0.7796 GB, free: 6.805 MB / 0.5919 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.005548/0.6161, allocations: 4.978 MB / 0.7845 GB, free: 1.539 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002933/0.619, allocations: 0.9537 MB / 0.7854 GB, free: 0.5781 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001422/0.6204, allocations: 498.2 kB / 0.7859 GB, free: 88 kB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001342/0.6218, allocations: 1.6 MB / 0.7875 GB, free: 14.14 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001616/0.6234, allocations: 0.5885 MB / 0.788 GB, free: 13.54 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=61): time 2.515e-06/0.6234, allocations: 0 / 0.788 GB, free: 13.54 MB / 0.6075 GB Notification: Performance of matching and sorting (n=61): time 0.004624/0.6281, allocations: 1.528 MB / 0.7895 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.237e-05/0.6281, allocations: 55.97 kB / 0.7896 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00121/0.6293, allocations: 1.128 MB / 0.7907 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 7.039e-05/0.6294, allocations: 37.7 kB / 0.7907 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004023/0.6298, allocations: 0.5474 MB / 0.7913 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001663/0.63, allocations: 221 kB / 0.7915 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001033/0.6301, allocations: 65.69 kB / 0.7915 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001198/0.6302, allocations: 337.9 kB / 0.7919 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001453/0.6317, allocations: 461.6 kB / 0.7923 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001694/0.6334, allocations: 0.7475 MB / 0.793 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002977/0.6364, allocations: 1.14 MB / 0.7941 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.272e-06/0.6364, allocations: 4 kB / 0.7941 GB, free: 7 MB / 0.6075 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00346/0.6399, allocations: 1.294 MB / 0.7954 GB, free: 5.695 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.604e-05/0.6399, allocations: 8 kB / 0.7954 GB, free: 5.688 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/0.6399, allocations: 8 kB / 0.7954 GB, free: 5.68 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.438e-05/0.6399, allocations: 12 kB / 0.7954 GB, free: 5.668 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001182/0.6411, allocations: 283.9 kB / 0.7957 GB, free: 5.391 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.043e-05/0.6412, allocations: 15.94 kB / 0.7957 GB, free: 5.375 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00131/0.6425, allocations: 210.8 kB / 0.7959 GB, free: 5.168 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.371e-05/0.6426, allocations: 47.97 kB / 0.796 GB, free: 5.121 MB / 0.6075 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.0004651/0.6431, allocations: 295.8 kB / 0.7962 GB, free: 4.824 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001603/0.6432, allocations: 122.4 kB / 0.7964 GB, free: 4.703 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003747/0.647, allocations: 1.39 MB / 0.7977 GB, free: 3.301 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.228e-05/0.647, allocations: 11.98 kB / 0.7977 GB, free: 3.289 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.6471, allocations: 0 / 0.7977 GB, free: 3.289 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.023e-05/0.6471, allocations: 3.984 kB / 0.7977 GB, free: 3.285 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004963/0.652, allocations: 2.405 MB / 0.8001 GB, free: 0.8086 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.197e-06/0.6521, allocations: 0 / 0.8001 GB, free: 0.8086 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001004/0.6531, allocations: 192 kB / 0.8003 GB, free: 0.6211 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.799e-06/0.6531, allocations: 4 kB / 0.8003 GB, free: 0.6172 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.24e-05/0.6532, allocations: 27.97 kB / 0.8003 GB, free: 0.5898 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.404e-06/0.6532, allocations: 11.88 kB / 0.8003 GB, free: 0.5781 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.6532, allocations: 0 / 0.8003 GB, free: 0.5781 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005105/0.6583, allocations: 2.02 MB / 0.8023 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005251/0.6588, allocations: 283.3 kB / 0.8025 GB, free: 14.22 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001406/0.659, allocations: 20 kB / 0.8026 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009764/0.66, allocations: 127.9 kB / 0.8027 GB, free: 14.08 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001188/0.6601, allocations: 48.44 kB / 0.8027 GB, free: 14.03 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.445e-05/0.6602, allocations: 35.97 kB / 0.8028 GB, free: 14 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0009738/0.6612, allocations: 0.7681 MB / 0.8035 GB, free: 13.22 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6612, allocations: 0 / 0.8035 GB, free: 13.22 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.00116/0.6623, allocations: 351.6 kB / 0.8039 GB, free: 12.88 MB / 0.6231 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.001468/0.6638, allocations: 0.6468 MB / 0.8045 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.003381/0.6672, allocations: 1.138 MB / 0.8056 GB, free: 11.25 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.706e-06/0.6672, allocations: 0 / 0.8056 GB, free: 11.25 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001641/0.6689, allocations: 0.5853 MB / 0.8062 GB, free: 10.67 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002467/0.6713, allocations: 457.9 kB / 0.8066 GB, free: 10.22 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005116/0.6765, allocations: 2.811 MB / 0.8094 GB, free: 7.371 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007075/0.6772, allocations: 1.115 MB / 0.8104 GB, free: 6.23 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001108/0.6783, allocations: 248.8 kB / 0.8107 GB, free: 5.984 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003085/0.6786, allocations: 107.4 kB / 0.8108 GB, free: 5.879 MB / 0.6231 GB Notification: Performance of SimCode: time 6.31e-07/0.6786, allocations: 3.938 kB / 0.8108 GB, free: 5.875 MB / 0.6231 GB Notification: Performance of Templates: time 0.03193/0.7106, allocations: 19.41 MB / 0.8297 GB, free: 2.75 MB / 0.6387 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1) Environment - environmentSimulation: