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.553/2.553, allocations: 284.9 MB / 292.4 MB, free: 10.54 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.001638/0.001637, allocations: 176.9 kB / 360.6 MB, free: 7.293 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.111/2.111, allocations: 205.2 MB / 0.6191 GB, free: 12.23 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001113/0.001113, allocations: 95.81 kB / 0.7321 GB, free: 44.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.977e-05/2.984e-05, allocations: 4 kB / 0.8509 GB, free: 3.367 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8146/0.8147, allocations: 115.3 MB / 0.9634 GB, free: 78.63 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.025/6.84, allocations: 2.067 GB / 3.03 GB, free: 52.04 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000296/6.84, allocations: 87.08 kB / 3.031 GB, free: 52 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.656/12.5, allocations: 0.9985 GB / 4.029 GB, free: 157.5 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.595e-06/12.5, allocations: 0 / 4.029 GB, free: 157.5 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002951/12.5, allocations: 43.52 kB / 4.029 GB, free: 157.5 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.0148/12.51, allocations: 1.721 MB / 4.031 GB, free: 155.7 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.297e-05/12.51, allocations: 15.95 kB / 4.031 GB, free: 155.7 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01049/12.52, allocations: 0.6998 MB / 4.031 GB, free: 155 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006437/12.53, allocations: 1.02 MB / 4.032 GB, free: 154 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001093/12.53, allocations: 36 kB / 4.032 GB, free: 153.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005201/12.53, allocations: 56 kB / 4.033 GB, free: 153.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004396/12.53, allocations: 0.9527 MB / 4.033 GB, free: 152.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004375/12.54, allocations: 1.11 MB / 4.035 GB, free: 151.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.135e-05/12.54, allocations: 7.938 kB / 4.035 GB, free: 151.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002246/12.54, allocations: 3.984 kB / 4.035 GB, free: 151.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001305/12.54, allocations: 49.98 kB / 4.035 GB, free: 151.7 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or 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.01797/12.56, allocations: 5.082 MB / 4.04 GB, free: 146.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00356/12.56, allocations: 0.8716 MB / 4.04 GB, free: 145.6 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001695/12.56, allocations: 481.4 kB / 4.041 GB, free: 145.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002491/12.56, allocations: 0.9487 MB / 4.042 GB, free: 144 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002203/12.57, allocations: 0.586 MB / 4.042 GB, free: 143.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=82): time 7.034e-06/12.57, allocations: 3.844 kB / 4.042 GB, free: 143.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=82): time 0.006811/12.57, allocations: 1.123 MB / 4.043 GB, free: 142.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.206e-05/12.57, allocations: 64.19 kB / 4.044 GB, free: 142.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002335/12.58, allocations: 0.8518 MB / 4.044 GB, free: 141.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003629/12.58, allocations: 29.7 kB / 4.044 GB, free: 141.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008382/12.58, allocations: 0.5935 MB / 4.045 GB, free: 140.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000667/12.58, allocations: 272.1 kB / 4.045 GB, free: 140.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001533/12.58, allocations: 0 / 4.045 GB, free: 140.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.000129/12.58, allocations: 337.9 kB / 4.046 GB, free: 140.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001521/12.58, allocations: 414.4 kB / 4.046 GB, free: 139.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001892/12.58, allocations: 0.7156 MB / 4.047 GB, free: 138.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001877/12.58, allocations: 464.3 kB / 4.047 GB, free: 138.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.917e-05/12.58, allocations: 4 kB / 4.047 GB, free: 138.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.005037/12.59, allocations: 1.163 MB / 4.048 GB, free: 137.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 4.343e-05/12.59, allocations: 14.19 kB / 4.048 GB, free: 137.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.28e-05/12.59, allocations: 4 kB / 4.048 GB, free: 137.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.785e-05/12.59, allocations: 16 kB / 4.048 GB, free: 137.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004339/12.59, allocations: 307.5 kB / 4.049 GB, free: 136.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.775e-05/12.59, allocations: 19.92 kB / 4.049 GB, free: 136.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004192/12.6, allocations: 191 kB / 4.049 GB, free: 136.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005404/12.6, allocations: 59.97 kB / 4.049 GB, free: 136.6 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 () * 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.0007923/12.6, allocations: 138.8 kB / 4.049 GB, free: 136.5 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004563/12.6, allocations: 1.03 MB / 4.05 GB, free: 135.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003807/12.6, allocations: 114.6 kB / 4.05 GB, free: 135.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003419/12.61, allocations: 1.172 MB / 4.051 GB, free: 134.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.406e-05/12.61, allocations: 8 kB / 4.051 GB, free: 134.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/12.61, allocations: 3.938 kB / 4.051 GB, free: 134.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.448e-05/12.61, allocations: 3.984 kB / 4.051 GB, free: 134.1 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006918/12.62, allocations: 2.612 MB / 4.054 GB, free: 131.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.061e-05/12.62, allocations: 8.438 kB / 4.054 GB, free: 131.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002642/12.62, allocations: 263.6 kB / 4.054 GB, free: 131.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.85e-05/12.62, allocations: 8 kB / 4.054 GB, free: 131.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001702/12.62, allocations: 27.97 kB / 4.054 GB, free: 131.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.068e-05/12.62, allocations: 7.938 kB / 4.054 GB, free: 131.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.224e-06/12.62, allocations: 4 kB / 4.054 GB, free: 131.1 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004434/12.62, allocations: 2.121 MB / 4.056 GB, free: 128.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001022/12.62, allocations: 339.2 kB / 4.056 GB, free: 128.5 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002937/12.62, allocations: 12 kB / 4.057 GB, free: 128.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002294/12.63, allocations: 123.8 kB / 4.057 GB, free: 128.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000188/12.63, allocations: 72.59 kB / 4.057 GB, free: 128.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001453/12.63, allocations: 39.95 kB / 4.057 GB, free: 128.2 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.00113/12.63, allocations: 0.6407 MB / 4.057 GB, free: 127.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 6.62e-07/12.63, allocations: 0 / 4.057 GB, free: 127.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002291/12.63, allocations: 455.3 kB / 4.058 GB, free: 127.2 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) * 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.008901/12.64, allocations: 5.807 MB / 4.063 GB, free: 121.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002772/12.64, allocations: 0.9965 MB / 4.064 GB, free: 120.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 8.135e-06/12.64, allocations: 0 / 4.064 GB, free: 120.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001299/12.64, allocations: 0.516 MB / 4.065 GB, free: 120 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003743/12.65, allocations: 429.7 kB / 4.065 GB, free: 119.6 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00665/12.65, allocations: 2.253 MB / 4.068 GB, free: 117.2 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008235/12.65, allocations: 1.206 MB / 4.069 GB, free: 116 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002741/12.66, allocations: 354.9 kB / 4.069 GB, free: 115.6 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001596/12.66, allocations: 0.507 MB / 4.07 GB, free: 115.1 MB / 0.948 GB Notification: Performance of SimCode: time 1.553e-06/12.66, allocations: 0 / 4.07 GB, free: 115.1 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1154/12.77, allocations: 41.15 MB / 4.11 GB, free: 74.11 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002156/12.77, allocations: 189.9 kB / 4.11 GB, free: 73.91 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.426/17.2, allocations: 3.938 kB / 4.11 GB, free: 73.91 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)