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.606/2.606, allocations: 287.3 MB / 302.3 MB, free: 8.328 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.001552/0.001551, allocations: 186.7 kB / 370.8 MB, free: 10.84 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.144/2.144, 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.001139/0.001139, allocations: 93.67 kB / 0.7428 GB, free: 6.613 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006296/0.0006295, allocations: 11.84 kB / 0.8657 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2153/0.216, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.646/6.862, allocations: 2.068 GB / 3.046 GB, free: 209.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003108/6.863, allocations: 90.52 kB / 3.046 GB, free: 209.8 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.468/12.33, allocations: 1.011 GB / 4.057 GB, free: 183.8 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.264e-06/12.33, allocations: 0 / 4.057 GB, free: 183.8 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001765/12.33, allocations: 38.8 kB / 4.057 GB, free: 183.8 MB / 0.948 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.01084/12.34, allocations: 1.925 MB / 4.059 GB, free: 183 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/12.34, allocations: 9.562 kB / 4.059 GB, free: 183 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004754/12.34, allocations: 143.9 kB / 4.059 GB, free: 182.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006966/12.35, allocations: 0.6975 MB / 4.06 GB, free: 182.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004409/12.35, allocations: 1.022 MB / 4.061 GB, free: 182.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.563e-05/12.35, allocations: 69.31 kB / 4.061 GB, free: 182.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003438/12.35, allocations: 94.78 kB / 4.061 GB, free: 182.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005156/12.36, allocations: 1.436 MB / 4.063 GB, free: 182.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.136e-05/12.36, allocations: 0.75 kB / 4.063 GB, free: 182.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001693/12.36, allocations: 45.48 kB / 4.063 GB, free: 182.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-05/12.36, allocations: 49.56 kB / 4.063 GB, free: 182.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007589/12.37, allocations: 1.53 MB / 4.064 GB, free: 182.4 MB / 0.948 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.01256/12.38, allocations: 5.097 MB / 4.069 GB, free: 179.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00611/12.39, allocations: 1.23 MB / 4.07 GB, free: 179.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001653/12.39, allocations: 0.9404 MB / 4.071 GB, free: 178.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003155/12.39, allocations: 0.7269 MB / 4.072 GB, free: 178.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=82): time 5.68e-06/12.39, allocations: 3.156 kB / 4.072 GB, free: 178.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=82): time 0.01049/12.4, allocations: 1.973 MB / 4.074 GB, free: 178.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.09e-05/12.4, allocations: 62.56 kB / 4.074 GB, free: 178.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002299/12.4, allocations: 1.129 MB / 4.075 GB, free: 178.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003485/12.4, allocations: 52.89 kB / 4.075 GB, free: 178.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006027/12.41, allocations: 0.5838 MB / 4.076 GB, free: 178.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004352/12.41, allocations: 279.7 kB / 4.076 GB, free: 178.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001298/12.41, allocations: 18.78 kB / 4.076 GB, free: 178.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.585e-05/12.41, allocations: 340.6 kB / 4.076 GB, free: 177.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002894/12.41, allocations: 0.5548 MB / 4.077 GB, free: 177.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00338/12.41, allocations: 0.8807 MB / 4.078 GB, free: 177.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002933/12.42, allocations: 0.6219 MB / 4.078 GB, free: 177.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.488e-06/12.42, allocations: 7.828 kB / 4.078 GB, free: 177.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.006649/12.42, allocations: 1.537 MB / 4.08 GB, free: 177.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.833e-05/12.42, allocations: 14.47 kB / 4.08 GB, free: 177.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.77e-05/12.42, allocations: 6.844 kB / 4.08 GB, free: 177.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.886e-05/12.42, allocations: 10.72 kB / 4.08 GB, free: 177.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002668/12.42, allocations: 299.9 kB / 4.08 GB, free: 177.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.478e-05/12.43, allocations: 14.28 kB / 4.08 GB, free: 177.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002764/12.43, allocations: 235.4 kB / 4.08 GB, free: 177.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001913/12.43, allocations: 52.92 kB / 4.08 GB, free: 177.4 MB / 0.948 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.0009227/12.43, allocations: 343.5 kB / 4.081 GB, free: 177.3 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003542/12.43, allocations: 139.3 kB / 4.081 GB, free: 177.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006655/12.44, allocations: 1.522 MB / 4.082 GB, free: 177.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.177e-05/12.44, allocations: 7.562 kB / 4.082 GB, free: 177.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.745e-06/12.44, allocations: 2.219 kB / 4.082 GB, free: 177.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.353e-05/12.44, allocations: 3.75 kB / 4.082 GB, free: 177.1 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00992/12.45, allocations: 2.973 MB / 4.085 GB, free: 176.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.114e-05/12.45, allocations: 7.344 kB / 4.085 GB, free: 176.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002389/12.45, allocations: 237.6 kB / 4.086 GB, free: 176.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.635e-05/12.45, allocations: 7.375 kB / 4.086 GB, free: 176.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000122/12.45, allocations: 30.5 kB / 4.086 GB, free: 176.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.42e-05/12.45, allocations: 9.812 kB / 4.086 GB, free: 176.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.444e-06/12.45, allocations: 6.719 kB / 4.086 GB, free: 176.6 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009702/12.46, allocations: 2.604 MB / 4.088 GB, free: 175.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001129/12.46, allocations: 339.8 kB / 4.088 GB, free: 175.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003318/12.46, allocations: 23.38 kB / 4.088 GB, free: 175.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002119/12.46, allocations: 135.9 kB / 4.089 GB, free: 175.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001831/12.46, allocations: 73.36 kB / 4.089 GB, free: 175.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001195/12.46, allocations: 33.94 kB / 4.089 GB, free: 175.8 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001628/12.46, allocations: 0.8766 MB / 4.09 GB, free: 175.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.41e-07/12.46, allocations: 0 / 4.09 GB, free: 175.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002185/12.47, allocations: 0.4943 MB / 4.09 GB, free: 175.6 MB / 0.948 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 (88): * Single equations (assignments): 82 * 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.01388/12.48, allocations: 6.142 MB / 4.096 GB, free: 172.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.006234/12.49, allocations: 1.328 MB / 4.097 GB, free: 172.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.144e-06/12.49, allocations: 0 / 4.097 GB, free: 172.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002998/12.49, allocations: 0.6768 MB / 4.098 GB, free: 172.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004805/12.49, allocations: 0.6021 MB / 4.099 GB, free: 172.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02531/12.52, allocations: 13.32 MB / 4.112 GB, free: 165.5 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008197/12.52, allocations: 1.211 MB / 4.113 GB, free: 164.8 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002713/12.52, allocations: 365 kB / 4.113 GB, free: 164.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001349/12.52, allocations: 0.5062 MB / 4.114 GB, free: 164.8 MB / 0.948 GB Notification: Performance of SimCode: time 1.493e-06/12.52, allocations: 0 / 4.114 GB, free: 164.8 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1344/12.66, allocations: 59.95 MB / 4.172 GB, free: 149.5 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002125/12.66, allocations: 237.3 kB / 4.172 GB, free: 149.3 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.416/18.08, allocations: 2.672 kB / 4.172 GB, free: 149.3 MB / 0.948 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)