Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water") translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.0011/0.0011, allocations: 104 kB / 16.36 MB, free: 6.301 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.001041/0.001041, allocations: 192.1 kB / 17.29 MB, free: 5.875 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.357/1.357, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.8/1.8, allocations: 292.3 MB / 0.5496 GB, free: 17.51 MB / 462.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.002203/0.002203, allocations: 71.89 kB / 0.6729 GB, free: 5.852 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2386/0.2408, allocations: 114.6 MB / 0.7848 GB, free: 3.184 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.3891/0.63, allocations: 29.35 MB / 0.8134 GB, free: 31.59 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01104/0.6411, allocations: 6.745 MB / 0.82 GB, free: 26.83 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00193/0.6431, allocations: 47.53 kB / 0.8201 GB, free: 26.81 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002221/0.6454, allocations: 0.6934 MB / 0.8208 GB, free: 26.48 MB / 0.6544 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.004949/0.6504, allocations: 1.422 MB / 0.8221 GB, free: 25.7 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.003766/0.6542, allocations: 1.16 MB / 0.8233 GB, free: 25.12 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.004174/0.6583, allocations: 2.446 MB / 0.8257 GB, free: 24.04 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001642/0.66, allocations: 0.8089 MB / 0.8265 GB, free: 23.72 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002472/0.6625, allocations: 1.035 MB / 0.8275 GB, free: 23.27 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001651/0.6642, allocations: 0.8126 MB / 0.8283 GB, free: 22.94 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0002366/0.6644, allocations: 67.78 kB / 0.8283 GB, free: 22.94 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002656/0.6671, allocations: 0.8207 MB / 0.8291 GB, free: 22.62 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0004298/0.6675, allocations: 279.9 kB / 0.8294 GB, free: 22.48 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0008974/0.6685, allocations: 0.5567 MB / 0.8299 GB, free: 22.13 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.003542/0.672, allocations: 1.642 MB / 0.8315 GB, free: 21.5 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.672, allocations: 5.125 kB / 0.8315 GB, free: 21.49 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.803e-06/0.6721, allocations: 0 / 0.8315 GB, free: 21.49 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 3.289e-05/0.6721, allocations: 0 / 0.8315 GB, free: 21.49 MB / 0.6544 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.003349/0.6754, allocations: 1.579 MB / 0.8331 GB, free: 20.43 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.509e-05/0.6755, allocations: 12.94 kB / 0.8331 GB, free: 20.43 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003818/0.6793, allocations: 0.5905 MB / 0.8337 GB, free: 20.32 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002003/0.6814, allocations: 0.8855 MB / 0.8345 GB, free: 19.8 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.037e-05/0.6815, allocations: 55.12 kB / 0.8346 GB, free: 19.77 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00016/0.6816, allocations: 79.16 kB / 0.8347 GB, free: 19.75 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002792/0.6844, allocations: 1.105 MB / 0.8357 GB, free: 19.22 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.587e-05/0.6845, allocations: 3.875 kB / 0.8357 GB, free: 19.22 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.793e-05/0.6846, allocations: 26.94 kB / 0.8358 GB, free: 19.2 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.964e-05/0.6846, allocations: 21.36 kB / 0.8358 GB, free: 19.2 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003286/0.6879, allocations: 1.006 MB / 0.8368 GB, free: 18.93 MB / 0.6544 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.005992/0.6939, allocations: 4.942 MB / 0.8416 GB, free: 15.09 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003162/0.6971, allocations: 0.9048 MB / 0.8425 GB, free: 14.84 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001528/0.6986, allocations: 485.6 kB / 0.8429 GB, free: 14.71 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001073/0.6997, allocations: 1.585 MB / 0.8445 GB, free: 12.9 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001822/0.7016, allocations: 0.5838 MB / 0.8451 GB, free: 12.71 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=61): time 3.977e-06/0.7016, allocations: 0 / 0.8451 GB, free: 12.71 MB / 0.6544 GB Notification: Performance of matching and sorting (n=61): time 0.005153/0.7067, allocations: 1.487 MB / 0.8465 GB, free: 12.28 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.658e-05/0.7068, allocations: 66.08 kB / 0.8466 GB, free: 12.2 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001671/0.7085, allocations: 1.125 MB / 0.8477 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001325/0.7086, allocations: 40.73 kB / 0.8477 GB, free: 11.75 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000397/0.709, allocations: 0.547 MB / 0.8483 GB, free: 11.31 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001895/0.7092, allocations: 209.2 kB / 0.8485 GB, free: 11.15 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002849/0.7095, allocations: 171.2 kB / 0.8486 GB, free: 11.07 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.617e-05/0.7096, allocations: 336.1 kB / 0.8489 GB, free: 10.75 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00157/0.7112, allocations: 449.3 kB / 0.8494 GB, free: 10.64 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001772/0.713, allocations: 0.7324 MB / 0.8501 GB, free: 10.18 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003053/0.7161, allocations: 1.127 MB / 0.8512 GB, free: 9.59 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.987e-06/0.7161, allocations: 2.25 kB / 0.8512 GB, free: 9.59 MB / 0.6544 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.004072/0.7202, allocations: 1.268 MB / 0.8524 GB, free: 9.168 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.491e-05/0.7202, allocations: 13.56 kB / 0.8524 GB, free: 9.164 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.884e-05/0.7203, allocations: 12.64 kB / 0.8524 GB, free: 9.164 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.155e-05/0.7203, allocations: 10.94 kB / 0.8525 GB, free: 9.164 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001278/0.7216, allocations: 272.9 kB / 0.8527 GB, free: 9.137 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.5e-05/0.7216, allocations: 16.97 kB / 0.8527 GB, free: 9.133 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00154/0.7232, allocations: 190.5 kB / 0.8529 GB, free: 9.062 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001586/0.7233, allocations: 46.67 kB / 0.853 GB, free: 9.055 MB / 0.6544 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.0006436/0.724, allocations: 289.5 kB / 0.8532 GB, free: 8.863 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000321/0.7243, allocations: 124.5 kB / 0.8534 GB, free: 8.797 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003886/0.7282, allocations: 1.36 MB / 0.8547 GB, free: 8.137 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.849e-05/0.7283, allocations: 12.39 kB / 0.8547 GB, free: 8.133 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.827e-06/0.7283, allocations: 2 kB / 0.8547 GB, free: 8.133 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.109e-05/0.7283, allocations: 0 / 0.8547 GB, free: 8.133 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005314/0.7336, allocations: 2.383 MB / 0.857 GB, free: 6.598 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.598e-06/0.7337, allocations: 1.062 kB / 0.857 GB, free: 6.598 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00102/0.7347, allocations: 186.7 kB / 0.8572 GB, free: 6.535 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.174e-05/0.7347, allocations: 4.688 kB / 0.8572 GB, free: 6.535 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.856e-05/0.7348, allocations: 24.59 kB / 0.8572 GB, free: 6.52 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.069e-05/0.7348, allocations: 7.969 kB / 0.8572 GB, free: 6.516 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.7348, allocations: 2.312 kB / 0.8572 GB, free: 6.516 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005256/0.7401, allocations: 1.982 MB / 0.8592 GB, free: 5.426 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006215/0.7408, allocations: 273.5 kB / 0.8594 GB, free: 5.188 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000193/0.741, allocations: 21.5 kB / 0.8595 GB, free: 5.172 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009604/0.7419, allocations: 109.5 kB / 0.8596 GB, free: 5.121 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001302/0.7421, allocations: 51.72 kB / 0.8596 GB, free: 5.094 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.038e-05/0.7422, allocations: 36.72 kB / 0.8596 GB, free: 5.082 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.00106/0.7432, allocations: 0.7673 MB / 0.8604 GB, free: 4.684 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7432, allocations: 0 / 0.8604 GB, free: 4.684 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001471/0.7447, allocations: 354.7 kB / 0.8607 GB, free: 4.594 MB / 0.6544 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.00166/0.7464, allocations: 0.657 MB / 0.8614 GB, free: 4.34 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.003547/0.7499, allocations: 1.116 MB / 0.8625 GB, free: 3.844 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.199e-06/0.75, allocations: 0.8125 kB / 0.8625 GB, free: 3.844 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001678/0.7517, allocations: 0.5756 MB / 0.863 GB, free: 3.578 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002522/0.7542, allocations: 475.4 kB / 0.8635 GB, free: 3.344 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005177/0.7594, allocations: 2.392 MB / 0.8658 GB, free: 1.945 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005699/0.76, allocations: 1.107 MB / 0.8669 GB, free: 1.062 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005439/0.7606, allocations: 118.3 kB / 0.867 GB, free: 1.027 MB / 0.6544 GB Notification: Performance of SimCode: time 1.242e-06/0.7606, allocations: 0 / 0.867 GB, free: 1.027 MB / 0.6544 GB Notification: Performance of Templates: time 0.03499/0.7956, allocations: 19.31 MB / 0.8859 GB, free: 2.203 MB / 0.67 GB make -j1 -f Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile (rm -f Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & ./Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1)