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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001548/0.001548, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001975/0.001975, allocations: 195.7 kB / 16.53 MB, free: 6.664 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.332/1.332, allocations: 222.9 MB / 240.2 MB, free: 4.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.697/2.697, allocations: 461.9 MB / 0.7346 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001389/0.00139, allocations: 66.95 kB / 0.8992 GB, free: 37.1 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2957/0.2972, allocations: 157.4 MB / 1.053 GB, free: 8.316 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u): time 0.8449/1.142, allocations: 300.4 MB / 1.346 GB, free: 51.4 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.06097/1.203, allocations: 50.03 MB / 1.395 GB, free: 19.05 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01251/1.216, allocations: 301.6 kB / 1.395 GB, free: 18.94 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.01075/1.226, allocations: 3.415 MB / 1.399 GB, free: 16 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.02674/1.253, allocations: 9.046 MB / 1.408 GB, free: 8.629 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01612/1.269, allocations: 6.592 MB / 1.414 GB, free: 3.5 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.02577/1.295, allocations: 18.45 MB / 1.432 GB, free: 4.074 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01276/1.308, allocations: 5.841 MB / 1.438 GB, free: 14.14 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01817/1.326, allocations: 7.344 MB / 1.445 GB, free: 6.793 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00909/1.335, allocations: 5.071 MB / 1.45 GB, free: 1.699 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.002557/1.338, allocations: 0.5664 MB / 1.45 GB, free: 1.133 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01242/1.35, allocations: 4.379 MB / 1.455 GB, free: 12.74 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.002822/1.353, allocations: 1.498 MB / 1.456 GB, free: 11.24 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.008882/1.362, allocations: 3.744 MB / 1.46 GB, free: 7.477 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.02055/1.383, allocations: 10.31 MB / 1.47 GB, free: 13.14 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/1.383, allocations: 0 / 1.47 GB, free: 13.14 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.693e-06/1.383, allocations: 0 / 1.47 GB, free: 13.14 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.0003422/1.383, allocations: 3.938 kB / 1.47 GB, free: 13.14 MB / 1.061 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.0165/1.4, allocations: 7.479 MB / 1.477 GB, free: 5.52 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/1.4, allocations: 20.55 kB / 1.477 GB, free: 5.5 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001348/1.401, allocations: 0.5396 MB / 1.478 GB, free: 4.953 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003139/1.404, allocations: 0.7803 MB / 1.478 GB, free: 4.164 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01006/1.414, allocations: 5.041 MB / 1.483 GB, free: 15.05 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002769/1.415, allocations: 324.1 kB / 1.484 GB, free: 14.73 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001082/1.416, allocations: 431.9 kB / 1.484 GB, free: 14.3 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009649/1.425, allocations: 4.385 MB / 1.488 GB, free: 9.637 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000135/1.425, allocations: 7.938 kB / 1.488 GB, free: 9.629 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006116/1.426, allocations: 176 kB / 1.489 GB, free: 9.457 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001312/1.426, allocations: 123.9 kB / 1.489 GB, free: 9.336 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006096/1.432, allocations: 2.957 MB / 1.492 GB, free: 6.375 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.03255/1.465, allocations: 25.29 MB / 1.516 GB, free: 11.04 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003476/1.468, allocations: 2.768 MB / 1.519 GB, free: 8.07 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001566/1.47, allocations: 0.9915 MB / 1.52 GB, free: 7.082 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002856/1.473, allocations: 3.908 MB / 1.524 GB, free: 2.309 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.653e-05/1.473, allocations: 64.56 kB / 1.524 GB, free: 2.234 MB / 1.107 GB Notification: Performance of pre-optimization done (n=217): time 4.478e-06/1.473, allocations: 0 / 1.524 GB, free: 2.234 MB / 1.107 GB Notification: Performance of matching and sorting (n=217): time 0.01118/1.484, allocations: 4.076 MB / 1.528 GB, free: 14.06 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.266e-05/1.484, allocations: 77.41 kB / 1.528 GB, free: 13.98 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007615/1.492, allocations: 4.299 MB / 1.532 GB, free: 9.699 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0004206/1.492, allocations: 77.7 kB / 1.532 GB, free: 9.617 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.002278/1.495, allocations: 2.788 MB / 1.535 GB, free: 6.801 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009126/1.496, allocations: 0.7625 MB / 1.536 GB, free: 6.027 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001019/1.497, allocations: 0.5685 MB / 1.536 GB, free: 5.453 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 8.906e-05/1.497, allocations: 309.1 kB / 1.536 GB, free: 5.148 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001437/1.498, allocations: 0.8192 MB / 1.537 GB, free: 4.324 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002327/1.5, allocations: 1.83 MB / 1.539 GB, free: 2.059 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003865/1.504, allocations: 2.505 MB / 1.542 GB, free: 15.23 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.989e-05/1.504, allocations: 8 kB / 1.542 GB, free: 15.22 MB / 1.139 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.008968/1.513, allocations: 3.559 MB / 1.545 GB, free: 11.59 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 4.116e-05/1.513, allocations: 18.03 kB / 1.545 GB, free: 11.58 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.709e-05/1.513, allocations: 20 kB / 1.545 GB, free: 11.56 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00259/1.516, allocations: 0.593 MB / 1.546 GB, free: 10.96 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002007/1.518, allocations: 0.5538 MB / 1.546 GB, free: 10.4 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002785/1.521, allocations: 2.686 MB / 1.549 GB, free: 7.613 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005296/1.526, allocations: 335.2 kB / 1.549 GB, free: 7.285 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005855/1.527, allocations: 139.9 kB / 1.549 GB, free: 7.148 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00391/1.531, allocations: 1.568 MB / 1.551 GB, free: 5.574 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002397/1.533, allocations: 1.794 MB / 1.552 GB, free: 3.34 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003725/1.537, allocations: 2.463 MB / 1.555 GB, free: 0.5469 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.602e-05/1.537, allocations: 11.94 kB / 1.555 GB, free: 0.5352 MB / 1.139 GB Notification: Performance of matching and sorting (n=365) (initialization_lambda0): time 0.006938/1.544, allocations: 3.309 MB / 1.558 GB, free: 13.16 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.622e-05/1.544, allocations: 16 kB / 1.558 GB, free: 13.14 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.091e-05/1.544, allocations: 20 kB / 1.558 GB, free: 13.12 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009686/1.545, allocations: 371.8 kB / 1.559 GB, free: 12.75 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001642/1.547, allocations: 0.5538 MB / 1.559 GB, free: 12.19 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007881/1.555, allocations: 8.464 MB / 1.567 GB, free: 3.125 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003837/1.558, allocations: 321 kB / 1.568 GB, free: 2.812 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004278/1.559, allocations: 132 kB / 1.568 GB, free: 2.684 MB / 1.154 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.0007872/1.56, allocations: 363.8 kB / 1.568 GB, free: 2.32 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001736/1.561, allocations: 0.5055 MB / 1.569 GB, free: 1.809 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007095/1.568, allocations: 3.577 MB / 1.572 GB, free: 14.16 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-05/1.569, allocations: 35.97 kB / 1.572 GB, free: 14.13 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.238e-06/1.569, allocations: 0 / 1.572 GB, free: 14.13 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004289/1.573, allocations: 2.439 MB / 1.575 GB, free: 11.64 MB / 1.17 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.01595/1.589, allocations: 8.256 MB / 1.583 GB, free: 3.098 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.188e-05/1.589, allocations: 0 / 1.583 GB, free: 3.098 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001409/1.59, allocations: 371.6 kB / 1.583 GB, free: 2.734 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007286/1.591, allocations: 299 kB / 1.583 GB, free: 2.43 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001976/1.591, allocations: 59.97 kB / 1.583 GB, free: 2.371 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001781/1.593, allocations: 2.51 MB / 1.586 GB, free: 15.76 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/1.593, allocations: 0 / 1.586 GB, free: 15.76 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007952/1.601, allocations: 4.333 MB / 1.59 GB, free: 11.34 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002388/1.603, allocations: 0.8767 MB / 1.591 GB, free: 10.44 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00115/1.605, allocations: 48 kB / 1.591 GB, free: 10.39 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002911/1.608, allocations: 131.7 kB / 1.591 GB, free: 10.26 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002446/1.608, allocations: 145.8 kB / 1.591 GB, free: 10.12 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002985/1.608, allocations: 115.9 kB / 1.591 GB, free: 10 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.005642/1.614, allocations: 2.852 MB / 1.594 GB, free: 7.18 MB / 1.186 GB Notification: Performance of sort global known variables: time 4.61e-07/1.614, allocations: 3.938 kB / 1.594 GB, free: 7.176 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.01128/1.625, allocations: 3.23 MB / 1.597 GB, free: 3.938 MB / 1.186 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.01166/1.637, allocations: 6.157 MB / 1.603 GB, free: 13.7 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.01213/1.649, allocations: 4.87 MB / 1.608 GB, free: 8.77 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 9.257e-06/1.649, allocations: 4 kB / 1.608 GB, free: 8.766 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.00224/1.651, allocations: 1.23 MB / 1.609 GB, free: 7.531 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01299/1.664, allocations: 2.639 MB / 1.612 GB, free: 4.965 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06658/1.731, allocations: 42.73 MB / 1.653 GB, free: 6.238 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003002/1.734, allocations: 2.877 MB / 1.656 GB, free: 3.332 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.004751/1.739, allocations: 1.145 MB / 1.657 GB, free: 2.18 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003155/1.742, allocations: 2.526 MB / 1.66 GB, free: 15.65 MB / 1.264 GB Notification: Performance of SimCode: time 1.092e-06/1.742, allocations: 3.938 kB / 1.66 GB, free: 15.65 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7702/2.512, allocations: 148.4 MB / 1.805 GB, free: 492.5 MB / 1.342 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.9/18.41, allocations: 14.92 kB / 1.805 GB, free: 492.5 MB / 1.342 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)