Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.HeatExchangers.Validation.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.HeatExchangers.Validation.HeaterCooler_u,fileNamePrefix="Buildings_10_Buildings_Fluid_HeatExchangers_Validation_HeaterCooler_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u,fileNamePrefix="Buildings_10_Buildings_Fluid_HeatExchangers_Validation_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.0009353/0.0009353, 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.005902/0.005902, 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.34/1.34, 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.518/2.518, allocations: 437.8 MB / 0.7121 GB, free: 7.02 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003128/0.0003129, allocations: 12 kB / 0.8729 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5367/0.5371, allocations: 153.8 MB / 1.023 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u): time 0.7284/1.265, allocations: 250.2 MB / 1.268 GB, free: 17.04 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01254/1.278, allocations: 9.618 MB / 1.277 GB, free: 16.87 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002171/1.28, allocations: 65.81 kB / 1.277 GB, free: 16.87 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001949/1.282, allocations: 0.8186 MB / 1.278 GB, free: 16.84 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.005735/1.288, allocations: 2.485 MB / 1.28 GB, free: 16.72 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.004531/1.292, allocations: 1.923 MB / 1.282 GB, free: 16.65 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.005588/1.298, allocations: 5.444 MB / 1.287 GB, free: 16.64 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001668/1.3, allocations: 1.273 MB / 1.289 GB, free: 16.45 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003097/1.303, allocations: 1.667 MB / 1.29 GB, free: 16.43 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001958/1.305, allocations: 1.242 MB / 1.291 GB, free: 16.41 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.000161/1.305, allocations: 62.97 kB / 1.292 GB, free: 16.41 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005215/1.31, allocations: 3.486 MB / 1.295 GB, free: 16.38 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0004951/1.311, allocations: 486.6 kB / 1.295 GB, free: 16.38 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001034/1.312, allocations: 0.9145 MB / 1.296 GB, free: 16.34 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.004726/1.317, allocations: 3.671 MB / 1.3 GB, free: 16.13 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/1.317, allocations: 0 / 1.3 GB, free: 16.13 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.583e-06/1.317, allocations: 0 / 1.3 GB, free: 16.13 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.39e-05/1.317, allocations: 0 / 1.3 GB, free: 16.13 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 294 * Number of variables: 294 Notification: Performance of Generate backend data structure: time 0.003067/1.32, allocations: 2.124 MB / 1.302 GB, free: 14.9 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/1.32, allocations: 12.12 kB / 1.302 GB, free: 14.9 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001718/1.32, allocations: 175.5 kB / 1.302 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003426/1.323, allocations: 0.6491 MB / 1.303 GB, free: 14.74 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001971/1.325, allocations: 1.375 MB / 1.304 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003363/1.326, allocations: 162.9 kB / 1.304 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001628/1.326, allocations: 127.8 kB / 1.304 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002419/1.328, allocations: 1.432 MB / 1.306 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.969e-05/1.328, allocations: 3.234 kB / 1.306 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000105/1.328, allocations: 54.03 kB / 1.306 GB, free: 14.08 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-05/1.328, allocations: 46.81 kB / 1.306 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002205/1.331, allocations: 1.214 MB / 1.307 GB, free: 14.05 MB / 0.9825 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.006692/1.337, allocations: 5.714 MB / 1.313 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001665/1.339, allocations: 1.063 MB / 1.314 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000884/1.34, allocations: 0.55 MB / 1.314 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005002/1.34, allocations: 329.5 kB / 1.315 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009983/1.341, allocations: 0.5766 MB / 1.315 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=85): time 2.665e-06/1.341, allocations: 3.094 kB / 1.315 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of matching and sorting (n=92): time 0.007226/1.349, allocations: 3.589 MB / 1.319 GB, free: 10 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.653e-05/1.349, allocations: 99.17 kB / 1.319 GB, free: 9.902 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001394/1.35, allocations: 1.341 MB / 1.32 GB, free: 9.734 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 7.713e-05/1.35, allocations: 46.36 kB / 1.32 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004229/1.351, allocations: 0.7253 MB / 1.321 GB, free: 9.469 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001914/1.351, allocations: 321.5 kB / 1.321 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001048/1.351, allocations: 95.3 kB / 1.321 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 5.802e-05/1.351, allocations: 346.2 kB / 1.321 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008446/1.352, allocations: 458.9 kB / 1.322 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000926/1.353, allocations: 0.6692 MB / 1.323 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01221/1.365, allocations: 3.616 MB / 1.326 GB, free: 8.207 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/1.365, allocations: 2.875 kB / 1.326 GB, free: 8.207 MB / 0.9825 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002861/1.368, allocations: 1.543 MB / 1.328 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 8.944e-05/1.368, allocations: 245.8 kB / 1.328 GB, free: 7.719 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.939e-06/1.368, allocations: 3.672 kB / 1.328 GB, free: 7.719 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006443/1.369, allocations: 230.7 kB / 1.328 GB, free: 7.688 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008134/1.37, allocations: 207.7 kB / 1.328 GB, free: 7.684 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002841/1.372, allocations: 4.302 MB / 1.332 GB, free: 4.535 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00146/1.374, allocations: 139.5 kB / 1.333 GB, free: 4.52 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.266e-05/1.374, allocations: 38.77 kB / 1.333 GB, free: 4.52 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 5.621e-06/1.374, allocations: 2.938 kB / 1.333 GB, free: 4.52 MB / 0.9825 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002388/1.376, allocations: 1.377 MB / 1.334 GB, free: 4.348 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/1.376, allocations: 6.75 kB / 1.334 GB, free: 4.348 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004025/1.377, allocations: 194.5 kB / 1.334 GB, free: 4.289 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000784/1.378, allocations: 208.4 kB / 1.334 GB, free: 4.258 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003359/1.381, allocations: 5.308 MB / 1.34 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001472/1.382, allocations: 142.9 kB / 1.34 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.48e-05/1.383, allocations: 41.53 kB / 1.34 GB, free: 15.76 MB / 0.9981 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: $DER.heaDyn.vol.dynBal.medium.p = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 9 (TSet.nextEventScaled,TSet.nextEvent,$PRE.TSet.nextEvent,TSet.last,TSet.b,TSet.a,$whenCondition1,con2.I.trigger_internal,con1.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (105): * Single equations (assignments): 99 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,8), (1,2), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0008572/1.383, allocations: 0.5025 MB / 1.34 GB, free: 15.37 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002273/1.384, allocations: 161.9 kB / 1.34 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0026/1.386, allocations: 1.317 MB / 1.342 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.806e-06/1.386, allocations: 13.39 kB / 1.342 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/1.386, allocations: 0 / 1.342 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002051/1.388, allocations: 1.173 MB / 1.343 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004889/1.393, allocations: 3.078 MB / 1.346 GB, free: 11.87 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/1.393, allocations: 3.281 kB / 1.346 GB, free: 11.87 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008998/1.394, allocations: 187.7 kB / 1.346 GB, free: 11.84 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001412/1.394, allocations: 57.28 kB / 1.346 GB, free: 11.8 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.035e-05/1.394, allocations: 32.48 kB / 1.346 GB, free: 11.79 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003851/1.395, allocations: 0.5884 MB / 1.347 GB, free: 11.22 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/1.395, allocations: 8.5 kB / 1.347 GB, free: 11.22 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003511/1.398, allocations: 2.02 MB / 1.349 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006523/1.399, allocations: 339.3 kB / 1.349 GB, free: 9.766 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001759/1.399, allocations: 25.41 kB / 1.349 GB, free: 9.754 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001153/1.4, allocations: 129.6 kB / 1.349 GB, free: 9.691 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001125/1.4, allocations: 68.14 kB / 1.349 GB, free: 9.66 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.707e-05/1.4, allocations: 36.73 kB / 1.349 GB, free: 9.648 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001157/1.402, allocations: 0.9178 MB / 1.35 GB, free: 9.152 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/1.402, allocations: 0 / 1.35 GB, free: 9.152 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001948/1.404, allocations: 0.6829 MB / 1.351 GB, free: 9.094 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (senTem1.T,con1.I.y,heaDyn.vol.dynBal.medium.Xi[1],heaDyn.vol.dynBal.medium.T,senTem2.T,con2.I.y) * Number of discrete variables: 6 ($whenCondition1,TSet.a,TSet.b,TSet.last,TSet.nextEvent,TSet.nextEventScaled) * Number of discrete states: 6 (TSet.nextEvent,TSet.last,TSet.nextEventScaled,TSet.b,TSet.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (83): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003971/1.408, allocations: 2.744 MB / 1.353 GB, free: 7.328 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004076/1.412, allocations: 2.565 MB / 1.356 GB, free: 5.766 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/1.412, allocations: 0 / 1.356 GB, free: 5.766 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001037/1.413, allocations: 0.6162 MB / 1.357 GB, free: 5.469 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004461/1.417, allocations: 0.8259 MB / 1.357 GB, free: 5.059 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02344/1.441, allocations: 14.07 MB / 1.371 GB, free: 8.312 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001017/1.442, allocations: 1.341 MB / 1.372 GB, free: 6.938 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0016/1.443, allocations: 348.9 kB / 1.373 GB, free: 6.59 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000875/1.444, allocations: 0.632 MB / 1.373 GB, free: 5.957 MB / 1.014 GB Notification: Performance of SimCode: time 9.51e-07/1.444, allocations: 0 / 1.373 GB, free: 5.957 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.015/2.459, allocations: 43.67 MB / 1.416 GB, free: 10.91 MB / 1.061 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003547/2.459, allocations: 292.8 kB / 1.416 GB, free: 10.52 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.853/5.312, allocations: 0 / 1.416 GB, free: 10.52 MB / 1.061 GB (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_HeatExchangers_Validation_HeaterCooler_u_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_HeatExchangers_Validation_HeaterCooler_u.fmu > Buildings_10_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe 2>&1)