Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u,fileNamePrefix="Buildings_8_Buildings_Fluid_Interfaces_Examples_HeaterCooler_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.767/1.767, allocations: 289.7 MB / 302.2 MB, free: 2.199 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.001045/0.001045, allocations: 184 kB / 371.6 MB, free: 3.387 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.598/1.598, allocations: 205.1 MB / 0.6309 GB, free: 11.74 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.0009702/0.0009701, allocations: 86.91 kB / 0.745 GB, free: 54.66 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.014e-05/4.067e-05, allocations: 4 kB / 0.8663 GB, free: 14.99 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2775/0.2775, allocations: 116.3 MB / 0.9799 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.112/1.389, allocations: 411.1 MB / 1.381 GB, free: 2.039 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002869/1.39, allocations: 87.97 kB / 1.381 GB, free: 1.996 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 13.38/14.77, allocations: 2.734 GB / 4.115 GB, free: 62.62 MB / 1.089 GB Notification: Performance of FrontEnd: time 2.444e-06/14.77, allocations: 0 / 4.115 GB, free: 62.62 MB / 1.089 GB Notification: Performance of Transformations before backend: time 0.001474/14.77, allocations: 166.7 kB / 4.116 GB, free: 62.6 MB / 1.089 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.02422/14.79, allocations: 5.919 MB / 4.121 GB, free: 60.08 MB / 1.089 GB Notification: Performance of prepare preOptimizeDAE: time 6.718e-05/14.79, allocations: 8.281 kB / 4.121 GB, free: 60.08 MB / 1.089 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002979/14.8, allocations: 0.5319 MB / 4.122 GB, free: 60.02 MB / 1.089 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005898/14.8, allocations: 0.7818 MB / 4.123 GB, free: 59.65 MB / 1.089 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1638/14.97, allocations: 59.5 MB / 4.181 GB, free: 56.55 MB / 1.089 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008372/14.97, allocations: 320 kB / 4.181 GB, free: 56.54 MB / 1.089 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002736/14.97, allocations: 432.9 kB / 4.181 GB, free: 56.54 MB / 1.089 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02021/14.99, allocations: 4.183 MB / 4.186 GB, free: 55.75 MB / 1.089 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005144/14.99, allocations: 18.31 kB / 4.186 GB, free: 55.75 MB / 1.089 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002079/14.99, allocations: 172.4 kB / 4.186 GB, free: 55.75 MB / 1.089 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001861/14.99, allocations: 123 kB / 4.186 GB, free: 55.75 MB / 1.089 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00999/15, allocations: 2.788 MB / 4.189 GB, free: 55.72 MB / 1.089 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.04574/15.05, allocations: 24.07 MB / 4.212 GB, free: 41.48 MB / 1.089 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004367/15.05, allocations: 2.904 MB / 4.215 GB, free: 40.3 MB / 1.089 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002087/15.06, allocations: 1.046 MB / 4.216 GB, free: 40.29 MB / 1.089 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002915/15.06, allocations: 3.935 MB / 4.22 GB, free: 35.88 MB / 1.089 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001166/15.06, allocations: 63.12 kB / 4.22 GB, free: 35.84 MB / 1.089 GB Notification: Performance of pre-optimization done (n=225): time 6.793e-06/15.06, allocations: 1.531 kB / 4.22 GB, free: 35.84 MB / 1.089 GB Notification: Performance of matching and sorting (n=225): time 0.007652/15.07, allocations: 2.561 MB / 4.222 GB, free: 35.45 MB / 1.089 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.9e-05/15.07, allocations: 78.56 kB / 4.222 GB, free: 35.38 MB / 1.089 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01198/15.08, allocations: 3.592 MB / 4.226 GB, free: 35.05 MB / 1.089 GB Notification: Performance of collectPreVariables (initialization): time 0.000986/15.08, allocations: 76.89 kB / 4.226 GB, free: 35.02 MB / 1.089 GB Notification: Performance of collectInitialEqns (initialization): time 0.003599/15.08, allocations: 2.78 MB / 4.229 GB, free: 34.15 MB / 1.089 GB Notification: Performance of collectInitialBindings (initialization): time 0.001552/15.09, allocations: 0.7812 MB / 4.229 GB, free: 33.64 MB / 1.089 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004141/15.09, allocations: 55.25 kB / 4.23 GB, free: 33.64 MB / 1.089 GB Notification: Performance of setup shared object (initialization): time 0.0002945/15.09, allocations: 409.2 kB / 4.23 GB, free: 33.33 MB / 1.089 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002067/15.09, allocations: 0.7645 MB / 4.231 GB, free: 33.32 MB / 1.089 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002881/15.09, allocations: 1.769 MB / 4.232 GB, free: 32.17 MB / 1.089 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002461/15.09, allocations: 1.07 MB / 4.233 GB, free: 32.13 MB / 1.089 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.892e-05/15.09, allocations: 8.312 kB / 4.233 GB, free: 32.13 MB / 1.089 GB Notification: Performance of matching and sorting (n=341) (initialization): time 0.009767/15.1, allocations: 3.284 MB / 4.237 GB, free: 31.75 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 0.004243/15.11, allocations: 10.34 MB / 4.247 GB, free: 20.98 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001033/15.11, allocations: 22 kB / 4.247 GB, free: 20.98 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001287/15.11, allocations: 408.5 kB / 4.247 GB, free: 20.95 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002375/15.11, allocations: 0.524 MB / 4.248 GB, free: 20.95 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003396/15.12, allocations: 2.678 MB / 4.25 GB, free: 34.86 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007681/15.12, allocations: 0.569 MB / 4.251 GB, free: 34.71 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008005/15.12, allocations: 131.4 kB / 4.251 GB, free: 34.71 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 2.427e-05/15.12, allocations: 4.25 kB / 4.251 GB, free: 34.71 MB / 1.104 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008551/15.13, allocations: 2.742 MB / 4.254 GB, free: 34.61 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.07e-05/15.13, allocations: 22.28 kB / 4.254 GB, free: 34.61 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001083/15.13, allocations: 375.3 kB / 4.254 GB, free: 34.58 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002152/15.14, allocations: 0.5227 MB / 4.255 GB, free: 34.58 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01125/15.15, allocations: 7.686 MB / 4.262 GB, free: 28.93 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007874/15.16, allocations: 0.526 MB / 4.263 GB, free: 28.82 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008977/15.16, allocations: 125.4 kB / 4.263 GB, free: 28.82 MB / 1.104 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.001822/15.16, allocations: 281.2 kB / 4.263 GB, free: 28.7 MB / 1.104 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00291/15.16, allocations: 0.5065 MB / 4.263 GB, free: 28.43 MB / 1.104 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01051/15.17, allocations: 3.731 MB / 4.267 GB, free: 28.13 MB / 1.104 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.356e-05/15.17, allocations: 38.84 kB / 4.267 GB, free: 28.13 MB / 1.104 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.996e-05/15.17, allocations: 0 / 4.267 GB, free: 28.13 MB / 1.104 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004974/15.18, allocations: 2.531 MB / 4.27 GB, free: 27.93 MB / 1.104 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.02663/15.2, allocations: 8.51 MB / 4.278 GB, free: 26.38 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.847e-05/15.2, allocations: 0 / 4.278 GB, free: 26.38 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001658/15.2, allocations: 388.5 kB / 4.278 GB, free: 26.38 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007805/15.21, allocations: 308 kB / 4.279 GB, free: 26.34 MB / 1.104 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003341/15.21, allocations: 67.77 kB / 4.279 GB, free: 26.34 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00201/15.21, allocations: 2.494 MB / 4.281 GB, free: 24.26 MB / 1.104 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/15.21, allocations: 1.5 kB / 4.281 GB, free: 24.26 MB / 1.104 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00964/15.22, allocations: 4.652 MB / 4.286 GB, free: 23.46 MB / 1.104 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004651/15.22, allocations: 0.9887 MB / 4.287 GB, free: 23.06 MB / 1.104 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00224/15.22, allocations: 48.08 kB / 4.287 GB, free: 23.06 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00572/15.23, allocations: 442.1 kB / 4.287 GB, free: 23.03 MB / 1.104 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003263/15.23, allocations: 152.6 kB / 4.287 GB, free: 23.02 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003885/15.23, allocations: 118.7 kB / 4.287 GB, free: 23.02 MB / 1.104 GB Notification: Performance of sorting global known variables: time 0.006236/15.24, allocations: 2.723 MB / 4.29 GB, free: 22.82 MB / 1.104 GB Notification: Performance of sort global known variables: time 5.01e-07/15.24, allocations: 0 / 4.29 GB, free: 22.82 MB / 1.104 GB Notification: Performance of remove unused functions: time 0.02051/15.26, allocations: 3.601 MB / 4.293 GB, free: 22.29 MB / 1.104 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.01664/15.27, allocations: 8.508 MB / 4.302 GB, free: 19.55 MB / 1.104 GB Notification: Performance of simCode: created initialization part: time 0.008889/15.28, allocations: 4.494 MB / 4.306 GB, free: 18.96 MB / 1.104 GB Notification: Performance of simCode: created event and clocks part: time 3.452e-05/15.28, allocations: 1.328 kB / 4.306 GB, free: 18.96 MB / 1.104 GB Notification: Performance of simCode: created simulation system equations: time 0.002216/15.29, allocations: 1.296 MB / 4.307 GB, free: 18.94 MB / 1.104 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01814/15.3, allocations: 2.739 MB / 4.31 GB, free: 18.85 MB / 1.104 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0275/15.33, allocations: 8.545 MB / 4.318 GB, free: 16.41 MB / 1.104 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003096/15.33, allocations: 3 MB / 4.321 GB, free: 15.54 MB / 1.104 GB Notification: Performance of simCode: alias equations: time 0.01044/15.35, allocations: 1.517 MB / 4.323 GB, free: 15.21 MB / 1.104 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004144/15.35, allocations: 2.444 MB / 4.325 GB, free: 15.2 MB / 1.104 GB Notification: Performance of SimCode: time 2.134e-06/15.35, allocations: 0 / 4.325 GB, free: 15.2 MB / 1.104 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.465/16.81, allocations: 183.9 MB / 4.505 GB, free: 97.56 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002581/16.81, allocations: 223.1 kB / 4.505 GB, free: 97.34 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.15/26.96, allocations: 0.8125 kB / 4.505 GB, free: 97.34 MB / 1.151 GB (rm -f Buildings_8_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; mkfifo Buildings_8_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe >> ../files/Buildings_8_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Interfaces_Examples_HeaterCooler_u_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Interfaces_Examples_HeaterCooler_u.fmu > Buildings_8_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe 2>&1)