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 1.676/1.676, allocations: 287.4 MB / 302.5 MB, free: 8.262 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.001501/0.001501, allocations: 174.7 kB / 371.1 MB, free: 10.85 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.646/1.646, allocations: 205.4 MB / 0.6298 GB, free: 10.57 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.0007728/0.0007729, allocations: 96.84 kB / 0.7431 GB, free: 6.559 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003872/0.0003873, allocations: 17.09 kB / 0.8662 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1799/0.1803, allocations: 115.3 MB / 0.9787 GB, free: 28.11 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.6838/0.8641, allocations: 176.3 MB / 1.151 GB, free: 9.574 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.009548/0.8737, allocations: 4.775 MB / 1.156 GB, free: 6.785 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001921/0.8757, allocations: 49.62 kB / 1.156 GB, free: 6.758 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002035/0.8778, allocations: 0.6139 MB / 1.156 GB, free: 6.391 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.006746/0.8845, allocations: 1.865 MB / 1.158 GB, free: 4.977 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003156/0.8877, allocations: 0.9225 MB / 1.159 GB, free: 4.34 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.005138/0.8929, allocations: 3.074 MB / 1.162 GB, free: 2.516 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001809/0.8947, allocations: 0.8176 MB / 1.163 GB, free: 2.008 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0027/0.8974, allocations: 1.007 MB / 1.164 GB, free: 1.488 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001846/0.8993, allocations: 0.9504 MB / 1.165 GB, free: 0.9727 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001891/0.8995, allocations: 48.69 kB / 1.165 GB, free: 0.9727 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003393/0.9029, allocations: 0.9354 MB / 1.166 GB, free: 0.5117 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.000661/0.9036, allocations: 417.1 kB / 1.166 GB, free: 252 kB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0005986/0.9042, allocations: 265.4 kB / 1.166 GB, free: 104 kB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0024/0.9066, allocations: 1.397 MB / 1.168 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.9066, allocations: 0 / 1.168 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.754e-06/0.9066, allocations: 0 / 1.168 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.092e-05/0.9067, allocations: 1.438 kB / 1.168 GB, free: 15.24 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.005089/0.9117, allocations: 1.714 MB / 1.169 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.269e-05/0.9118, allocations: 9.625 kB / 1.169 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002442/0.9121, allocations: 138.1 kB / 1.169 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005554/0.9176, allocations: 0.9296 MB / 1.17 GB, free: 13.44 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002214/0.9199, allocations: 0.9297 MB / 1.171 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.575e-05/0.92, allocations: 68.41 kB / 1.171 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003245/0.9203, allocations: 89.22 kB / 1.171 GB, free: 12.65 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004329/0.9247, allocations: 1.579 MB / 1.173 GB, free: 11.72 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.509e-05/0.9247, allocations: 0 / 1.173 GB, free: 11.72 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001209/0.9248, allocations: 31.81 kB / 1.173 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.636e-05/0.9249, allocations: 48.45 kB / 1.173 GB, free: 11.69 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005156/0.9301, allocations: 1.841 MB / 1.175 GB, free: 10.82 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.008764/0.9389, allocations: 4.77 MB / 1.18 GB, free: 7.098 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004275/0.9432, allocations: 1.579 MB / 1.181 GB, free: 6.359 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002219/0.9454, allocations: 0.8497 MB / 1.182 GB, free: 5.957 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001334/0.9467, allocations: 0.9559 MB / 1.183 GB, free: 4.945 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002393/0.9492, allocations: 0.909 MB / 1.184 GB, free: 4.438 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=95): time 4.177e-06/0.9492, allocations: 0 / 1.184 GB, free: 4.438 MB / 0.7136 GB Notification: Performance of matching and sorting (n=95): time 0.007798/0.957, allocations: 2.44 MB / 1.186 GB, free: 3.316 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.132e-05/0.9571, allocations: 60.31 kB / 1.186 GB, free: 3.25 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001983/0.9591, allocations: 1.202 MB / 1.187 GB, free: 2.633 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001584/0.9593, allocations: 50.23 kB / 1.187 GB, free: 2.582 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005482/0.9598, allocations: 0.5411 MB / 1.188 GB, free: 2.105 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003654/0.9602, allocations: 330.8 kB / 1.188 GB, free: 1.82 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.404e-05/0.9603, allocations: 18.91 kB / 1.188 GB, free: 1.805 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001643/0.9605, allocations: 344.8 kB / 1.189 GB, free: 1.473 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002196/0.9627, allocations: 0.6956 MB / 1.189 GB, free: 1.148 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002331/0.965, allocations: 0.9249 MB / 1.19 GB, free: 0.5703 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004317/0.9693, allocations: 1.544 MB / 1.192 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.029e-05/0.9694, allocations: 2.906 kB / 1.192 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.005299/0.9747, allocations: 1.767 MB / 1.193 GB, free: 14.89 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.454e-05/0.9748, allocations: 7.375 kB / 1.193 GB, free: 14.89 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.723e-05/0.9748, allocations: 9.531 kB / 1.193 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.471e-05/0.9748, allocations: 8.344 kB / 1.193 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001772/0.9766, allocations: 342.7 kB / 1.194 GB, free: 14.78 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.492e-05/0.9767, allocations: 11.61 kB / 1.194 GB, free: 14.78 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002134/0.9788, allocations: 265.9 kB / 1.194 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001723/0.979, allocations: 52 kB / 1.194 GB, free: 14.62 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.0009121/0.9799, allocations: 332 kB / 1.194 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004482/0.9804, allocations: 134.3 kB / 1.194 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005541/0.9859, allocations: 1.796 MB / 1.196 GB, free: 12.42 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.339e-05/0.986, allocations: 8 kB / 1.196 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.104e-05/0.986, allocations: 4 kB / 1.196 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.173e-05/0.986, allocations: 3.984 kB / 1.196 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008378/0.9944, allocations: 3.336 MB / 1.2 GB, free: 8.961 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.267e-05/0.9944, allocations: 7.938 kB / 1.2 GB, free: 8.953 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001669/0.9961, allocations: 291.7 kB / 1.2 GB, free: 8.668 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.132e-05/0.9962, allocations: 8 kB / 1.2 GB, free: 8.66 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001244/0.9963, allocations: 31.97 kB / 1.2 GB, free: 8.629 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.424e-05/0.9963, allocations: 11.98 kB / 1.2 GB, free: 8.617 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/0.9963, allocations: 4 kB / 1.2 GB, free: 8.613 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007538/1.004, allocations: 2.832 MB / 1.203 GB, free: 5.715 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001035/1.005, allocations: 331.1 kB / 1.203 GB, free: 5.371 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004872/1.005, allocations: 24 kB / 1.203 GB, free: 5.348 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001773/1.007, allocations: 175.7 kB / 1.203 GB, free: 5.176 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000199/1.007, allocations: 76.44 kB / 1.203 GB, free: 5.102 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001171/1.008, allocations: 44.84 kB / 1.203 GB, free: 5.059 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001423/1.009, allocations: 0.8279 MB / 1.204 GB, free: 4.227 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.6e-07/1.009, allocations: 0 / 1.204 GB, free: 4.227 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001612/1.011, allocations: 347.6 kB / 1.204 GB, free: 3.887 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.009262/1.02, allocations: 3.802 MB / 1.208 GB, free: 180 kB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0051/1.025, allocations: 1.611 MB / 1.21 GB, free: 14.57 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 9.187e-06/1.025, allocations: 0 / 1.21 GB, free: 14.57 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.002576/1.028, allocations: 0.836 MB / 1.21 GB, free: 13.73 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004623/1.032, allocations: 0.6001 MB / 1.211 GB, free: 13.13 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02535/1.058, allocations: 9.574 MB / 1.22 GB, free: 3.133 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001095/1.059, allocations: 1.183 MB / 1.222 GB, free: 1.918 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.002274/1.061, allocations: 370.2 kB / 1.222 GB, free: 1.555 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001103/1.062, allocations: 0.511 MB / 1.222 GB, free: 1.043 MB / 0.7448 GB Notification: Performance of SimCode: time 1.382e-06/1.062, allocations: 0 / 1.222 GB, free: 1.043 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06612/1.128, allocations: 34.3 MB / 1.256 GB, free: 15.09 MB / 0.7917 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002189/1.129, allocations: 222.3 kB / 1.256 GB, free: 14.85 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.221/4.349, allocations: 3.938 kB / 1.256 GB, free: 14.85 MB / 0.7917 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)