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.57/2.57, allocations: 287.3 MB / 302.3 MB, free: 8.289 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.001728/0.001727, allocations: 192.8 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 1.995/1.995, allocations: 205.4 MB / 0.6295 GB, free: 10.61 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.001138, allocations: 90.42 kB / 0.7428 GB, free: 6.617 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004962/0.0004961, allocations: 17.03 kB / 0.8657 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2057/0.2062, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.298/1.504, allocations: 410 MB / 1.379 GB, free: 3.816 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004585/1.505, allocations: 99.64 kB / 1.379 GB, free: 3.766 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 16.3/17.8, allocations: 2.743 GB / 4.121 GB, free: 60.11 MB / 1.073 GB Notification: Performance of FrontEnd: time 3.597e-06/17.8, allocations: 0.9062 kB / 4.121 GB, free: 60.11 MB / 1.073 GB Notification: Performance of Transformations before backend: time 0.001215/17.8, allocations: 170.1 kB / 4.122 GB, free: 60.08 MB / 1.073 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.03301/17.84, allocations: 7.146 MB / 4.129 GB, free: 56.96 MB / 1.073 GB Notification: Performance of prepare preOptimizeDAE: time 5.8e-05/17.84, allocations: 9.812 kB / 4.129 GB, free: 56.96 MB / 1.073 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00271/17.84, allocations: 0.5392 MB / 4.129 GB, free: 56.91 MB / 1.073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005835/17.85, allocations: 0.7821 MB / 4.13 GB, free: 56.54 MB / 1.073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1987/18.04, allocations: 59.82 MB / 4.188 GB, free: 53.45 MB / 1.073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005524/18.04, allocations: 319.4 kB / 4.189 GB, free: 53.44 MB / 1.073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002083/18.05, allocations: 430.3 kB / 4.189 GB, free: 53.43 MB / 1.073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01696/18.06, allocations: 4.264 MB / 4.193 GB, free: 52.65 MB / 1.073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002621/18.06, allocations: 17.25 kB / 4.193 GB, free: 52.65 MB / 1.073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001499/18.07, allocations: 176.4 kB / 4.193 GB, free: 52.65 MB / 1.073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002295/18.07, allocations: 122.2 kB / 4.193 GB, free: 52.65 MB / 1.073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01154/18.08, allocations: 2.904 MB / 4.196 GB, free: 52.62 MB / 1.073 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.04465/18.12, allocations: 24.06 MB / 4.22 GB, free: 38.39 MB / 1.073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005193/18.13, allocations: 2.953 MB / 4.223 GB, free: 37.2 MB / 1.073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00365/18.13, allocations: 3.935 MB / 4.226 GB, free: 32.79 MB / 1.073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001005/18.13, allocations: 70.14 kB / 4.227 GB, free: 32.75 MB / 1.073 GB Notification: Performance of pre-optimization done (n=225): time 5.37e-06/18.13, allocations: 0 / 4.227 GB, free: 32.75 MB / 1.073 GB Notification: Performance of matching and sorting (n=225): time 0.01702/18.15, allocations: 4.099 MB / 4.231 GB, free: 31.97 MB / 1.073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.67e-05/18.15, allocations: 75.56 kB / 4.231 GB, free: 31.91 MB / 1.073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01074/18.16, allocations: 3.665 MB / 4.234 GB, free: 31.59 MB / 1.073 GB Notification: Performance of collectPreVariables (initialization): time 0.001031/18.16, allocations: 87.02 kB / 4.234 GB, free: 31.56 MB / 1.073 GB Notification: Performance of collectInitialEqns (initialization): time 0.003479/18.16, allocations: 2.775 MB / 4.237 GB, free: 30.69 MB / 1.073 GB Notification: Performance of collectInitialBindings (initialization): time 0.001401/18.17, allocations: 0.7815 MB / 4.238 GB, free: 30.18 MB / 1.073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002675/18.17, allocations: 50.28 kB / 4.238 GB, free: 30.18 MB / 1.073 GB Notification: Performance of setup shared object (initialization): time 0.0001912/18.17, allocations: 409.4 kB / 4.238 GB, free: 29.88 MB / 1.073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002276/18.17, allocations: 0.8041 MB / 4.239 GB, free: 29.87 MB / 1.073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003337/18.17, allocations: 1.808 MB / 4.241 GB, free: 28.71 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003354/18.17, allocations: 1.098 MB / 4.242 GB, free: 28.68 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.422e-05/18.17, allocations: 6.812 kB / 4.242 GB, free: 28.68 MB / 1.073 GB Notification: Performance of matching and sorting (n=341) (initialization): time 0.01145/18.19, allocations: 3.366 MB / 4.245 GB, free: 28.29 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 0.003346/18.19, allocations: 10.34 MB / 4.255 GB, free: 33.53 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001245/18.19, allocations: 24.41 kB / 4.255 GB, free: 33.53 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001871/18.19, allocations: 405 kB / 4.256 GB, free: 33.5 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004901/18.2, allocations: 0.5274 MB / 4.256 GB, free: 33.5 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005636/18.2, allocations: 2.689 MB / 4.259 GB, free: 31.4 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01346/18.22, allocations: 0.5625 MB / 4.259 GB, free: 31.26 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001042/18.22, allocations: 130.2 kB / 4.259 GB, free: 31.26 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/18.22, allocations: 2.969 kB / 4.259 GB, free: 31.26 MB / 1.089 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01464/18.23, allocations: 2.818 MB / 4.262 GB, free: 31.16 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.802e-05/18.23, allocations: 24.41 kB / 4.262 GB, free: 31.16 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00268/18.23, allocations: 371 kB / 4.263 GB, free: 31.13 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005616/18.24, allocations: 0.5261 MB / 4.263 GB, free: 31.13 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02034/18.26, allocations: 7.798 MB / 4.271 GB, free: 25.48 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01247/18.27, allocations: 0.5286 MB / 4.271 GB, free: 25.36 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001078/18.27, allocations: 130.3 kB / 4.271 GB, free: 25.36 MB / 1.089 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 () * Number of clocked 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.006078/18.28, allocations: 0.9933 MB / 4.272 GB, free: 25.16 MB / 1.089 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003061/18.28, allocations: 0.5072 MB / 4.273 GB, free: 24.9 MB / 1.089 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02085/18.3, allocations: 3.784 MB / 4.277 GB, free: 24.6 MB / 1.089 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001653/18.3, allocations: 45 kB / 4.277 GB, free: 24.6 MB / 1.089 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.519e-05/18.3, allocations: 0 / 4.277 GB, free: 24.6 MB / 1.089 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01275/18.32, allocations: 2.613 MB / 4.279 GB, free: 24.39 MB / 1.089 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 postOpt removeSimpleEquations (simulation): time 0.03826/18.36, allocations: 8.575 MB / 4.287 GB, free: 22.83 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.521e-05/18.36, allocations: 0 / 4.287 GB, free: 22.83 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004885/18.36, allocations: 386.5 kB / 4.288 GB, free: 22.83 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002298/18.36, allocations: 306.9 kB / 4.288 GB, free: 22.78 MB / 1.089 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000776/18.36, allocations: 67.41 kB / 4.288 GB, free: 22.78 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00387/18.37, allocations: 2.502 MB / 4.291 GB, free: 20.69 MB / 1.089 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.518e-06/18.37, allocations: 3.375 kB / 4.291 GB, free: 20.69 MB / 1.089 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02098/18.39, allocations: 4.773 MB / 4.295 GB, free: 19.88 MB / 1.089 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006634/18.4, allocations: 0.9908 MB / 4.296 GB, free: 19.47 MB / 1.089 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0031/18.4, allocations: 42.28 kB / 4.296 GB, free: 19.47 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01183/18.41, allocations: 440.5 kB / 4.297 GB, free: 19.44 MB / 1.089 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000919/18.41, allocations: 157.6 kB / 4.297 GB, free: 19.44 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007727/18.41, allocations: 113.7 kB / 4.297 GB, free: 19.44 MB / 1.089 GB Notification: Performance of sorting global known variables: time 0.01324/18.43, allocations: 2.799 MB / 4.3 GB, free: 19.26 MB / 1.089 GB Notification: Performance of sort global known variables: time 1.894e-06/18.43, allocations: 0 / 4.3 GB, free: 19.26 MB / 1.089 GB Notification: Performance of remove unused functions: time 0.03026/18.46, allocations: 3.593 MB / 4.303 GB, free: 18.73 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 () * Number of clocked 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.03317/18.49, allocations: 8.62 MB / 4.312 GB, free: 16 MB / 1.089 GB Notification: Performance of simCode: created initialization part: time 0.0181/18.51, allocations: 4.433 MB / 4.316 GB, free: 15.43 MB / 1.089 GB Notification: Performance of simCode: created event and clocks part: time 1.71e-05/18.51, allocations: 0 / 4.316 GB, free: 15.43 MB / 1.089 GB Notification: Performance of simCode: created simulation system equations: time 0.005464/18.51, allocations: 1.324 MB / 4.317 GB, free: 15.38 MB / 1.089 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03614/18.55, allocations: 2.738 MB / 4.32 GB, free: 15.22 MB / 1.089 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.107/18.66, allocations: 50.65 MB / 4.369 GB, free: 12.48 MB / 1.12 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005362/18.66, allocations: 2.989 MB / 4.372 GB, free: 11.61 MB / 1.12 GB Notification: Performance of simCode: alias equations: time 0.009089/18.67, allocations: 1.203 MB / 4.374 GB, free: 11.35 MB / 1.12 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006195/18.68, allocations: 2.548 MB / 4.376 GB, free: 11.34 MB / 1.12 GB Notification: Performance of SimCode: time 2.595e-06/18.68, allocations: 0 / 4.376 GB, free: 11.34 MB / 1.12 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.434/20.11, allocations: 173.3 MB / 4.545 GB, free: 115.4 MB / 1.135 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002863/20.11, allocations: 244.4 kB / 4.545 GB, free: 115 MB / 1.135 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.64/31.76, allocations: 0 / 4.545 GB, free: 115 MB / 1.135 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)