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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001047/0.001047, allocations: 92.16 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001321/0.00132, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.56/1.56, allocations: 205.4 MB / 222.1 MB, free: 5.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.737/1.737, allocations: 292.7 MB / 0.5499 GB, free: 14.56 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005394/0.0005398, allocations: 16.45 kB / 0.6738 GB, free: 26.03 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2382/0.2387, allocations: 116.3 MB / 0.7874 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u): time 0.7204/0.9592, allocations: 277.5 MB / 1.058 GB, free: 12.16 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.06969/1.029, allocations: 46.54 MB / 1.104 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009094/1.038, allocations: 250.3 kB / 1.104 GB, free: 13.27 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.008702/1.047, allocations: 2.383 MB / 1.106 GB, free: 10.87 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.02182/1.069, allocations: 7.221 MB / 1.114 GB, free: 3.621 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.01412/1.083, allocations: 4.812 MB / 1.118 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.02834/1.111, allocations: 20.99 MB / 1.139 GB, free: 9.801 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008125/1.119, allocations: 4.285 MB / 1.143 GB, free: 5.457 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01256/1.132, allocations: 5.907 MB / 1.149 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009439/1.141, allocations: 4.604 MB / 1.153 GB, free: 10.9 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0022/1.144, allocations: 236 kB / 1.153 GB, free: 10.67 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01214/1.156, allocations: 2.639 MB / 1.156 GB, free: 8.023 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.004205/1.16, allocations: 1.054 MB / 1.157 GB, free: 6.965 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.005708/1.166, allocations: 1.373 MB / 1.158 GB, free: 5.582 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.01549/1.181, allocations: 7.438 MB / 1.166 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 8.185e-06/1.181, allocations: 4 kB / 1.166 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.284e-06/1.181, allocations: 0 / 1.166 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0004076/1.182, allocations: 0 / 1.166 GB, free: 14.12 MB / 0.8731 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.01425/1.196, allocations: 6.246 MB / 1.172 GB, free: 7.742 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/1.196, allocations: 12.03 kB / 1.172 GB, free: 7.73 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001583/1.198, allocations: 0.5396 MB / 1.172 GB, free: 7.184 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003161/1.201, allocations: 0.7881 MB / 1.173 GB, free: 6.387 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01235/1.213, allocations: 4.955 MB / 1.178 GB, free: 1.359 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000437/1.214, allocations: 320.1 kB / 1.178 GB, free: 1.043 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001483/1.215, allocations: 439.9 kB / 1.179 GB, free: 0.6133 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0103/1.226, allocations: 4.354 MB / 1.183 GB, free: 11.98 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001024/1.226, allocations: 15.88 kB / 1.183 GB, free: 11.96 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004296/1.226, allocations: 168 kB / 1.183 GB, free: 11.8 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001309/1.226, allocations: 127.9 kB / 1.183 GB, free: 11.67 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005513/1.232, allocations: 2.941 MB / 1.186 GB, free: 8.727 MB / 0.8887 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.03366/1.265, allocations: 25.03 MB / 1.21 GB, free: 13.65 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003379/1.269, allocations: 2.752 MB / 1.213 GB, free: 10.69 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001639/1.27, allocations: 0.9876 MB / 1.214 GB, free: 9.703 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00345/1.274, allocations: 3.927 MB / 1.218 GB, free: 4.91 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.808e-05/1.274, allocations: 60.56 kB / 1.218 GB, free: 4.84 MB / 0.92 GB Notification: Performance of pre-optimization done (n=217): time 4.748e-06/1.274, allocations: 0 / 1.218 GB, free: 4.84 MB / 0.92 GB Notification: Performance of matching and sorting (n=217): time 0.01016/1.284, allocations: 4.068 MB / 1.222 GB, free: 0.6758 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.988e-05/1.284, allocations: 77.41 kB / 1.222 GB, free: 0.5898 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007295/1.292, allocations: 4.16 MB / 1.226 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0003954/1.292, allocations: 81.7 kB / 1.226 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.002765/1.295, allocations: 2.768 MB / 1.229 GB, free: 9.574 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.001019/1.296, allocations: 0.7702 MB / 1.23 GB, free: 8.793 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002138/1.296, allocations: 56 kB / 1.23 GB, free: 8.738 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002338/1.296, allocations: 411.9 kB / 1.23 GB, free: 8.332 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001658/1.298, allocations: 0.7865 MB / 1.231 GB, free: 7.543 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002598/1.301, allocations: 1.81 MB / 1.233 GB, free: 5.297 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001948/1.303, allocations: 1.069 MB / 1.234 GB, free: 4.207 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.591e-05/1.303, allocations: 8 kB / 1.234 GB, free: 4.199 MB / 0.9356 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.007792/1.31, allocations: 3.504 MB / 1.237 GB, free: 0.6289 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007404/1.311, allocations: 0.7335 MB / 1.238 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.667e-05/1.311, allocations: 28 kB / 1.238 GB, free: 15.56 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00252/1.314, allocations: 0.5648 MB / 1.238 GB, free: 14.98 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001761/1.316, allocations: 0.5538 MB / 1.239 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002489/1.318, allocations: 2.697 MB / 1.242 GB, free: 11.63 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005238/1.323, allocations: 0.6179 MB / 1.242 GB, free: 11.01 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000332/1.324, allocations: 136.1 kB / 1.242 GB, free: 10.88 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/1.324, allocations: 4 kB / 1.242 GB, free: 10.87 MB / 0.9512 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005521/1.329, allocations: 2.806 MB / 1.245 GB, free: 8.012 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.246e-05/1.329, allocations: 20 kB / 1.245 GB, free: 7.992 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009708/1.33, allocations: 367.1 kB / 1.245 GB, free: 7.625 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001737/1.332, allocations: 0.5616 MB / 1.246 GB, free: 7.062 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008895/1.341, allocations: 7.7 MB / 1.253 GB, free: 14.77 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005243/1.346, allocations: 0.5779 MB / 1.254 GB, free: 14.2 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005215/1.347, allocations: 128 kB / 1.254 GB, free: 14.07 MB / 0.9669 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 (323): * Single equations (assignments): 319 * 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.002774/1.349, allocations: 1.005 MB / 1.255 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001453/1.351, allocations: 0.4978 MB / 1.256 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00771/1.359, allocations: 3.576 MB / 1.259 GB, free: 8.906 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.292e-05/1.359, allocations: 39.97 kB / 1.259 GB, free: 8.867 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.069e-05/1.359, allocations: 4 kB / 1.259 GB, free: 8.863 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004445/1.363, allocations: 2.427 MB / 1.262 GB, free: 6.383 MB / 0.9669 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.01738/1.381, allocations: 8.193 MB / 1.27 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.379e-05/1.381, allocations: 4 kB / 1.27 GB, free: 13.9 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001396/1.382, allocations: 375.6 kB / 1.27 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000799/1.383, allocations: 303 kB / 1.27 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000216/1.383, allocations: 67.95 kB / 1.27 GB, free: 13.16 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00211/1.385, allocations: 2.494 MB / 1.273 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/1.385, allocations: 4.141 kB / 1.273 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008047/1.393, allocations: 4.321 MB / 1.277 GB, free: 6.152 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002872/1.396, allocations: 0.9741 MB / 1.278 GB, free: 5.152 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001099/1.397, allocations: 47.94 kB / 1.278 GB, free: 5.105 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004407/1.402, allocations: 435.2 kB / 1.278 GB, free: 4.68 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003038/1.402, allocations: 145.8 kB / 1.278 GB, free: 4.535 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003283/1.402, allocations: 119.9 kB / 1.279 GB, free: 4.418 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.006411/1.409, allocations: 2.725 MB / 1.281 GB, free: 1.719 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.7e-07/1.409, allocations: 0 / 1.281 GB, free: 1.719 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.4092/1.818, allocations: 3.256 MB / 1.284 GB, free: 365.4 MB / 0.9825 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 (219): * Single equations (assignments): 181 * 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.008581/1.827, allocations: 6.036 MB / 1.29 GB, free: 364.5 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.006156/1.833, allocations: 4.398 MB / 1.295 GB, free: 363.4 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 6.643e-06/1.833, allocations: 7.719 kB / 1.295 GB, free: 363.4 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001737/1.835, allocations: 1.231 MB / 1.296 GB, free: 363 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01277/1.847, allocations: 2.684 MB / 1.298 GB, free: 362.4 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06526/1.913, allocations: 35.7 MB / 1.333 GB, free: 338.8 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002833/1.916, allocations: 2.864 MB / 1.336 GB, free: 337.9 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.005007/1.921, allocations: 1.167 MB / 1.337 GB, free: 337.5 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002587/1.923, allocations: 2.519 MB / 1.34 GB, free: 335.6 MB / 0.9825 GB Notification: Performance of SimCode: time 9.92e-07/1.923, allocations: 0 / 1.34 GB, free: 335.6 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2057/2.129, allocations: 148.2 MB / 1.484 GB, free: 197.8 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002039/2.129, allocations: 251.2 kB / 1.485 GB, free: 197.4 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.066/8.195, allocations: 3.938 kB / 1.485 GB, free: 197.4 MB / 0.9825 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) Environment - environmentSimulation: