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 2.695/2.695, allocations: 287.3 MB / 302.3 MB, free: 8.332 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.001706/0.001705, allocations: 188.9 kB / 370.8 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 2.095/2.095, allocations: 205.4 MB / 0.6295 GB, free: 10.6 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.001161/0.001161, allocations: 87.62 kB / 0.7428 GB, free: 6.605 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006576/0.0006578, allocations: 12.83 kB / 0.8657 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2228/0.2235, allocations: 115.3 MB / 0.9783 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.9199/1.143, allocations: 160.8 MB / 1.135 GB, free: 15.57 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01252/1.156, allocations: 4.899 MB / 1.14 GB, free: 15.13 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002063/1.158, allocations: 45.56 kB / 1.14 GB, free: 15.11 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.00356/1.162, allocations: 0.7751 MB / 1.141 GB, free: 14.89 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.008315/1.17, allocations: 1.755 MB / 1.143 GB, free: 14.28 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.005758/1.176, allocations: 1.178 MB / 1.144 GB, free: 14.06 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.004645/1.181, allocations: 1.607 MB / 1.145 GB, free: 13.43 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002299/1.183, allocations: 0.7559 MB / 1.146 GB, free: 13.11 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0042/1.187, allocations: 0.9676 MB / 1.147 GB, free: 12.59 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002296/1.189, allocations: 0.6906 MB / 1.148 GB, free: 12.21 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0004149/1.19, allocations: 50.31 kB / 1.148 GB, free: 12.21 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004756/1.195, allocations: 0.9279 MB / 1.149 GB, free: 11.8 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0009629/1.196, allocations: 379.9 kB / 1.149 GB, free: 11.58 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0008055/1.197, allocations: 269.7 kB / 1.149 GB, free: 11.43 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.004067/1.201, allocations: 1.315 MB / 1.151 GB, free: 10.61 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/1.201, allocations: 8 kB / 1.151 GB, free: 10.61 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.246e-06/1.201, allocations: 0 / 1.151 GB, free: 10.61 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6e-05/1.201, allocations: 0.9688 kB / 1.151 GB, free: 10.61 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: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.009106/1.21, allocations: 1.682 MB / 1.152 GB, free: 9.34 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.329e-05/1.21, allocations: 9.344 kB / 1.152 GB, free: 9.34 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005132/1.211, allocations: 138.5 kB / 1.152 GB, free: 9.227 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0079/1.218, allocations: 0.7491 MB / 1.153 GB, free: 8.906 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002908/1.221, allocations: 0.8577 MB / 1.154 GB, free: 8.234 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001081/1.222, allocations: 67.25 kB / 1.154 GB, free: 8.207 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003834/1.222, allocations: 92.48 kB / 1.154 GB, free: 8.176 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00616/1.228, allocations: 1.465 MB / 1.155 GB, free: 7.262 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.077e-05/1.228, allocations: 5.25 kB / 1.155 GB, free: 7.258 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001772/1.228, allocations: 32.66 kB / 1.156 GB, free: 7.234 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001072/1.229, allocations: 48.45 kB / 1.156 GB, free: 7.227 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008604/1.237, allocations: 1.574 MB / 1.157 GB, free: 6.48 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.01147/1.249, allocations: 4.664 MB / 1.162 GB, free: 2.539 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006654/1.255, allocations: 1.239 MB / 1.163 GB, free: 1.977 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007563/1.256, allocations: 170.4 kB / 1.163 GB, free: 1.848 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003717/1.26, allocations: 0.7388 MB / 1.164 GB, free: 1.426 MB / 0.698 GB Notification: Performance of pre-optimization done (n=82): time 4.91e-06/1.26, allocations: 0.5 kB / 1.164 GB, free: 1.426 MB / 0.698 GB Notification: Performance of matching and sorting (n=82): time 0.01118/1.271, allocations: 2.008 MB / 1.166 GB, free: 0.5039 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.11e-05/1.271, allocations: 63.56 kB / 1.166 GB, free: 448 kB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002452/1.274, allocations: 1.265 MB / 1.167 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0002707/1.274, allocations: 45.08 kB / 1.167 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007736/1.275, allocations: 0.5727 MB / 1.168 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005193/1.275, allocations: 294.7 kB / 1.168 GB, free: 14.97 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001175/1.276, allocations: 20.91 kB / 1.168 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001708/1.276, allocations: 342.2 kB / 1.168 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003054/1.279, allocations: 0.5499 MB / 1.169 GB, free: 14.37 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003408/1.282, allocations: 0.8289 MB / 1.17 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003201/1.285, allocations: 0.6196 MB / 1.17 GB, free: 13.49 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.197e-05/1.286, allocations: 2.719 kB / 1.17 GB, free: 13.49 MB / 0.7136 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.007313/1.293, allocations: 1.525 MB / 1.172 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.597e-05/1.293, allocations: 12.3 kB / 1.172 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.702e-05/1.293, allocations: 4.844 kB / 1.172 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.2e-05/1.293, allocations: 13.62 kB / 1.172 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002802/1.296, allocations: 297.8 kB / 1.172 GB, free: 12.67 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.19e-05/1.296, allocations: 22.17 kB / 1.172 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002844/1.299, allocations: 230.2 kB / 1.172 GB, free: 12.53 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002394/1.299, allocations: 45.67 kB / 1.172 GB, free: 12.52 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * 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 (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.00097/1.3, allocations: 337.2 kB / 1.173 GB, free: 12.28 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004327/1.3, allocations: 137.5 kB / 1.173 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007265/1.308, allocations: 1.478 MB / 1.174 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.668e-05/1.308, allocations: 7.625 kB / 1.174 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.508e-06/1.308, allocations: 0 / 1.174 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.959e-05/1.308, allocations: 6.422 kB / 1.174 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01133/1.319, allocations: 2.897 MB / 1.177 GB, free: 9.594 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.375e-05/1.319, allocations: 10.39 kB / 1.177 GB, free: 9.586 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002512/1.322, allocations: 237.4 kB / 1.177 GB, free: 9.512 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.822e-05/1.322, allocations: 11.09 kB / 1.177 GB, free: 9.508 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001714/1.322, allocations: 30.22 kB / 1.177 GB, free: 9.492 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.316e-05/1.322, allocations: 8.25 kB / 1.177 GB, free: 9.492 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.484e-06/1.322, allocations: 4.875 kB / 1.177 GB, free: 9.492 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01068/1.333, allocations: 2.583 MB / 1.18 GB, free: 7.805 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001194/1.334, allocations: 319.3 kB / 1.18 GB, free: 7.543 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004846/1.334, allocations: 26.39 kB / 1.18 GB, free: 7.527 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00231/1.337, allocations: 130.8 kB / 1.18 GB, free: 7.477 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002648/1.337, allocations: 66.03 kB / 1.18 GB, free: 7.434 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001553/1.337, allocations: 37.67 kB / 1.18 GB, free: 7.422 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001843/1.339, allocations: 0.8731 MB / 1.181 GB, free: 6.965 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.71e-07/1.339, allocations: 0 / 1.181 GB, free: 6.965 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001935/1.341, allocations: 314.6 kB / 1.182 GB, free: 6.918 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * 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 (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 (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.01325/1.354, allocations: 4.697 MB / 1.186 GB, free: 3.469 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.007089/1.362, allocations: 1.325 MB / 1.187 GB, free: 2.414 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 8.817e-06/1.362, allocations: 0 / 1.187 GB, free: 2.414 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.00351/1.365, allocations: 0.6682 MB / 1.188 GB, free: 1.746 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00539/1.371, allocations: 0.6144 MB / 1.189 GB, free: 1.137 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03373/1.404, allocations: 12.64 MB / 1.201 GB, free: 4.008 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001267/1.406, allocations: 1.203 MB / 1.202 GB, free: 2.773 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.002879/1.409, allocations: 346.3 kB / 1.203 GB, free: 2.43 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001497/1.41, allocations: 0.4953 MB / 1.203 GB, free: 1.938 MB / 0.7292 GB Notification: Performance of SimCode: time 1.413e-06/1.41, allocations: 0 / 1.203 GB, free: 1.938 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1254/1.536, allocations: 33.72 MB / 1.236 GB, free: 0.5859 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003573/1.536, allocations: 244.1 kB / 1.236 GB, free: 344 kB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.894/5.43, allocations: 4 kB / 1.236 GB, free: 340 kB / 0.7605 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)