Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.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_TSetOnly,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",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.709/1.709, allocations: 287.4 MB / 302.6 MB, free: 8.254 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.001033/0.001033, allocations: 180.9 kB / 371.1 MB, free: 10.83 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.647/1.647, allocations: 205.4 MB / 0.6298 GB, free: 10.59 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.0007569/0.0007567, allocations: 93.61 kB / 0.7431 GB, free: 6.578 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000458/0.0004581, allocations: 11.94 kB / 0.8662 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2187/0.2192, allocations: 115.3 MB / 0.9787 GB, free: 28.1 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.6999/0.9191, allocations: 176.3 MB / 1.151 GB, free: 9.57 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.009304/0.9285, allocations: 4.773 MB / 1.156 GB, free: 6.785 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001448/0.93, allocations: 44.47 kB / 1.156 GB, free: 6.762 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001802/0.9318, allocations: 0.6202 MB / 1.156 GB, free: 6.383 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.00604/0.9379, allocations: 1.862 MB / 1.158 GB, free: 4.973 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.00304/0.9409, allocations: 0.9153 MB / 1.159 GB, free: 4.34 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.004233/0.9452, allocations: 3.014 MB / 1.162 GB, free: 2.547 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001227/0.9464, allocations: 0.7644 MB / 1.163 GB, free: 2.078 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001953/0.9484, allocations: 0.9964 MB / 1.164 GB, free: 1.562 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001239/0.9496, allocations: 0.9305 MB / 1.165 GB, free: 1.059 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001383/0.9498, allocations: 46.66 kB / 1.165 GB, free: 1.059 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002634/0.9524, allocations: 0.9332 MB / 1.165 GB, free: 0.5977 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0004437/0.9529, allocations: 405.2 kB / 1.166 GB, free: 352 kB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0003504/0.9532, allocations: 265 kB / 1.166 GB, free: 204 kB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001852/0.9551, allocations: 1.379 MB / 1.167 GB, free: 15.35 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.9551, allocations: 0 / 1.167 GB, free: 15.35 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.754e-06/0.9551, allocations: 0 / 1.167 GB, free: 15.35 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.378e-05/0.9552, allocations: 5.375 kB / 1.167 GB, free: 15.34 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: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.005559/0.9607, allocations: 1.684 MB / 1.169 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 7.045e-05/0.9608, allocations: 10.09 kB / 1.169 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003309/0.9612, allocations: 134.4 kB / 1.169 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004417/0.9656, allocations: 0.7498 MB / 1.17 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001878/0.9675, allocations: 0.8972 MB / 1.171 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.443e-05/0.9676, allocations: 67.06 kB / 1.171 GB, free: 12.9 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002046/0.9678, allocations: 96.11 kB / 1.171 GB, free: 12.86 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003446/0.9713, allocations: 1.473 MB / 1.172 GB, free: 11.95 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.501e-05/0.9713, allocations: 3.938 kB / 1.172 GB, free: 11.95 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001099/0.9714, allocations: 33 kB / 1.172 GB, free: 11.92 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.757e-05/0.9715, allocations: 51.78 kB / 1.173 GB, free: 11.91 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003988/0.9755, allocations: 1.574 MB / 1.174 GB, free: 11.16 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.006951/0.9824, allocations: 5.05 MB / 1.179 GB, free: 6.992 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003194/0.9857, allocations: 1.246 MB / 1.18 GB, free: 6.422 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00159/0.9873, allocations: 0.6803 MB / 1.181 GB, free: 6.098 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001293/0.9886, allocations: 0.9511 MB / 1.182 GB, free: 5.094 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001753/0.9903, allocations: 0.7471 MB / 1.183 GB, free: 4.668 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=82): time 3.817e-06/0.9904, allocations: 0 / 1.183 GB, free: 4.668 MB / 0.7136 GB Notification: Performance of matching and sorting (n=82): time 0.005682/0.996, allocations: 1.977 MB / 1.184 GB, free: 3.758 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.505e-05/0.9961, allocations: 68.06 kB / 1.185 GB, free: 3.688 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001648/0.9978, allocations: 1.266 MB / 1.186 GB, free: 3.027 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.963e-05/0.9979, allocations: 43.86 kB / 1.186 GB, free: 2.984 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004934/0.9984, allocations: 0.5697 MB / 1.186 GB, free: 2.48 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002582/0.9986, allocations: 289.9 kB / 1.187 GB, free: 2.23 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.632e-05/0.9987, allocations: 19.31 kB / 1.187 GB, free: 2.215 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001276/0.9988, allocations: 348.7 kB / 1.187 GB, free: 1.879 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001517/1, allocations: 0.5487 MB / 1.188 GB, free: 1.629 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001725/1.002, allocations: 0.8491 MB / 1.188 GB, free: 1.012 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003147/1.005, allocations: 1.354 MB / 1.19 GB, free: 192 kB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.552e-06/1.005, allocations: 6.812 kB / 1.19 GB, free: 188 kB / 0.7136 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003862/1.009, allocations: 1.535 MB / 1.191 GB, free: 15.44 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.518e-05/1.009, allocations: 8.5 kB / 1.191 GB, free: 15.44 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.424e-05/1.009, allocations: 7.938 kB / 1.191 GB, free: 15.44 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.726e-05/1.009, allocations: 11.66 kB / 1.191 GB, free: 15.44 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001348/1.011, allocations: 299.7 kB / 1.192 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.247e-05/1.011, allocations: 15.34 kB / 1.192 GB, free: 15.35 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0016/1.012, allocations: 226.9 kB / 1.192 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001127/1.012, allocations: 55.41 kB / 1.192 GB, free: 15.21 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (117): * Single equations (assignments): 117 * 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.0006254/1.013, allocations: 348.4 kB / 1.192 GB, free: 14.96 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002754/1.013, allocations: 132.8 kB / 1.192 GB, free: 14.89 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003826/1.017, allocations: 1.463 MB / 1.194 GB, free: 14.13 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.516e-06/1.017, allocations: 8.719 kB / 1.194 GB, free: 14.13 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.283e-06/1.017, allocations: 0 / 1.194 GB, free: 14.13 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.045e-05/1.017, allocations: 3.984 kB / 1.194 GB, free: 14.12 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006147/1.023, allocations: 2.892 MB / 1.197 GB, free: 11.84 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.463e-05/1.023, allocations: 7.984 kB / 1.197 GB, free: 11.84 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001234/1.025, allocations: 236.1 kB / 1.197 GB, free: 11.61 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.491e-05/1.025, allocations: 8 kB / 1.197 GB, free: 11.6 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.627e-05/1.025, allocations: 27.98 kB / 1.197 GB, free: 11.57 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.438e-06/1.025, allocations: 7.984 kB / 1.197 GB, free: 11.56 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/1.025, allocations: 11.94 kB / 1.197 GB, free: 11.55 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005557/1.03, allocations: 2.334 MB / 1.199 GB, free: 9.152 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008155/1.031, allocations: 315.2 kB / 1.199 GB, free: 8.824 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003742/1.032, allocations: 20 kB / 1.199 GB, free: 8.805 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001307/1.033, allocations: 136.7 kB / 1.2 GB, free: 8.672 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001475/1.033, allocations: 64.36 kB / 1.2 GB, free: 8.609 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.741e-05/1.033, allocations: 35.97 kB / 1.2 GB, free: 8.574 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001269/1.034, allocations: 0.8726 MB / 1.2 GB, free: 7.699 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.71e-07/1.034, allocations: 0 / 1.2 GB, free: 7.699 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001367/1.036, allocations: 323.7 kB / 1.201 GB, free: 7.383 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (82): * Single equations (assignments): 76 * 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.006972/1.043, allocations: 3.308 MB / 1.204 GB, free: 4.168 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.003674/1.046, allocations: 1.323 MB / 1.205 GB, free: 2.844 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.119e-06/1.046, allocations: 0 / 1.205 GB, free: 2.844 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001802/1.048, allocations: 0.6716 MB / 1.206 GB, free: 2.168 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003952/1.052, allocations: 0.6075 MB / 1.207 GB, free: 1.566 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01698/1.069, allocations: 8.848 MB / 1.215 GB, free: 8.262 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008133/1.07, allocations: 1.179 MB / 1.216 GB, free: 7.055 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.001656/1.072, allocations: 342.4 kB / 1.217 GB, free: 6.715 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007668/1.073, allocations: 0.4914 MB / 1.217 GB, free: 6.223 MB / 0.7448 GB Notification: Performance of SimCode: time 6.31e-07/1.073, allocations: 0 / 1.217 GB, free: 6.223 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06326/1.136, allocations: 33.74 MB / 1.25 GB, free: 4.848 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002018/1.136, allocations: 236.8 kB / 1.25 GB, free: 4.609 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.946/4.082, allocations: 0 / 1.25 GB, free: 4.609 MB / 0.7761 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly.fmu > Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1)