Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.659/1.659, allocations: 288.4 MB / 303.3 MB, free: 8.027 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.001018/0.001019, allocations: 190 kB / 372 MB, free: 10.26 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.374/1.374, allocations: 205.4 MB / 0.6307 GB, free: 9.93 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.0007886/0.0007886, allocations: 88.91 kB / 0.744 GB, free: 5.867 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003954/0.0003955, allocations: 19.86 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1984/0.1988, allocations: 115.3 MB / 0.9796 GB, free: 27.56 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.6181/0.8169, allocations: 176.3 MB / 1.152 GB, free: 9.664 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.009492/0.8265, allocations: 4.777 MB / 1.156 GB, free: 6.027 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001815/0.8283, allocations: 40.41 kB / 1.157 GB, free: 6.008 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002295/0.8307, allocations: 0.6267 MB / 1.157 GB, free: 5.559 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.007391/0.8381, allocations: 1.854 MB / 1.159 GB, free: 4.156 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003258/0.8414, allocations: 0.9261 MB / 1.16 GB, free: 3.516 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.004824/0.8462, allocations: 3.057 MB / 1.163 GB, free: 1.699 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002099/0.8483, allocations: 0.7465 MB / 1.164 GB, free: 1.234 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00298/0.8513, allocations: 1.015 MB / 1.165 GB, free: 0.707 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002124/0.8535, allocations: 0.9505 MB / 1.165 GB, free: 196 kB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.000402/0.8539, allocations: 48.28 kB / 1.166 GB, free: 196 kB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00332/0.8572, allocations: 0.9395 MB / 1.166 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0007834/0.858, allocations: 405.2 kB / 1.167 GB, free: 15.47 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0008282/0.8589, allocations: 268.9 kB / 1.167 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.003298/0.8622, allocations: 1.393 MB / 1.168 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.8622, allocations: 0 / 1.168 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.094e-06/0.8622, allocations: 4 kB / 1.168 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.628e-05/0.8623, allocations: 1.938 kB / 1.168 GB, free: 14.46 MB / 0.7136 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.006237/0.8686, allocations: 1.73 MB / 1.17 GB, free: 13.17 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.809e-05/0.8686, allocations: 10.16 kB / 1.17 GB, free: 13.17 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003251/0.869, allocations: 138.1 kB / 1.17 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006243/0.8752, allocations: 0.9303 MB / 1.171 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001932/0.8772, allocations: 0.8699 MB / 1.172 GB, free: 11.98 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.246e-05/0.8773, allocations: 72.52 kB / 1.172 GB, free: 11.95 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001943/0.8775, allocations: 93.61 kB / 1.172 GB, free: 11.92 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003929/0.8814, allocations: 1.57 MB / 1.174 GB, free: 11 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.217e-05/0.8814, allocations: 0.8125 kB / 1.174 GB, free: 11 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001289/0.8816, allocations: 45.23 kB / 1.174 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.874e-05/0.8816, allocations: 48.14 kB / 1.174 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005184/0.8868, allocations: 1.844 MB / 1.176 GB, free: 10.08 MB / 0.7136 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.007925/0.8948, allocations: 4.762 MB / 1.18 GB, free: 6.367 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004539/0.8993, allocations: 1.581 MB / 1.182 GB, free: 5.621 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002344/0.9017, allocations: 0.8456 MB / 1.183 GB, free: 5.223 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001388/0.9031, allocations: 0.9561 MB / 1.184 GB, free: 4.215 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00243/0.9055, allocations: 0.9128 MB / 1.184 GB, free: 3.707 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=95): time 7.153e-06/0.9056, allocations: 0 / 1.184 GB, free: 3.707 MB / 0.7136 GB Notification: Performance of matching and sorting (n=95): time 0.00776/0.9133, allocations: 2.446 MB / 1.187 GB, free: 2.57 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.836e-05/0.9134, allocations: 63.38 kB / 1.187 GB, free: 2.508 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001542/0.915, allocations: 1.198 MB / 1.188 GB, free: 1.895 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001234/0.9151, allocations: 43.08 kB / 1.188 GB, free: 1.852 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004057/0.9155, allocations: 0.5483 MB / 1.189 GB, free: 1.367 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002956/0.9158, allocations: 326.4 kB / 1.189 GB, free: 1.086 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.019e-05/0.9159, allocations: 19.31 kB / 1.189 GB, free: 1.07 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001282/0.916, allocations: 344.8 kB / 1.189 GB, free: 0.7383 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002122/0.9182, allocations: 0.6917 MB / 1.19 GB, free: 428 kB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002289/0.9205, allocations: 0.9294 MB / 1.191 GB, free: 15.84 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002215/0.9227, allocations: 0.7325 MB / 1.192 GB, free: 15.49 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.511e-06/0.9227, allocations: 4 kB / 1.192 GB, free: 15.48 MB / 0.7292 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.00491/0.9276, allocations: 1.769 MB / 1.193 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.763e-05/0.9277, allocations: 7.562 kB / 1.193 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.31e-05/0.9277, allocations: 2.938 kB / 1.193 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.699e-05/0.9277, allocations: 10.91 kB / 1.193 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001787/0.9295, allocations: 339.7 kB / 1.194 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.497e-05/0.9295, allocations: 7.938 kB / 1.194 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002055/0.9316, allocations: 261.9 kB / 1.194 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001494/0.9318, allocations: 49.31 kB / 1.194 GB, free: 14.39 MB / 0.7292 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.0006083/0.9324, allocations: 329 kB / 1.194 GB, free: 14.16 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002058/0.9326, allocations: 148.5 kB / 1.194 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005207/0.9378, allocations: 1.795 MB / 1.196 GB, free: 12.37 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.205e-05/0.9378, allocations: 11.94 kB / 1.196 GB, free: 12.36 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.9379, allocations: 0 / 1.196 GB, free: 12.36 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.113e-05/0.9379, allocations: 3.984 kB / 1.196 GB, free: 12.36 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007592/0.9455, allocations: 3.332 MB / 1.199 GB, free: 8.914 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.436e-06/0.9455, allocations: 4 kB / 1.2 GB, free: 8.91 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001717/0.9472, allocations: 295.8 kB / 1.2 GB, free: 8.621 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.407e-05/0.9473, allocations: 8 kB / 1.2 GB, free: 8.613 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.466e-05/0.9474, allocations: 31.97 kB / 1.2 GB, free: 8.582 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.278e-06/0.9474, allocations: 8 kB / 1.2 GB, free: 8.574 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.564e-06/0.9474, allocations: 7.938 kB / 1.2 GB, free: 8.566 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007476/0.9549, allocations: 2.828 MB / 1.203 GB, free: 5.672 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007142/0.9556, allocations: 339 kB / 1.203 GB, free: 5.32 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001975/0.9558, allocations: 20 kB / 1.203 GB, free: 5.301 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00156/0.9574, allocations: 179.7 kB / 1.203 GB, free: 5.125 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001434/0.9576, allocations: 72.45 kB / 1.203 GB, free: 5.055 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001018/0.9577, allocations: 47.97 kB / 1.203 GB, free: 5.008 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001138/0.9588, allocations: 0.8279 MB / 1.204 GB, free: 4.176 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.71e-07/0.9588, allocations: 0 / 1.204 GB, free: 4.176 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001153/0.96, allocations: 339.6 kB / 1.204 GB, free: 3.844 MB / 0.7292 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 (95): * Single equations (assignments): 89 * 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.008877/0.9689, allocations: 3.811 MB / 1.208 GB, free: 120 kB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0051/0.974, allocations: 1.611 MB / 1.21 GB, free: 14.51 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 6.082e-06/0.974, allocations: 0 / 1.21 GB, free: 14.51 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.002561/0.9766, allocations: 0.836 MB / 1.21 GB, free: 13.67 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00326/0.9799, allocations: 0.6053 MB / 1.211 GB, free: 13.07 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01926/0.9992, allocations: 9.574 MB / 1.22 GB, free: 3.07 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007611/1, allocations: 1.191 MB / 1.222 GB, free: 1.848 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.001786/1.002, allocations: 370.2 kB / 1.222 GB, free: 1.484 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008321/1.003, allocations: 0.5032 MB / 1.222 GB, free: 0.9805 MB / 0.7448 GB Notification: Performance of SimCode: time 6.41e-07/1.003, allocations: 0 / 1.222 GB, free: 0.9805 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05794/1.061, allocations: 34.29 MB / 1.256 GB, free: 15.01 MB / 0.7917 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000178/1.061, allocations: 246 kB / 1.256 GB, free: 14.76 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.865/3.925, allocations: 4 kB / 1.256 GB, free: 14.75 MB / 0.7917 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)