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.001186/0.001185, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001477/0.001477, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.566/1.566, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.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.724/1.724, allocations: 292.5 MB / 0.5497 GB, free: 14.64 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.0007319/0.0007324, allocations: 18.94 kB / 0.6735 GB, free: 26.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2842/0.285, allocations: 116.3 MB / 0.7871 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.02635/0.3114, allocations: 24.59 MB / 0.8111 GB, free: 3.312 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.009229/0.3206, allocations: 5.827 MB / 0.8168 GB, free: 13.48 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00164/0.3223, allocations: 39.69 kB / 0.8169 GB, free: 13.44 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002118/0.3245, allocations: 0.6458 MB / 0.8175 GB, free: 12.79 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.003753/0.3282, allocations: 1.188 MB / 0.8186 GB, free: 11.6 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003743/0.332, allocations: 1.315 MB / 0.8199 GB, free: 10.3 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.003072/0.3351, allocations: 1.556 MB / 0.8214 GB, free: 8.742 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001157/0.3362, allocations: 0.6626 MB / 0.8221 GB, free: 8.066 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001834/0.3381, allocations: 0.8447 MB / 0.8229 GB, free: 7.219 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008004/0.3389, allocations: 0.564 MB / 0.8235 GB, free: 6.652 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 9.202e-05/0.339, allocations: 40 kB / 0.8235 GB, free: 6.613 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001678/0.3407, allocations: 0.5304 MB / 0.824 GB, free: 6.082 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0002416/0.3409, allocations: 243.1 kB / 0.8243 GB, free: 5.844 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0002508/0.3412, allocations: 229 kB / 0.8245 GB, free: 5.613 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001257/0.3425, allocations: 1.021 MB / 0.8255 GB, free: 4.59 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.3425, allocations: 0 / 0.8255 GB, free: 4.59 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.874e-06/0.3425, allocations: 0 / 0.8255 GB, free: 4.59 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.175e-05/0.3425, allocations: 0 / 0.8255 GB, free: 4.59 MB / 0.6387 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.002372/0.3449, allocations: 1.384 MB / 0.8268 GB, free: 3.152 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.3449, allocations: 15.91 kB / 0.8268 GB, free: 3.137 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00324/0.3482, allocations: 0.6383 MB / 0.8275 GB, free: 2.496 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001422/0.3496, allocations: 0.778 MB / 0.8282 GB, free: 1.664 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.405e-05/0.3497, allocations: 54 kB / 0.8283 GB, free: 1.609 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001308/0.3498, allocations: 72 kB / 0.8283 GB, free: 1.539 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002298/0.3521, allocations: 1.099 MB / 0.8294 GB, free: 372 kB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.147e-05/0.3522, allocations: 4 kB / 0.8294 GB, free: 368 kB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.239e-05/0.3523, allocations: 35.98 kB / 0.8295 GB, free: 332 kB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.014e-05/0.3523, allocations: 20 kB / 0.8295 GB, free: 312 kB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002877/0.3552, allocations: 1.02 MB / 0.8305 GB, free: 15.28 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.006032/0.3612, allocations: 4.971 MB / 0.8353 GB, free: 10.01 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002748/0.364, allocations: 0.9536 MB / 0.8363 GB, free: 9.047 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001511/0.3655, allocations: 1.6 MB / 0.8378 GB, free: 7.098 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001562/0.3671, allocations: 0.5807 MB / 0.8384 GB, free: 6.508 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=61): time 3.477e-06/0.3671, allocations: 0 / 0.8384 GB, free: 6.508 MB / 0.6544 GB Notification: Performance of matching and sorting (n=61): time 0.004464/0.3716, allocations: 1.524 MB / 0.8399 GB, free: 4.977 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.074e-05/0.3716, allocations: 59.97 kB / 0.8399 GB, free: 4.906 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001313/0.3729, allocations: 1.121 MB / 0.841 GB, free: 3.773 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 7.695e-05/0.373, allocations: 37.7 kB / 0.8411 GB, free: 3.73 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004461/0.3735, allocations: 0.5474 MB / 0.8416 GB, free: 3.176 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001984/0.3737, allocations: 217 kB / 0.8418 GB, free: 2.961 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.828e-05/0.3737, allocations: 16 kB / 0.8418 GB, free: 2.945 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001592/0.3739, allocations: 334 kB / 0.8421 GB, free: 2.613 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001344/0.3753, allocations: 461.6 kB / 0.8426 GB, free: 2.164 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001562/0.3768, allocations: 0.7358 MB / 0.8433 GB, free: 1.297 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001379/0.3782, allocations: 0.5016 MB / 0.8438 GB, free: 0.7969 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.3782, allocations: 0 / 0.8438 GB, free: 0.7969 MB / 0.6544 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003245/0.3815, allocations: 1.286 MB / 0.845 GB, free: 15.5 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.325e-05/0.3815, allocations: 8 kB / 0.845 GB, free: 15.49 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.466e-05/0.3815, allocations: 8 kB / 0.8451 GB, free: 15.48 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.638e-05/0.3816, allocations: 15.95 kB / 0.8451 GB, free: 15.47 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00114/0.3827, allocations: 279.6 kB / 0.8453 GB, free: 15.2 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.962e-05/0.3827, allocations: 15.98 kB / 0.8454 GB, free: 15.18 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001235/0.384, allocations: 207 kB / 0.8456 GB, free: 14.98 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.966e-05/0.3841, allocations: 55.91 kB / 0.8456 GB, free: 14.92 MB / 0.67 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 ($whenCondition3,$PRE.setHeaHigPow.nextTimeEvent,$whenCondition2,$PRE.setCooLimPow.nextTimeEvent,$whenCondition1,$PRE.setHeaCooUnl.nextTimeEvent,setHeaHigPow.nextTimeEvent,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000507/0.3846, allocations: 283.8 kB / 0.8459 GB, free: 14.64 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001731/0.3848, allocations: 126.5 kB / 0.846 GB, free: 14.51 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003723/0.3885, allocations: 1.379 MB / 0.8473 GB, free: 13.12 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.167e-05/0.3886, allocations: 15.95 kB / 0.8474 GB, free: 13.11 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.175e-06/0.3886, allocations: 0 / 0.8474 GB, free: 13.11 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.174e-05/0.3886, allocations: 3.984 kB / 0.8474 GB, free: 13.11 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005006/0.3936, allocations: 2.397 MB / 0.8497 GB, free: 10.64 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.007e-06/0.3936, allocations: 4 kB / 0.8497 GB, free: 10.63 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009617/0.3946, allocations: 199.9 kB / 0.8499 GB, free: 10.44 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.827e-05/0.3946, allocations: 8 kB / 0.8499 GB, free: 10.43 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.092e-05/0.3947, allocations: 23.97 kB / 0.8499 GB, free: 10.41 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.286e-06/0.3947, allocations: 4 kB / 0.8499 GB, free: 10.4 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.3947, allocations: 0 / 0.8499 GB, free: 10.4 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005054/0.3998, allocations: 2.085 MB / 0.852 GB, free: 8.25 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005271/0.4003, allocations: 287.3 kB / 0.8522 GB, free: 7.949 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002047/0.4006, allocations: 19.98 kB / 0.8523 GB, free: 7.93 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009937/0.4016, allocations: 123.9 kB / 0.8524 GB, free: 7.809 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000129/0.4017, allocations: 64.38 kB / 0.8524 GB, free: 7.746 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.235e-05/0.4018, allocations: 31.97 kB / 0.8525 GB, free: 7.715 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001085/0.4029, allocations: 0.7603 MB / 0.8532 GB, free: 6.949 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4029, allocations: 0 / 0.8532 GB, free: 6.949 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001384/0.4043, allocations: 347.5 kB / 0.8535 GB, free: 6.609 MB / 0.67 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001585/0.4059, allocations: 0.6387 MB / 0.8542 GB, free: 6.129 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.003322/0.4092, allocations: 1.134 MB / 0.8553 GB, free: 4.992 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.4092, allocations: 192 / 0.8553 GB, free: 4.992 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.00157/0.4108, allocations: 0.5773 MB / 0.8558 GB, free: 4.418 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002097/0.4129, allocations: 440.6 kB / 0.8563 GB, free: 3.992 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006209/0.4191, allocations: 2.712 MB / 0.8589 GB, free: 1.238 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009755/0.4201, allocations: 1.135 MB / 0.86 GB, free: 68 kB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001261/0.4214, allocations: 248.8 kB / 0.8603 GB, free: 15.82 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003563/0.4218, allocations: 107.4 kB / 0.8604 GB, free: 15.71 MB / 0.6856 GB Notification: Performance of SimCode: time 1.112e-06/0.4218, allocations: 0 / 0.8604 GB, free: 15.71 MB / 0.6856 GB Notification: Performance of Templates: time 0.0347/0.4565, allocations: 18.87 MB / 0.8788 GB, free: 13.12 MB / 0.7012 GB make -j1 -f Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: