Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.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.HeaterCooler_u,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Interfaces_Examples_HeaterCooler_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Interfaces_Examples_HeaterCooler_u",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.441/2.441, allocations: 284.9 MB / 292.4 MB, free: 10.52 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.001463/0.001463, allocations: 184.8 kB / 360.6 MB, free: 7.273 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.106/2.106, allocations: 205.2 MB / 0.6191 GB, free: 12.2 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.0011/0.001099, allocations: 86.5 kB / 0.7321 GB, free: 44.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.635e-05/2.642e-05, allocations: 4 kB / 0.8508 GB, free: 3.324 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8488/0.8488, allocations: 115.3 MB / 0.9634 GB, free: 78.5 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.305/2.154, allocations: 409.3 MB / 1.363 GB, free: 158.7 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003061/2.154, allocations: 87.83 kB / 1.363 GB, free: 158.7 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 15.26/17.42, allocations: 2.722 GB / 4.085 GB, free: 58.4 MB / 1.057 GB Notification: Performance of FrontEnd: time 2.695e-06/17.42, allocations: 0 / 4.085 GB, free: 58.4 MB / 1.057 GB Notification: Performance of Transformations before backend: time 0.001245/17.42, allocations: 170.3 kB / 4.086 GB, free: 58.38 MB / 1.057 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1035 * Number of variables: 1035 Notification: Performance of Generate backend data structure: time 0.0218/17.44, allocations: 5.923 MB / 4.091 GB, free: 55.42 MB / 1.057 GB Notification: Performance of prepare preOptimizeDAE: time 5.589e-05/17.44, allocations: 8.5 kB / 4.091 GB, free: 55.42 MB / 1.057 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005792/17.45, allocations: 0.7734 MB / 4.092 GB, free: 55.05 MB / 1.057 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1989/17.65, allocations: 59.36 MB / 4.15 GB, free: 51.07 MB / 1.057 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002844/17.65, allocations: 130.8 kB / 4.15 GB, free: 51.07 MB / 1.057 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00154/17.65, allocations: 251.5 kB / 4.15 GB, free: 51.07 MB / 1.057 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009248/17.66, allocations: 2.523 MB / 4.153 GB, free: 51.05 MB / 1.057 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01181/17.67, allocations: 3.606 MB / 4.156 GB, free: 50.25 MB / 1.057 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001594/17.67, allocations: 15.69 kB / 4.156 GB, free: 50.23 MB / 1.057 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005739/17.67, allocations: 10.97 kB / 4.156 GB, free: 50.23 MB / 1.057 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001692/17.67, allocations: 129.8 kB / 4.157 GB, free: 50.22 MB / 1.057 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.04136/17.71, allocations: 23.37 MB / 4.179 GB, free: 35.77 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004334/17.72, allocations: 2.843 MB / 4.182 GB, free: 34.59 MB / 1.057 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00229/17.72, allocations: 0.9941 MB / 4.183 GB, free: 34.57 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003507/17.72, allocations: 3.938 MB / 4.187 GB, free: 30.16 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.921e-05/17.72, allocations: 67.39 kB / 4.187 GB, free: 30.12 MB / 1.057 GB Notification: Performance of pre-optimization done (n=225): time 5.821e-06/17.72, allocations: 0 / 4.187 GB, free: 30.12 MB / 1.057 GB Notification: Performance of matching and sorting (n=225): time 0.01264/17.74, allocations: 2.889 MB / 4.19 GB, free: 29.66 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.557e-05/17.74, allocations: 73.28 kB / 4.19 GB, free: 29.6 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008823/17.74, allocations: 3.286 MB / 4.193 GB, free: 29.29 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 0.0007493/17.74, allocations: 32.67 kB / 4.193 GB, free: 29.26 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.003369/17.75, allocations: 2.779 MB / 4.196 GB, free: 27.4 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 0.001348/17.75, allocations: 0.7574 MB / 4.197 GB, free: 26.8 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002075/17.75, allocations: 0 / 4.197 GB, free: 26.8 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.000184/17.75, allocations: 414.4 kB / 4.197 GB, free: 26.45 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001816/17.75, allocations: 0.7258 MB / 4.198 GB, free: 26.14 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002558/17.75, allocations: 1.702 MB / 4.199 GB, free: 24.57 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006105/17.76, allocations: 1.372 MB / 4.201 GB, free: 24.07 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.425e-05/17.76, allocations: 7.812 kB / 4.201 GB, free: 24.07 MB / 1.057 GB Notification: Performance of matching and sorting (n=341) (initialization): time 0.01391/17.77, allocations: 3.463 MB / 4.204 GB, free: 22.79 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 0.002202/17.78, allocations: 10.31 MB / 4.214 GB, free: 11.77 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.882e-05/17.78, allocations: 21.69 kB / 4.214 GB, free: 11.77 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001297/17.78, allocations: 339.7 kB / 4.215 GB, free: 11.66 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003579/17.78, allocations: 0.5278 MB / 4.215 GB, free: 11.61 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002756/17.78, allocations: 2.758 MB / 4.218 GB, free: 9.219 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008536/17.79, allocations: 0.4965 MB / 4.218 GB, free: 9.055 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000822/17.79, allocations: 131.8 kB / 4.218 GB, free: 9.035 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/17.79, allocations: 3.969 kB / 4.218 GB, free: 9.035 MB / 1.057 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01058/17.8, allocations: 2.755 MB / 4.221 GB, free: 8.094 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.935e-05/17.8, allocations: 22.91 kB / 4.221 GB, free: 8.094 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00149/17.81, allocations: 353.9 kB / 4.221 GB, free: 7.992 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003505/17.81, allocations: 0.5234 MB / 4.222 GB, free: 7.938 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01246/17.82, allocations: 7.405 MB / 4.229 GB, free: 17.53 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008238/17.83, allocations: 467 kB / 4.23 GB, free: 17.4 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008414/17.83, allocations: 129 kB / 4.23 GB, free: 17.38 MB / 1.073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 97 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (299): * Single equations (assignments): 295 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 12,1 9,1 12,1 9} Notification: Performance of prepare postOptimizeDAE: time 0.000893/17.83, allocations: 193.3 kB / 4.23 GB, free: 17.2 MB / 1.073 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01126/17.84, allocations: 2.745 MB / 4.233 GB, free: 16.13 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002314/17.85, allocations: 0.5039 MB / 4.233 GB, free: 15.87 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01371/17.86, allocations: 3.752 MB / 4.237 GB, free: 14.45 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.667e-05/17.86, allocations: 37.69 kB / 4.237 GB, free: 14.44 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/17.86, allocations: 0 / 4.237 GB, free: 14.44 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009456/17.87, allocations: 2.641 MB / 4.239 GB, free: 13.43 MB / 1.073 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 postOpt removeSimpleEquations (simulation): time 0.02688/17.9, allocations: 8.08 MB / 4.247 GB, free: 8.98 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.208e-05/17.9, allocations: 4 kB / 4.247 GB, free: 8.977 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00327/17.9, allocations: 386.4 kB / 4.248 GB, free: 8.652 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009121/17.9, allocations: 224.4 kB / 4.248 GB, free: 8.449 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004028/17.9, allocations: 34.92 kB / 4.248 GB, free: 8.426 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002793/17.9, allocations: 2.513 MB / 4.25 GB, free: 5.859 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.256e-06/17.9, allocations: 1.203 kB / 4.25 GB, free: 5.859 MB / 1.073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0165/17.92, allocations: 4.709 MB / 4.255 GB, free: 1.488 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005066/17.93, allocations: 0.979 MB / 4.256 GB, free: 0.6484 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002043/17.93, allocations: 10.77 kB / 4.256 GB, free: 0.6406 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008075/17.94, allocations: 400.3 kB / 4.256 GB, free: 368 kB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000704/17.94, allocations: 148.8 kB / 4.256 GB, free: 272 kB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005027/17.94, allocations: 117.5 kB / 4.257 GB, free: 180 kB / 1.073 GB Notification: Performance of sorting global known variables: time 0.0142/17.95, allocations: 2.796 MB / 4.259 GB, free: 14.91 MB / 1.089 GB Notification: Performance of sort global known variables: time 1.212e-06/17.95, allocations: 0 / 4.259 GB, free: 14.91 MB / 1.089 GB Notification: Performance of remove unused functions: time 0.02237/17.97, allocations: 3.446 MB / 4.263 GB, free: 11.51 MB / 1.089 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 10 (hea1.vol.dynBal.U,hea2.vol.dynBal.U,hea3.vol.dynBal.U,hea4.vol.dynBal.U,mix1.dynBal.U,hea5.vol.dynBal.U,hea6.vol.dynBal.U,hea7.vol.dynBal.U,hea8.vol.dynBal.U,mix2.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (227): * Single equations (assignments): 189 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 34 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 9,1 7,1 9,1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.02654/18, allocations: 8.564 MB / 4.271 GB, free: 3.281 MB / 1.089 GB Notification: Performance of simCode: created initialization part: time 1.104/19.1, allocations: 4.23 MB / 4.275 GB, free: 87.69 MB / 1.089 GB Notification: Performance of simCode: created event and clocks part: time 1.446e-05/19.1, allocations: 3.938 kB / 4.275 GB, free: 87.69 MB / 1.089 GB Notification: Performance of simCode: created simulation system equations: time 0.004089/19.11, allocations: 1.234 MB / 4.276 GB, free: 87.68 MB / 1.089 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02554/19.13, allocations: 2.629 MB / 4.279 GB, free: 87.66 MB / 1.089 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0325/19.17, allocations: 8.32 MB / 4.287 GB, free: 85.64 MB / 1.089 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005656/19.17, allocations: 2.998 MB / 4.29 GB, free: 84.84 MB / 1.089 GB Notification: Performance of simCode: alias equations: time 0.01396/19.19, allocations: 1.494 MB / 4.291 GB, free: 84.8 MB / 1.089 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005713/19.19, allocations: 2.438 MB / 4.294 GB, free: 84.8 MB / 1.089 GB Notification: Performance of SimCode: time 1.363e-06/19.19, allocations: 0 / 4.294 GB, free: 84.8 MB / 1.089 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4399/19.63, allocations: 161.1 MB / 4.451 GB, free: 74.67 MB / 1.089 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002919/19.63, allocations: 166 kB / 4.451 GB, free: 74.48 MB / 1.089 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/30.98, allocations: 6.188 kB / 4.451 GB, free: 74.48 MB / 1.089 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Interfaces_Examples_HeaterCooler_u_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Interfaces_Examples_HeaterCooler_u.fmu > Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe 2>&1)