Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.571/2.571, allocations: 287.3 MB / 302.3 MB, free: 8.281 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00153/0.00153, allocations: 177.4 kB / 370.8 MB, free: 10.9 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.166/2.166, allocations: 205.4 MB / 0.6295 GB, free: 10.65 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001126/0.001126, allocations: 102.8 kB / 0.7428 GB, free: 6.641 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004881/0.0004882, allocations: 12.78 kB / 0.8657 GB, free: 140 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2117/0.2122, allocations: 115.3 MB / 0.9783 GB, free: 28.33 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.611/6.823, allocations: 2.068 GB / 3.046 GB, free: 191.7 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003239/6.823, allocations: 91.19 kB / 3.046 GB, free: 191.7 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.623/10.45, allocations: 0.6812 GB / 3.727 GB, free: 200 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.386e-06/10.45, allocations: 0 / 3.727 GB, free: 200 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001704/10.45, allocations: 42.45 kB / 3.727 GB, free: 200 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.0116/10.46, allocations: 1.958 MB / 3.729 GB, free: 199.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.408e-05/10.46, allocations: 9.156 kB / 3.729 GB, free: 199.2 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005502/10.46, allocations: 143.3 kB / 3.729 GB, free: 199.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009256/10.47, allocations: 0.8769 MB / 3.73 GB, free: 199.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006189/10.47, allocations: 1.122 MB / 3.731 GB, free: 198.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001078/10.47, allocations: 72.06 kB / 3.731 GB, free: 198.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003798/10.47, allocations: 93.69 kB / 3.731 GB, free: 198.7 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006053/10.48, allocations: 1.541 MB / 3.733 GB, free: 198.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.007e-05/10.48, allocations: 7.281 kB / 3.733 GB, free: 198.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001778/10.48, allocations: 34.95 kB / 3.733 GB, free: 198.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.304e-05/10.48, allocations: 46.8 kB / 3.733 GB, free: 198.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00907/10.49, allocations: 1.79 MB / 3.735 GB, free: 198.6 MB / 0.948 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.01267/10.5, allocations: 4.803 MB / 3.74 GB, free: 196.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007636/10.51, allocations: 1.576 MB / 3.741 GB, free: 196.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001684/10.51, allocations: 0.9399 MB / 3.742 GB, free: 195.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004438/10.52, allocations: 0.9002 MB / 3.743 GB, free: 195.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=95): time 5.851e-06/10.52, allocations: 2.188 kB / 3.743 GB, free: 195.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=95): time 0.01412/10.53, allocations: 2.423 MB / 3.745 GB, free: 195.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.137e-05/10.53, allocations: 72.97 kB / 3.745 GB, free: 195.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002272/10.53, allocations: 1.067 MB / 3.746 GB, free: 194.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003799/10.53, allocations: 51.8 kB / 3.746 GB, free: 194.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006213/10.53, allocations: 0.5572 MB / 3.747 GB, free: 194.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005433/10.53, allocations: 319.1 kB / 3.747 GB, free: 194.1 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001572/10.53, allocations: 19.97 kB / 3.747 GB, free: 194.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001045/10.53, allocations: 351.1 kB / 3.748 GB, free: 193.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003873/10.54, allocations: 0.6858 MB / 3.748 GB, free: 193.6 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00433/10.54, allocations: 0.9597 MB / 3.749 GB, free: 193.2 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004082/10.55, allocations: 0.7331 MB / 3.75 GB, free: 193 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-05/10.55, allocations: 0 / 3.75 GB, free: 193 MB / 0.948 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.009205/10.56, allocations: 1.77 MB / 3.752 GB, free: 192.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.133e-05/10.56, allocations: 7.844 kB / 3.752 GB, free: 192.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.706e-05/10.56, allocations: 6.562 kB / 3.752 GB, free: 192.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.673e-05/10.56, allocations: 12.25 kB / 3.752 GB, free: 192.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003472/10.56, allocations: 336.7 kB / 3.752 GB, free: 192.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.169e-05/10.56, allocations: 11.34 kB / 3.752 GB, free: 192.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003445/10.56, allocations: 270.5 kB / 3.752 GB, free: 192.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003584/10.56, allocations: 60.19 kB / 3.752 GB, free: 192.3 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (121): * Single equations (assignments): 121 * 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.00107/10.57, allocations: 344.5 kB / 3.753 GB, free: 192.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005138/10.57, allocations: 138.1 kB / 3.753 GB, free: 192.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009261/10.58, allocations: 1.83 MB / 3.755 GB, free: 191.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.657e-05/10.58, allocations: 7.875 kB / 3.755 GB, free: 191.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.979e-06/10.58, allocations: 3.625 kB / 3.755 GB, free: 191.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.51e-05/10.58, allocations: 7.5 kB / 3.755 GB, free: 191.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01342/10.59, allocations: 3.406 MB / 3.758 GB, free: 190.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.161e-05/10.59, allocations: 6.281 kB / 3.758 GB, free: 190.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003312/10.59, allocations: 296.8 kB / 3.758 GB, free: 190.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.383e-05/10.59, allocations: 8.375 kB / 3.758 GB, free: 190.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002811/10.59, allocations: 31.34 kB / 3.758 GB, free: 190.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.566e-05/10.59, allocations: 17.05 kB / 3.758 GB, free: 190.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.741e-06/10.59, allocations: 4.688 kB / 3.758 GB, free: 190.2 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01392/10.61, allocations: 3.079 MB / 3.761 GB, free: 188.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001445/10.61, allocations: 355.8 kB / 3.762 GB, free: 188.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005499/10.61, allocations: 33.31 kB / 3.762 GB, free: 188.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003228/10.61, allocations: 180.9 kB / 3.762 GB, free: 188.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003628/10.61, allocations: 75.38 kB / 3.762 GB, free: 188.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002104/10.61, allocations: 42.38 kB / 3.762 GB, free: 188.6 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001971/10.61, allocations: 0.837 MB / 3.763 GB, free: 188.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 6.72e-07/10.61, allocations: 0 / 3.763 GB, free: 188.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002895/10.62, allocations: 0.5108 MB / 3.763 GB, free: 188.1 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (heaHigPow.T,heaHigPow.Xi,cooLimPow.T,cooLimPow.Xi,heaCooUnl.T,heaCooUnl.Xi) * 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 (101): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.01869/10.64, allocations: 6.637 MB / 3.77 GB, free: 184.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.008844/10.64, allocations: 1.613 MB / 3.771 GB, free: 184.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 9.198e-06/10.64, allocations: 0 / 3.771 GB, free: 184.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.004429/10.65, allocations: 0.844 MB / 3.772 GB, free: 184 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005388/10.65, allocations: 0.5914 MB / 3.773 GB, free: 183.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03292/10.69, allocations: 12.23 MB / 3.785 GB, free: 175.7 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008523/10.69, allocations: 1.217 MB / 3.786 GB, free: 174.8 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.003025/10.69, allocations: 374 kB / 3.786 GB, free: 174.6 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001613/10.69, allocations: 0.5138 MB / 3.787 GB, free: 174.2 MB / 0.948 GB Notification: Performance of SimCode: time 1.943e-06/10.69, allocations: 0 / 3.787 GB, free: 174.2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1352/10.83, allocations: 60.52 MB / 3.846 GB, free: 114.5 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002249/10.83, allocations: 227.2 kB / 3.846 GB, free: 114.2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.249/16.08, allocations: 3.938 kB / 3.846 GB, free: 114.2 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet.fmu > Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)