Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_Buildings_Fluid_Interfaces_Examples_HeaterCooler_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u,fileNamePrefix="Buildings_10_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.0008226/0.0008226, allocations: 91.77 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.005416/0.005416, allocations: 172.7 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.434/1.434, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.754/2.754, allocations: 437.8 MB / 0.7121 GB, free: 7.02 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000365/0.0003651, allocations: 11.98 kB / 0.8729 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7479/0.7483, allocations: 153.8 MB / 1.023 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u): time 0.9831/1.731, allocations: 294.1 MB / 1.31 GB, free: 36.27 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.06015/1.792, allocations: 49.7 MB / 1.359 GB, free: 31.67 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01348/1.805, allocations: 260.8 kB / 1.359 GB, free: 31.67 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.01126/1.816, allocations: 2.788 MB / 1.362 GB, free: 30.36 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.02875/1.845, allocations: 8.415 MB / 1.37 GB, free: 25.89 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0176/1.863, allocations: 6.02 MB / 1.376 GB, free: 22.04 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.02991/1.893, allocations: 24.56 MB / 1.4 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008678/1.902, allocations: 4.719 MB / 1.405 GB, free: 3.453 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01574/1.917, allocations: 6.185 MB / 1.411 GB, free: 13.58 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01109/1.928, allocations: 4.901 MB / 1.415 GB, free: 9.062 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.002303/1.931, allocations: 232 kB / 1.416 GB, free: 8.836 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01387/1.945, allocations: 3.897 MB / 1.419 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.002908/1.948, allocations: 1.129 MB / 1.42 GB, free: 4.125 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.007655/1.955, allocations: 3.332 MB / 1.424 GB, free: 0.8086 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.02218/1.977, allocations: 9.913 MB / 1.433 GB, free: 7.336 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/1.978, allocations: 0 / 1.433 GB, free: 7.336 MB / 1.014 GB Notification: Performance of FrontEnd: time 6.191e-06/1.978, allocations: 3.984 kB / 1.433 GB, free: 7.332 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0004128/1.978, allocations: 3.938 kB / 1.433 GB, free: 7.328 MB / 1.014 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.01725/1.995, allocations: 6.195 MB / 1.439 GB, free: 1.082 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.858e-05/1.995, allocations: 8.031 kB / 1.439 GB, free: 1.074 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00151/1.997, allocations: 0.5434 MB / 1.44 GB, free: 0.5273 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003052/2, allocations: 0.7812 MB / 1.441 GB, free: 15.74 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01257/2.012, allocations: 5.212 MB / 1.446 GB, free: 10.62 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003862/2.013, allocations: 320.1 kB / 1.446 GB, free: 10.3 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001123/2.014, allocations: 435.7 kB / 1.447 GB, free: 9.879 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01/2.024, allocations: 4.393 MB / 1.451 GB, free: 5.211 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001533/2.024, allocations: 11.94 kB / 1.451 GB, free: 5.199 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006366/2.025, allocations: 179.9 kB / 1.451 GB, free: 5.027 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001352/2.025, allocations: 119.9 kB / 1.451 GB, free: 4.91 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006806/2.032, allocations: 2.972 MB / 1.454 GB, free: 1.934 MB / 1.029 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.03226/2.064, allocations: 25.04 MB / 1.479 GB, free: 7.043 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003482/2.068, allocations: 2.773 MB / 1.481 GB, free: 4.07 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001668/2.069, allocations: 1.003 MB / 1.482 GB, free: 3.07 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003165/2.073, allocations: 3.918 MB / 1.486 GB, free: 14.3 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.599e-05/2.073, allocations: 64.56 kB / 1.486 GB, free: 14.23 MB / 1.076 GB Notification: Performance of pre-optimization done (n=217): time 4.208e-06/2.073, allocations: 0 / 1.486 GB, free: 14.23 MB / 1.076 GB Notification: Performance of matching and sorting (n=217): time 0.01152/2.084, allocations: 4.115 MB / 1.49 GB, free: 10.03 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.254e-05/2.084, allocations: 81.41 kB / 1.49 GB, free: 9.934 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00765/2.092, allocations: 4.228 MB / 1.494 GB, free: 5.727 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0004344/2.092, allocations: 81.7 kB / 1.494 GB, free: 5.641 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.002524/2.095, allocations: 2.793 MB / 1.497 GB, free: 2.84 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.001058/2.096, allocations: 0.7597 MB / 1.498 GB, free: 2.086 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000443/2.096, allocations: 231.5 kB / 1.498 GB, free: 1.855 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 9.494e-05/2.097, allocations: 313.1 kB / 1.498 GB, free: 1.547 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001652/2.098, allocations: 0.8099 MB / 1.499 GB, free: 0.7344 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002519/2.101, allocations: 1.826 MB / 1.501 GB, free: 14.47 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004041/2.105, allocations: 2.513 MB / 1.503 GB, free: 11.63 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.611e-05/2.105, allocations: 12 kB / 1.503 GB, free: 11.62 MB / 1.092 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.008941/2.114, allocations: 3.582 MB / 1.507 GB, free: 7.98 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005575/2.114, allocations: 0.7296 MB / 1.508 GB, free: 6.941 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-05/2.114, allocations: 24 kB / 1.508 GB, free: 6.918 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002719/2.117, allocations: 0.5963 MB / 1.508 GB, free: 6.312 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001895/2.119, allocations: 0.5538 MB / 1.509 GB, free: 5.758 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002269/2.121, allocations: 2.689 MB / 1.511 GB, free: 2.969 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004986/2.126, allocations: 0.6008 MB / 1.512 GB, free: 2.367 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003564/2.127, allocations: 135.9 kB / 1.512 GB, free: 2.234 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.073e-05/2.127, allocations: 4 kB / 1.512 GB, free: 2.23 MB / 1.092 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005536/2.132, allocations: 2.838 MB / 1.515 GB, free: 15.34 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.6e-05/2.132, allocations: 20 kB / 1.515 GB, free: 15.32 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009985/2.133, allocations: 363.2 kB / 1.515 GB, free: 14.95 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0018/2.135, allocations: 0.5577 MB / 1.516 GB, free: 14.39 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008917/2.144, allocations: 7.721 MB / 1.523 GB, free: 6.105 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005127/2.149, allocations: 0.5483 MB / 1.524 GB, free: 5.555 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004754/2.15, allocations: 136 kB / 1.524 GB, free: 5.422 MB / 1.107 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.002657/2.152, allocations: 1.012 MB / 1.525 GB, free: 4.398 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001519/2.154, allocations: 0.5017 MB / 1.525 GB, free: 3.891 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006825/2.161, allocations: 3.583 MB / 1.529 GB, free: 260 kB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.944e-05/2.161, allocations: 39.97 kB / 1.529 GB, free: 220 kB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.064e-06/2.161, allocations: 0 / 1.529 GB, free: 220 kB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003965/2.165, allocations: 2.454 MB / 1.531 GB, free: 13.71 MB / 1.123 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.01499/2.18, allocations: 8.225 MB / 1.539 GB, free: 5.277 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.01e-05/2.18, allocations: 0 / 1.539 GB, free: 5.277 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00139/2.181, allocations: 363.5 kB / 1.54 GB, free: 4.922 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000777/2.182, allocations: 314.4 kB / 1.54 GB, free: 4.609 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001867/2.182, allocations: 59.97 kB / 1.54 GB, free: 4.551 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001742/2.184, allocations: 2.502 MB / 1.543 GB, free: 1.949 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.532e-06/2.184, allocations: 7.984 kB / 1.543 GB, free: 1.941 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00766/2.192, allocations: 4.352 MB / 1.547 GB, free: 13.51 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002615/2.194, allocations: 0.9778 MB / 1.548 GB, free: 12.5 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001019/2.195, allocations: 51.92 kB / 1.548 GB, free: 12.45 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003995/2.199, allocations: 419 kB / 1.548 GB, free: 12.04 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002722/2.2, allocations: 157.8 kB / 1.548 GB, free: 11.89 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002679/2.2, allocations: 107.9 kB / 1.549 GB, free: 11.79 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.005163/2.205, allocations: 2.793 MB / 1.551 GB, free: 9.02 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.81e-07/2.205, allocations: 0 / 1.551 GB, free: 9.02 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.01094/2.216, allocations: 3.261 MB / 1.554 GB, free: 5.75 MB / 1.139 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/2.227, allocations: 6.165 MB / 1.56 GB, free: 15.6 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.007916/2.235, allocations: 4.447 MB / 1.565 GB, free: 11.1 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 8.566e-06/2.235, allocations: 4 kB / 1.565 GB, free: 11.1 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.002142/2.237, allocations: 1.242 MB / 1.566 GB, free: 9.852 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01577/2.253, allocations: 2.636 MB / 1.569 GB, free: 7.242 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09038/2.344, allocations: 44.89 MB / 1.612 GB, free: 6.457 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003497/2.347, allocations: 2.873 MB / 1.615 GB, free: 3.559 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.005877/2.353, allocations: 1.157 MB / 1.616 GB, free: 2.395 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004068/2.357, allocations: 2.534 MB / 1.619 GB, free: 15.86 MB / 1.217 GB Notification: Performance of SimCode: time 7.92e-07/2.357, allocations: 0 / 1.619 GB, free: 15.86 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8746/3.232, allocations: 142.5 MB / 1.758 GB, free: 0.4905 GB / 1.311 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000177/3.232, allocations: 273.9 kB / 1.758 GB, free: 0.4902 GB / 1.311 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.312/9.545, allocations: 4 kB / 1.758 GB, free: 0.4902 GB / 1.311 GB (rm -f Buildings_10_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; mkfifo Buildings_10_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe >> ../files/Buildings_10_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Interfaces_Examples_HeaterCooler_u_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Interfaces_Examples_HeaterCooler_u.fmu > Buildings_10_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe 2>&1)