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.855/2.855, allocations: 287.3 MB / 302.3 MB, free: 8.238 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.001559/0.001559, allocations: 177.1 kB / 370.8 MB, free: 10.87 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.209/2.209, allocations: 205.4 MB / 0.6295 GB, free: 10.62 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.001155/0.001155, allocations: 92.91 kB / 0.7428 GB, free: 6.625 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000681/0.0006813, allocations: 12.44 kB / 0.8657 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2151/0.2159, allocations: 115.3 MB / 0.9783 GB, free: 28.31 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.9499/1.166, allocations: 160.8 MB / 1.135 GB, free: 15.5 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01213/1.178, allocations: 4.907 MB / 1.14 GB, free: 15.06 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002003/1.18, allocations: 37.91 kB / 1.14 GB, free: 15.04 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.003432/1.184, allocations: 0.7775 MB / 1.141 GB, free: 14.83 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.008086/1.192, allocations: 1.753 MB / 1.143 GB, free: 14.22 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.005912/1.198, allocations: 1.186 MB / 1.144 GB, free: 13.98 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.004966/1.203, allocations: 1.675 MB / 1.145 GB, free: 13.32 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002198/1.205, allocations: 0.7959 MB / 1.146 GB, free: 12.99 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003605/1.209, allocations: 0.9775 MB / 1.147 GB, free: 12.5 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002272/1.211, allocations: 0.7127 MB / 1.148 GB, free: 12.1 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0003907/1.211, allocations: 47.62 kB / 1.148 GB, free: 12.1 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004558/1.216, allocations: 0.9392 MB / 1.149 GB, free: 11.7 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001083/1.217, allocations: 383.5 kB / 1.149 GB, free: 11.47 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0008316/1.218, allocations: 266.2 kB / 1.149 GB, free: 11.32 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.004049/1.222, allocations: 1.342 MB / 1.151 GB, free: 10.5 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/1.222, allocations: 0 / 1.151 GB, free: 10.5 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.104e-06/1.222, allocations: 0 / 1.151 GB, free: 10.5 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.377e-05/1.222, allocations: 1.062 kB / 1.151 GB, free: 10.5 MB / 0.698 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.009614/1.232, allocations: 1.721 MB / 1.152 GB, free: 9.211 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.618e-05/1.232, allocations: 13.94 kB / 1.152 GB, free: 9.207 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004896/1.232, allocations: 138 kB / 1.153 GB, free: 9.094 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01013/1.242, allocations: 0.9303 MB / 1.153 GB, free: 8.699 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002988/1.246, allocations: 0.8699 MB / 1.154 GB, free: 8.02 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000112/1.246, allocations: 67.88 kB / 1.154 GB, free: 7.992 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003782/1.246, allocations: 90.28 kB / 1.154 GB, free: 7.965 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007211/1.253, allocations: 1.578 MB / 1.156 GB, free: 7.031 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.665e-05/1.253, allocations: 8.906 kB / 1.156 GB, free: 7.023 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002065/1.254, allocations: 31.53 kB / 1.156 GB, free: 7 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001082/1.254, allocations: 49.02 kB / 1.156 GB, free: 6.992 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01047/1.264, allocations: 1.841 MB / 1.158 GB, free: 6.121 MB / 0.698 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.01285/1.277, allocations: 4.288 MB / 1.162 GB, free: 2.695 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008888/1.286, allocations: 1.578 MB / 1.164 GB, free: 1.973 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007882/1.287, allocations: 183.4 kB / 1.164 GB, free: 1.832 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004691/1.292, allocations: 0.8991 MB / 1.165 GB, free: 1.324 MB / 0.698 GB Notification: Performance of pre-optimization done (n=95): time 5.059e-06/1.292, allocations: 0 / 1.165 GB, free: 1.324 MB / 0.698 GB Notification: Performance of matching and sorting (n=95): time 0.0145/1.306, allocations: 2.429 MB / 1.167 GB, free: 212 kB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.717e-05/1.306, allocations: 66.97 kB / 1.167 GB, free: 144 kB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002473/1.309, allocations: 1.203 MB / 1.168 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0003416/1.309, allocations: 43.11 kB / 1.168 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007035/1.31, allocations: 0.5506 MB / 1.169 GB, free: 15 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005994/1.311, allocations: 328.8 kB / 1.169 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001243/1.311, allocations: 21 kB / 1.169 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001936/1.311, allocations: 342.4 kB / 1.169 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004229/1.315, allocations: 0.6834 MB / 1.17 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004557/1.32, allocations: 0.9135 MB / 1.171 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004298/1.324, allocations: 0.7331 MB / 1.172 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.181e-05/1.324, allocations: 0 / 1.172 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.009565/1.334, allocations: 1.751 MB / 1.173 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.147e-05/1.334, allocations: 5.719 kB / 1.173 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.671e-05/1.334, allocations: 4.875 kB / 1.173 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.288e-05/1.334, allocations: 14.88 kB / 1.174 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003581/1.337, allocations: 343.1 kB / 1.174 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.177e-05/1.338, allocations: 18.95 kB / 1.174 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003561/1.341, allocations: 259.3 kB / 1.174 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003031/1.341, allocations: 50.16 kB / 1.174 GB, free: 12.03 MB / 0.7136 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.setHeaCooUnl.nextTimeEvent,$whenCondition2,$PRE.setCooLimPow.nextTimeEvent,$whenCondition1,$PRE.setHeaHigPow.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.001043/1.343, allocations: 336.3 kB / 1.174 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004723/1.343, allocations: 131.8 kB / 1.175 GB, free: 11.72 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009718/1.353, allocations: 1.785 MB / 1.176 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.989e-05/1.353, allocations: 14.12 kB / 1.176 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.26e-05/1.353, allocations: 3.953 kB / 1.176 GB, free: 10.78 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.428e-05/1.353, allocations: 7.969 kB / 1.176 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01406/1.367, allocations: 3.294 MB / 1.18 GB, free: 8.742 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-05/1.367, allocations: 2.625 kB / 1.18 GB, free: 8.742 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003338/1.37, allocations: 289.2 kB / 1.18 GB, free: 8.652 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.312e-05/1.37, allocations: 11.36 kB / 1.18 GB, free: 8.648 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001922/1.371, allocations: 33.41 kB / 1.18 GB, free: 8.629 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.455e-05/1.371, allocations: 7.156 kB / 1.18 GB, free: 8.629 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.299e-05/1.371, allocations: 10.12 kB / 1.18 GB, free: 8.625 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01399/1.385, allocations: 3.031 MB / 1.183 GB, free: 6.805 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00128/1.386, allocations: 330 kB / 1.183 GB, free: 6.535 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004888/1.387, allocations: 22.81 kB / 1.183 GB, free: 6.523 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003035/1.39, allocations: 181.1 kB / 1.183 GB, free: 6.445 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003136/1.39, allocations: 70.69 kB / 1.183 GB, free: 6.406 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001852/1.39, allocations: 38.34 kB / 1.183 GB, free: 6.395 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001761/1.392, allocations: 0.8324 MB / 1.184 GB, free: 5.73 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.51e-07/1.392, allocations: 0 / 1.184 GB, free: 5.73 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002176/1.394, allocations: 351.5 kB / 1.185 GB, free: 5.387 MB / 0.7136 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 (setHeaCooUnl.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaHigPow.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.01716/1.411, allocations: 5.062 MB / 1.19 GB, free: 368 kB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.009379/1.421, allocations: 1.599 MB / 1.191 GB, free: 14.76 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 9.087e-06/1.421, allocations: 0 / 1.191 GB, free: 14.76 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.004746/1.426, allocations: 0.8243 MB / 1.192 GB, free: 13.93 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005452/1.431, allocations: 0.5906 MB / 1.193 GB, free: 13.34 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03719/1.468, allocations: 12.18 MB / 1.204 GB, free: 0.7188 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001231/1.47, allocations: 1.208 MB / 1.206 GB, free: 15.48 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.003045/1.473, allocations: 366.2 kB / 1.206 GB, free: 15.12 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001622/1.474, allocations: 0.5032 MB / 1.206 GB, free: 14.61 MB / 0.7448 GB Notification: Performance of SimCode: time 1.303e-06/1.474, allocations: 4 kB / 1.206 GB, free: 14.61 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1043/1.579, allocations: 34.24 MB / 1.24 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003269/1.579, allocations: 225.6 kB / 1.24 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.2/5.779, allocations: 3.938 kB / 1.24 GB, free: 12.48 MB / 0.7761 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)