Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_Buildings_Fluid_Interfaces_Examples_HeaterCooler_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u,fileNamePrefix="Buildings_9_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.004786/0.004786, allocations: 103.2 kB / 15.73 MB, free: 6.051 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.001161/0.001161, allocations: 191.2 kB / 16.67 MB, free: 5.98 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.281/1.281, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.207/2.207, allocations: 390.2 MB / 0.6648 GB, free: 160 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 64.41 kB / 0.9504 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2451/0.2464, allocations: 140.4 MB / 1.088 GB, free: 1.965 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u): time 0.8596/1.106, allocations: 300.4 MB / 1.381 GB, free: 21.86 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.06339/1.17, allocations: 50.04 MB / 1.43 GB, free: 13.96 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01045/1.18, allocations: 294.8 kB / 1.43 GB, free: 13.86 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.01025/1.19, allocations: 3.416 MB / 1.433 GB, free: 10.92 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.02741/1.218, allocations: 9.045 MB / 1.442 GB, free: 2.621 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.01792/1.236, allocations: 6.641 MB / 1.449 GB, free: 12.01 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.02672/1.262, allocations: 18.48 MB / 1.467 GB, free: 9.477 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01019/1.273, allocations: 5.834 MB / 1.472 GB, free: 3.547 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02141/1.294, allocations: 7.374 MB / 1.48 GB, free: 12.18 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009502/1.304, allocations: 5.083 MB / 1.485 GB, free: 7.07 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.00268/1.306, allocations: 0.5664 MB / 1.485 GB, free: 6.504 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01264/1.319, allocations: 4.383 MB / 1.489 GB, free: 2.113 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.003849/1.323, allocations: 1.506 MB / 1.491 GB, free: 0.6016 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.008465/1.331, allocations: 3.736 MB / 1.494 GB, free: 12.85 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0208/1.352, allocations: 10.43 MB / 1.505 GB, free: 2.383 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/1.352, allocations: 4 kB / 1.505 GB, free: 2.379 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.713e-06/1.352, allocations: 0 / 1.505 GB, free: 2.379 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0003543/1.353, allocations: 0 / 1.505 GB, free: 2.379 MB / 1.107 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.01719/1.37, allocations: 7.478 MB / 1.512 GB, free: 10.76 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/1.37, allocations: 8.031 kB / 1.512 GB, free: 10.75 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001352/1.371, allocations: 0.5357 MB / 1.513 GB, free: 10.21 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003111/1.374, allocations: 0.7842 MB / 1.513 GB, free: 9.418 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01177/1.386, allocations: 5.368 MB / 1.519 GB, free: 3.973 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003011/1.387, allocations: 324.1 kB / 1.519 GB, free: 3.652 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009234/1.388, allocations: 431.8 kB / 1.519 GB, free: 3.23 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008454/1.396, allocations: 4.385 MB / 1.524 GB, free: 14.56 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.493e-05/1.396, allocations: 15.94 kB / 1.524 GB, free: 14.55 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003845/1.397, allocations: 180 kB / 1.524 GB, free: 14.37 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001155/1.397, allocations: 119.9 kB / 1.524 GB, free: 14.25 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005785/1.402, allocations: 2.961 MB / 1.527 GB, free: 11.29 MB / 1.139 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.03117/1.434, allocations: 25.11 MB / 1.551 GB, free: 136 kB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003577/1.437, allocations: 2.768 MB / 1.554 GB, free: 13.14 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001545/1.439, allocations: 0.9993 MB / 1.555 GB, free: 12.14 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003416/1.442, allocations: 3.908 MB / 1.559 GB, free: 7.371 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.926e-05/1.442, allocations: 60.56 kB / 1.559 GB, free: 7.301 MB / 1.17 GB Notification: Performance of pre-optimization done (n=217): time 4.518e-06/1.442, allocations: 0 / 1.559 GB, free: 7.301 MB / 1.17 GB Notification: Performance of matching and sorting (n=217): time 0.01101/1.453, allocations: 4.072 MB / 1.563 GB, free: 3.133 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001038/1.453, allocations: 81.41 kB / 1.563 GB, free: 3.043 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007372/1.461, allocations: 4.291 MB / 1.567 GB, free: 14.77 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0003789/1.461, allocations: 85.69 kB / 1.567 GB, free: 14.68 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.002173/1.463, allocations: 2.779 MB / 1.57 GB, free: 11.88 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008416/1.464, allocations: 0.7586 MB / 1.571 GB, free: 11.11 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007768/1.465, allocations: 0.5724 MB / 1.571 GB, free: 10.54 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.000141/1.465, allocations: 305.1 kB / 1.571 GB, free: 10.23 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001436/1.467, allocations: 0.8231 MB / 1.572 GB, free: 9.406 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002314/1.469, allocations: 1.822 MB / 1.574 GB, free: 7.145 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003751/1.473, allocations: 2.509 MB / 1.576 GB, free: 4.309 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-05/1.473, allocations: 8 kB / 1.576 GB, free: 4.301 MB / 1.186 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.008166/1.481, allocations: 3.566 MB / 1.58 GB, free: 0.668 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.944e-05/1.481, allocations: 12 kB / 1.58 GB, free: 0.6562 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.804e-05/1.481, allocations: 24 kB / 1.58 GB, free: 0.6328 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002699/1.484, allocations: 0.5894 MB / 1.581 GB, free: 32 kB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001878/1.486, allocations: 0.5499 MB / 1.581 GB, free: 15.48 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002277/1.488, allocations: 2.685 MB / 1.584 GB, free: 12.69 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003699/1.492, allocations: 317.5 kB / 1.584 GB, free: 12.38 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002735/1.492, allocations: 136 kB / 1.584 GB, free: 12.25 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003015/1.495, allocations: 1.568 MB / 1.586 GB, free: 10.67 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002168/1.497, allocations: 1.798 MB / 1.587 GB, free: 8.438 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003491/1.501, allocations: 2.456 MB / 1.59 GB, free: 5.652 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.154e-05/1.501, allocations: 11.94 kB / 1.59 GB, free: 5.641 MB / 1.201 GB Notification: Performance of matching and sorting (n=365) (initialization_lambda0): time 0.006659/1.507, allocations: 3.313 MB / 1.593 GB, free: 2.262 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/1.507, allocations: 16.22 kB / 1.593 GB, free: 2.246 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.506e-05/1.507, allocations: 27.98 kB / 1.593 GB, free: 2.219 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009932/1.508, allocations: 375.5 kB / 1.593 GB, free: 1.84 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001774/1.51, allocations: 0.5499 MB / 1.594 GB, free: 1.289 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008033/1.518, allocations: 8.444 MB / 1.602 GB, free: 8.242 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003948/1.522, allocations: 295 kB / 1.603 GB, free: 7.953 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003417/1.523, allocations: 128 kB / 1.603 GB, free: 7.828 MB / 1.217 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.0006927/1.523, allocations: 375.8 kB / 1.603 GB, free: 7.453 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001667/1.525, allocations: 0.5094 MB / 1.604 GB, free: 6.938 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006894/1.532, allocations: 3.561 MB / 1.607 GB, free: 3.309 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.741e-05/1.532, allocations: 35.97 kB / 1.607 GB, free: 3.273 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/1.532, allocations: 4 kB / 1.607 GB, free: 3.27 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003906/1.536, allocations: 2.439 MB / 1.609 GB, free: 0.7773 MB / 1.217 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.01435/1.55, allocations: 8.197 MB / 1.617 GB, free: 8.297 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.909e-06/1.55, allocations: 0 / 1.617 GB, free: 8.297 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001359/1.552, allocations: 371.6 kB / 1.618 GB, free: 7.934 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007601/1.552, allocations: 307 kB / 1.618 GB, free: 7.621 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001367/1.553, allocations: 63.97 kB / 1.618 GB, free: 7.559 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001797/1.554, allocations: 2.498 MB / 1.621 GB, free: 4.957 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/1.554, allocations: 0 / 1.621 GB, free: 4.957 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007598/1.562, allocations: 4.34 MB / 1.625 GB, free: 0.5312 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002092/1.564, allocations: 0.8883 MB / 1.626 GB, free: 15.62 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006255/1.565, allocations: 43.98 kB / 1.626 GB, free: 15.57 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00239/1.567, allocations: 123.8 kB / 1.626 GB, free: 15.45 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002523/1.567, allocations: 145.8 kB / 1.626 GB, free: 15.31 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002158/1.568, allocations: 111.9 kB / 1.626 GB, free: 15.2 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.004412/1.572, allocations: 2.848 MB / 1.629 GB, free: 12.38 MB / 1.248 GB Notification: Performance of sort global known variables: time 4.21e-07/1.572, allocations: 0 / 1.629 GB, free: 12.38 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.00789/1.58, allocations: 3.234 MB / 1.632 GB, free: 9.137 MB / 1.248 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.009594/1.59, allocations: 6.16 MB / 1.638 GB, free: 2.887 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.007553/1.597, allocations: 4.425 MB / 1.642 GB, free: 14.39 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 9.298e-06/1.597, allocations: 4 kB / 1.642 GB, free: 14.39 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.002113/1.599, allocations: 1.238 MB / 1.644 GB, free: 13.15 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01276/1.612, allocations: 2.63 MB / 1.646 GB, free: 10.58 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05543/1.667, allocations: 31.82 MB / 1.677 GB, free: 9.602 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002422/1.67, allocations: 2.873 MB / 1.68 GB, free: 6.699 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.004223/1.674, allocations: 1.157 MB / 1.681 GB, free: 5.535 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003464/1.678, allocations: 2.53 MB / 1.684 GB, free: 3.004 MB / 1.295 GB Notification: Performance of SimCode: time 9.72e-07/1.678, allocations: 4 kB / 1.684 GB, free: 3 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7352/2.413, allocations: 145.7 MB / 1.826 GB, free: 0.5145 GB / 1.404 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.59/27, allocations: 2.125 kB / 1.826 GB, free: 0.5145 GB / 1.404 GB (rm -f Buildings_9_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; mkfifo Buildings_9_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe >> ../files/Buildings_9_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Interfaces_Examples_HeaterCooler_u_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Interfaces_Examples_HeaterCooler_u.fmu > Buildings_9_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe 2>&1)