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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001133/0.001133, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.006902/0.006902, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.348/1.348, allocations: 223.3 MB / 240.3 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.275/2.275, allocations: 390.9 MB / 0.6664 GB, free: 2.434 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002874/0.0002874, allocations: 12 kB / 0.8161 GB, free: 13.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5273/0.5276, allocations: 142.4 MB / 0.9552 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u): time 0.2495/0.7771, allocations: 294.1 MB / 1.242 GB, free: 8.398 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.5099/1.287, allocations: 49.68 MB / 1.291 GB, free: 70.03 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009926/1.297, allocations: 260.8 kB / 1.291 GB, free: 70.03 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.007959/1.305, allocations: 2.78 MB / 1.294 GB, free: 69.97 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.02209/1.327, allocations: 8.41 MB / 1.302 GB, free: 69.62 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01385/1.341, allocations: 6.029 MB / 1.308 GB, free: 69.44 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.02612/1.367, allocations: 24.56 MB / 1.332 GB, free: 68.3 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006817/1.374, allocations: 4.717 MB / 1.337 GB, free: 66.6 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01279/1.387, allocations: 6.182 MB / 1.343 GB, free: 64.98 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008576/1.395, allocations: 4.901 MB / 1.347 GB, free: 63.31 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001267/1.397, allocations: 229.6 kB / 1.348 GB, free: 63.31 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01084/1.407, allocations: 3.904 MB / 1.351 GB, free: 62.25 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.002136/1.41, allocations: 1.123 MB / 1.352 GB, free: 61.73 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.006854/1.416, allocations: 3.332 MB / 1.356 GB, free: 60.44 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01385/1.43, allocations: 9.912 MB / 1.365 GB, free: 55.31 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.431e-06/1.43, allocations: 0 / 1.365 GB, free: 55.31 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.324e-06/1.43, allocations: 0 / 1.365 GB, free: 55.31 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001406/1.431, allocations: 0 / 1.365 GB, free: 55.31 MB / 0.9981 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.007756/1.438, allocations: 6.196 MB / 1.371 GB, free: 50.2 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/1.438, allocations: 12.03 kB / 1.371 GB, free: 50.18 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005035/1.439, allocations: 0.5396 MB / 1.372 GB, free: 49.64 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001305/1.44, allocations: 0.788 MB / 1.373 GB, free: 48.84 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006126/1.446, allocations: 5.209 MB / 1.378 GB, free: 43.72 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001297/1.446, allocations: 324 kB / 1.378 GB, free: 43.4 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004144/1.447, allocations: 428 kB / 1.379 GB, free: 42.98 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005227/1.452, allocations: 4.388 MB / 1.383 GB, free: 38.32 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.738e-05/1.452, allocations: 23.78 kB / 1.383 GB, free: 38.3 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002907/1.452, allocations: 172 kB / 1.383 GB, free: 38.13 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.608e-05/1.453, allocations: 123.9 kB / 1.383 GB, free: 38.01 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003881/1.456, allocations: 2.965 MB / 1.386 GB, free: 35.04 MB / 0.9981 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.01796/1.474, allocations: 25.05 MB / 1.41 GB, free: 8.148 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00212/1.477, allocations: 2.769 MB / 1.413 GB, free: 5.18 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0011/1.478, allocations: 0.9974 MB / 1.414 GB, free: 4.195 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001975/1.48, allocations: 3.917 MB / 1.418 GB, free: 15.42 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.185e-05/1.48, allocations: 65.56 kB / 1.418 GB, free: 15.35 MB / 1.014 GB Notification: Performance of pre-optimization done (n=217): time 3.557e-06/1.48, allocations: 4 kB / 1.418 GB, free: 15.35 MB / 1.014 GB Notification: Performance of matching and sorting (n=217): time 0.00958/1.489, allocations: 4.12 MB / 1.422 GB, free: 11.15 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.794e-05/1.489, allocations: 77.41 kB / 1.422 GB, free: 11.06 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005438/1.495, allocations: 4.225 MB / 1.426 GB, free: 6.859 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0002422/1.495, allocations: 81.7 kB / 1.426 GB, free: 6.773 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.002002/1.497, allocations: 2.795 MB / 1.429 GB, free: 3.965 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006918/1.498, allocations: 0.7637 MB / 1.43 GB, free: 3.207 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002618/1.498, allocations: 231.6 kB / 1.43 GB, free: 2.977 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 9.695e-05/1.498, allocations: 305.1 kB / 1.43 GB, free: 2.676 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001278/1.499, allocations: 0.8099 MB / 1.431 GB, free: 1.863 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001968/1.501, allocations: 1.826 MB / 1.433 GB, free: 15.6 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00321/1.505, allocations: 2.521 MB / 1.435 GB, free: 12.76 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.03e-05/1.505, allocations: 4 kB / 1.435 GB, free: 12.76 MB / 1.029 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.006838/1.512, allocations: 3.579 MB / 1.439 GB, free: 9.125 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004965/1.512, allocations: 0.7518 MB / 1.44 GB, free: 8.07 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.56e-05/1.512, allocations: 20 kB / 1.44 GB, free: 8.051 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002529/1.515, allocations: 0.5855 MB / 1.44 GB, free: 7.461 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001775/1.516, allocations: 0.5577 MB / 1.441 GB, free: 6.902 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002028/1.518, allocations: 2.685 MB / 1.443 GB, free: 4.113 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004386/1.523, allocations: 0.5989 MB / 1.444 GB, free: 3.512 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002331/1.523, allocations: 140 kB / 1.444 GB, free: 3.375 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 8.556e-06/1.523, allocations: 4 kB / 1.444 GB, free: 3.371 MB / 1.029 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004672/1.528, allocations: 2.825 MB / 1.447 GB, free: 500 kB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.274e-05/1.528, allocations: 20 kB / 1.447 GB, free: 480 kB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008995/1.529, allocations: 369.8 kB / 1.447 GB, free: 100 kB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001618/1.53, allocations: 0.5618 MB / 1.448 GB, free: 15.54 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007694/1.538, allocations: 7.712 MB / 1.455 GB, free: 7.266 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004069/1.542, allocations: 0.5544 MB / 1.456 GB, free: 6.711 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002047/1.542, allocations: 128 kB / 1.456 GB, free: 6.586 MB / 1.045 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.001942/1.544, allocations: 1.005 MB / 1.457 GB, free: 5.57 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006943/1.545, allocations: 0.5055 MB / 1.457 GB, free: 5.059 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00564/1.551, allocations: 3.608 MB / 1.461 GB, free: 1.398 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.789e-05/1.551, allocations: 35.97 kB / 1.461 GB, free: 1.363 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/1.551, allocations: 3.938 kB / 1.461 GB, free: 1.359 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003584/1.554, allocations: 2.445 MB / 1.463 GB, free: 14.87 MB / 1.061 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.01134/1.566, allocations: 8.221 MB / 1.471 GB, free: 6.438 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.103e-05/1.566, allocations: 4 kB / 1.471 GB, free: 6.434 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001244/1.567, allocations: 363.7 kB / 1.472 GB, free: 6.078 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000687/1.568, allocations: 313.5 kB / 1.472 GB, free: 5.766 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001146/1.568, allocations: 63.91 kB / 1.472 GB, free: 5.703 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001603/1.569, allocations: 2.502 MB / 1.475 GB, free: 3.102 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/1.569, allocations: 0 / 1.475 GB, free: 3.102 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006444/1.576, allocations: 4.358 MB / 1.479 GB, free: 14.66 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002008/1.578, allocations: 0.974 MB / 1.48 GB, free: 13.66 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005016/1.578, allocations: 44 kB / 1.48 GB, free: 13.62 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002936/1.581, allocations: 427.2 kB / 1.48 GB, free: 13.2 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002217/1.581, allocations: 149.7 kB / 1.48 GB, free: 13.06 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000186/1.582, allocations: 111.9 kB / 1.48 GB, free: 12.95 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.003931/1.586, allocations: 2.793 MB / 1.483 GB, free: 10.18 MB / 1.076 GB Notification: Performance of sort global known variables: time 2.01e-07/1.586, allocations: 4.188 kB / 1.483 GB, free: 10.18 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.008492/1.594, allocations: 3.265 MB / 1.486 GB, free: 6.906 MB / 1.076 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.008798/1.603, allocations: 6.159 MB / 1.492 GB, free: 0.7812 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.007139/1.61, allocations: 4.434 MB / 1.497 GB, free: 12.29 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 7.845e-06/1.61, allocations: 4 kB / 1.497 GB, free: 12.28 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.001969/1.612, allocations: 1.24 MB / 1.498 GB, free: 11.04 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01439/1.627, allocations: 2.644 MB / 1.501 GB, free: 8.426 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07695/1.703, allocations: 44.88 MB / 1.544 GB, free: 7.668 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002946/1.706, allocations: 2.873 MB / 1.547 GB, free: 4.77 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.004983/1.711, allocations: 1.157 MB / 1.548 GB, free: 3.605 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003634/1.715, allocations: 2.534 MB / 1.551 GB, free: 1.07 MB / 1.139 GB Notification: Performance of SimCode: time 6.61e-07/1.715, allocations: 0 / 1.551 GB, free: 1.07 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.814/4.529, allocations: 142.5 MB / 1.69 GB, free: 4.25 MB / 1.279 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003501/4.529, allocations: 273 kB / 1.69 GB, free: 3.879 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.742/11.27, allocations: 0 / 1.69 GB, free: 3.879 MB / 1.279 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)