Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_latest_Buildings_Fluid_Interfaces_Examples_HeaterCooler_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u,fileNamePrefix="Buildings_latest_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.00109/0.00109, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.007265/0.007265, allocations: 169.9 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.405/1.405, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.716/2.716, allocations: 462.7 MB / 0.7364 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003802/0.0003803, allocations: 12.16 kB / 0.9029 GB, free: 36.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3492/0.3496, allocations: 159.6 MB / 1.059 GB, free: 4.887 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u): time 0.9385/1.288, allocations: 294.1 MB / 1.346 GB, free: 36.12 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.05677/1.345, allocations: 49.7 MB / 1.394 GB, free: 20.31 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01426/1.359, allocations: 263.9 kB / 1.395 GB, free: 20.2 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.009333/1.369, allocations: 2.776 MB / 1.397 GB, free: 17.84 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.02474/1.393, allocations: 8.427 MB / 1.406 GB, free: 11.01 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01678/1.41, allocations: 6.013 MB / 1.412 GB, free: 6.434 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.02552/1.436, allocations: 24.57 MB / 1.436 GB, free: 5.688 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007842/1.444, allocations: 4.709 MB / 1.44 GB, free: 0.8945 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01355/1.457, allocations: 6.186 MB / 1.446 GB, free: 10.68 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009534/1.467, allocations: 4.903 MB / 1.451 GB, free: 5.754 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.002152/1.469, allocations: 228 kB / 1.451 GB, free: 5.531 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0157/1.485, allocations: 3.905 MB / 1.455 GB, free: 1.617 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.003743/1.488, allocations: 1.127 MB / 1.456 GB, free: 496 kB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.008237/1.497, allocations: 3.328 MB / 1.459 GB, free: 13.13 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.02075/1.518, allocations: 9.916 MB / 1.469 GB, free: 3.184 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.682e-06/1.518, allocations: 3.938 kB / 1.469 GB, free: 3.18 MB / 1.045 GB Notification: Performance of FrontEnd: time 3.106e-06/1.518, allocations: 0 / 1.469 GB, free: 3.18 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.0003278/1.518, allocations: 4 kB / 1.469 GB, free: 3.176 MB / 1.045 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.01205/1.53, allocations: 6.199 MB / 1.475 GB, free: 12.84 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.27e-05/1.53, allocations: 15.97 kB / 1.475 GB, free: 12.83 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001211/1.531, allocations: 0.5357 MB / 1.476 GB, free: 12.29 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002545/1.534, allocations: 0.7803 MB / 1.476 GB, free: 11.5 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01107/1.545, allocations: 5.216 MB / 1.481 GB, free: 6.203 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003259/1.545, allocations: 316.1 kB / 1.482 GB, free: 5.891 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001034/1.546, allocations: 431.9 kB / 1.482 GB, free: 5.469 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008543/1.555, allocations: 4.385 MB / 1.486 GB, free: 0.8008 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.939e-05/1.555, allocations: 15.88 kB / 1.487 GB, free: 0.7852 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003639/1.555, allocations: 179.9 kB / 1.487 GB, free: 0.6094 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001209/1.556, allocations: 119.9 kB / 1.487 GB, free: 0.4922 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005358/1.561, allocations: 2.965 MB / 1.49 GB, free: 13.52 MB / 1.076 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.02647/1.587, allocations: 25.06 MB / 1.514 GB, free: 2.422 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003445/1.591, allocations: 2.758 MB / 1.517 GB, free: 15.45 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00158/1.592, allocations: 1.003 MB / 1.518 GB, free: 14.45 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00362/1.596, allocations: 3.927 MB / 1.522 GB, free: 9.652 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.682e-05/1.596, allocations: 64.55 kB / 1.522 GB, free: 9.582 MB / 1.107 GB Notification: Performance of pre-optimization done (n=217): time 4.368e-06/1.596, allocations: 0 / 1.522 GB, free: 9.582 MB / 1.107 GB Notification: Performance of matching and sorting (n=217): time 0.0114/1.608, allocations: 4.119 MB / 1.526 GB, free: 5.367 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.583e-05/1.608, allocations: 73.41 kB / 1.526 GB, free: 5.281 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007182/1.615, allocations: 4.228 MB / 1.53 GB, free: 1.074 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0005152/1.615, allocations: 85.69 kB / 1.53 GB, free: 0.9844 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.002352/1.618, allocations: 2.788 MB / 1.533 GB, free: 14.18 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009471/1.619, allocations: 0.7586 MB / 1.533 GB, free: 13.41 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002799/1.619, allocations: 231.6 kB / 1.534 GB, free: 13.18 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 9.794e-05/1.619, allocations: 301.1 kB / 1.534 GB, free: 12.88 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001403/1.621, allocations: 0.8216 MB / 1.535 GB, free: 12.05 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00206/1.623, allocations: 1.822 MB / 1.537 GB, free: 9.797 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003433/1.626, allocations: 2.525 MB / 1.539 GB, free: 6.945 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.195e-05/1.626, allocations: 4 kB / 1.539 GB, free: 6.941 MB / 1.123 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.008298/1.634, allocations: 3.575 MB / 1.543 GB, free: 3.301 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005028/1.635, allocations: 0.7454 MB / 1.543 GB, free: 2.246 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.676e-05/1.635, allocations: 20 kB / 1.543 GB, free: 2.227 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002553/1.638, allocations: 0.5857 MB / 1.544 GB, free: 1.629 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001795/1.639, allocations: 0.5654 MB / 1.544 GB, free: 1.062 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002126/1.642, allocations: 2.7 MB / 1.547 GB, free: 14.26 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004642/1.646, allocations: 0.5959 MB / 1.548 GB, free: 13.66 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002819/1.646, allocations: 140 kB / 1.548 GB, free: 13.53 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.073e-05/1.646, allocations: 4 kB / 1.548 GB, free: 13.52 MB / 1.139 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004927/1.651, allocations: 2.818 MB / 1.551 GB, free: 10.65 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.596e-05/1.651, allocations: 28.25 kB / 1.551 GB, free: 10.62 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009654/1.652, allocations: 371.1 kB / 1.551 GB, free: 10.25 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001671/1.654, allocations: 0.5499 MB / 1.551 GB, free: 9.699 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008358/1.662, allocations: 7.728 MB / 1.559 GB, free: 1.387 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005159/1.668, allocations: 0.5512 MB / 1.56 GB, free: 0.8359 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004612/1.668, allocations: 128 kB / 1.56 GB, free: 0.7109 MB / 1.139 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,12), (1,9), (1,12), (1,9)} Notification: Performance of prepare postOptimizeDAE: time 0.003058/1.671, allocations: 1.008 MB / 1.561 GB, free: 15.68 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001772/1.673, allocations: 0.5056 MB / 1.561 GB, free: 15.17 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006834/1.68, allocations: 3.585 MB / 1.565 GB, free: 11.53 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.347e-05/1.68, allocations: 35.98 kB / 1.565 GB, free: 11.49 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/1.68, allocations: 0 / 1.565 GB, free: 11.49 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00375/1.684, allocations: 2.46 MB / 1.567 GB, free: 8.977 MB / 1.154 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.01631/1.7, allocations: 8.225 MB / 1.575 GB, free: 484 kB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-05/1.7, allocations: 4 kB / 1.575 GB, free: 480 kB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001362/1.701, allocations: 363.5 kB / 1.575 GB, free: 116 kB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007779/1.702, allocations: 299.1 kB / 1.576 GB, free: 15.81 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001902/1.702, allocations: 67.95 kB / 1.576 GB, free: 15.74 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001943/1.704, allocations: 2.502 MB / 1.578 GB, free: 13.14 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/1.704, allocations: 4.25 kB / 1.578 GB, free: 13.13 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008469/1.713, allocations: 4.352 MB / 1.582 GB, free: 8.691 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003366/1.716, allocations: 0.9856 MB / 1.583 GB, free: 7.672 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00127/1.718, allocations: 43.94 kB / 1.584 GB, free: 7.629 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004242/1.722, allocations: 427 kB / 1.584 GB, free: 7.211 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000336/1.722, allocations: 149.8 kB / 1.584 GB, free: 7.066 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003714/1.723, allocations: 119.9 kB / 1.584 GB, free: 6.949 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.006276/1.729, allocations: 2.789 MB / 1.587 GB, free: 4.188 MB / 1.17 GB Notification: Performance of sort global known variables: time 9.51e-07/1.729, allocations: 0 / 1.587 GB, free: 4.188 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.01236/1.741, allocations: 3.269 MB / 1.59 GB, free: 0.9102 MB / 1.17 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,9), (1,7), (1,9), (1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01121/1.753, allocations: 6.162 MB / 1.596 GB, free: 10.66 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.008545/1.761, allocations: 4.445 MB / 1.6 GB, free: 6.152 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 7.855e-06/1.761, allocations: 0 / 1.6 GB, free: 6.152 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.002196/1.763, allocations: 1.24 MB / 1.602 GB, free: 4.914 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01685/1.78, allocations: 2.635 MB / 1.604 GB, free: 2.309 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08698/1.867, allocations: 44.86 MB / 1.648 GB, free: 1.453 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003329/1.871, allocations: 2.877 MB / 1.651 GB, free: 14.55 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.005371/1.876, allocations: 1.161 MB / 1.652 GB, free: 13.38 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003672/1.88, allocations: 2.534 MB / 1.654 GB, free: 10.85 MB / 1.248 GB Notification: Performance of SimCode: time 1.322e-06/1.88, allocations: 0 / 1.654 GB, free: 10.85 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.84/2.72, allocations: 142.5 MB / 1.794 GB, free: 472.8 MB / 1.326 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001745/2.72, allocations: 286.3 kB / 1.794 GB, free: 472.4 MB / 1.326 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.164/8.884, allocations: 3.938 kB / 1.794 GB, free: 472.4 MB / 1.326 GB (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Interfaces_Examples_HeaterCooler_u_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Interfaces_Examples_HeaterCooler_u.fmu > Buildings_latest_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe 2>&1)