Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.HeatExchangers.Validation.WetCoilCounterFlowLowWaterFlowRate.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.WetCoilCounterFlowLowWaterFlowRate,fileNamePrefix="Buildings_10_Buildings_Fluid_HeatExchangers_Validation_WetCoilCounterFlowLowWaterFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.WetCoilCounterFlowLowWaterFlowRate,fileNamePrefix="Buildings_10_Buildings_Fluid_HeatExchangers_Validation_WetCoilCounterFlowLowWaterFlowRate",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.001018/0.001018, allocations: 91.22 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.0078/0.0078, allocations: 170.8 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.293/1.293, allocations: 223.3 MB / 240.3 MB, free: 5.344 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.348/2.348, allocations: 437.8 MB / 0.7121 GB, free: 7.012 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003547/0.0003548, allocations: 8 kB / 0.8729 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5662/0.5666, allocations: 153.8 MB / 1.023 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.WetCoilCounterFlowLowWaterFlowRate): time 0.6805/1.247, allocations: 270.1 MB / 1.287 GB, free: 2.137 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0206/1.268, allocations: 18.06 MB / 1.305 GB, free: 1.766 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003587/1.271, allocations: 79.38 kB / 1.305 GB, free: 1.766 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.003039/1.275, allocations: 1.046 MB / 1.306 GB, free: 1.742 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.00867/1.283, allocations: 3.832 MB / 1.309 GB, free: 1.562 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.005755/1.289, allocations: 2.789 MB / 1.312 GB, free: 1.461 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.00767/1.297, allocations: 8.493 MB / 1.32 GB, free: 1.434 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002637/1.299, allocations: 2.13 MB / 1.322 GB, free: 1.074 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004461/1.304, allocations: 2.421 MB / 1.325 GB, free: 1.051 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002962/1.307, allocations: 1.738 MB / 1.327 GB, free: 1.035 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002749/1.307, allocations: 89.66 kB / 1.327 GB, free: 1.035 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006778/1.314, allocations: 4.377 MB / 1.331 GB, free: 0.9883 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0008284/1.315, allocations: 0.5788 MB / 1.331 GB, free: 0.9766 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001912/1.317, allocations: 1.239 MB / 1.333 GB, free: 16.9 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.008313/1.325, allocations: 5.613 MB / 1.338 GB, free: 16.33 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/1.325, allocations: 5.062 kB / 1.338 GB, free: 16.33 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.703e-06/1.325, allocations: 0 / 1.338 GB, free: 16.33 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.625e-05/1.325, allocations: 3.938 kB / 1.338 GB, free: 16.33 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: 438 * Number of variables: 438 Notification: Performance of Generate backend data structure: time 0.005757/1.331, allocations: 2.694 MB / 1.341 GB, free: 14.99 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/1.331, allocations: 9.375 kB / 1.341 GB, free: 14.99 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004766/1.331, allocations: 252 kB / 1.341 GB, free: 14.94 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002687/1.334, allocations: 0.5285 MB / 1.342 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003105/1.337, allocations: 2.039 MB / 1.344 GB, free: 14.01 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.723e-05/1.337, allocations: 131.2 kB / 1.344 GB, free: 14.01 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002303/1.337, allocations: 175 kB / 1.344 GB, free: 14.01 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003361/1.341, allocations: 2.372 MB / 1.346 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.268e-05/1.341, allocations: 11.55 kB / 1.346 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001521/1.341, allocations: 74.72 kB / 1.346 GB, free: 13.24 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.84e-05/1.341, allocations: 80.33 kB / 1.346 GB, free: 13.23 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003083/1.344, allocations: 1.996 MB / 1.348 GB, free: 12.88 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.01041/1.355, allocations: 10.65 MB / 1.359 GB, free: 4.332 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001647/1.356, allocations: 1.226 MB / 1.36 GB, free: 3.629 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009838/1.357, allocations: 0.7085 MB / 1.361 GB, free: 3.273 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001066/1.358, allocations: 1.223 MB / 1.362 GB, free: 1.895 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.02e-05/1.358, allocations: 42.84 kB / 1.362 GB, free: 1.848 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=99): time 2.815e-06/1.358, allocations: 0 / 1.362 GB, free: 1.848 MB / 0.9981 GB Notification: Performance of matching and sorting (n=101): time 0.006224/1.365, allocations: 3.568 MB / 1.365 GB, free: 15.81 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.72e-05/1.365, allocations: 65.2 kB / 1.365 GB, free: 15.74 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00239/1.367, allocations: 1.911 MB / 1.367 GB, free: 14.7 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 9.86e-05/1.367, allocations: 48.39 kB / 1.367 GB, free: 14.65 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.000701/1.368, allocations: 0.9755 MB / 1.368 GB, free: 13.8 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002917/1.368, allocations: 352 kB / 1.369 GB, free: 13.5 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001409/1.368, allocations: 106.9 kB / 1.369 GB, free: 13.43 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000118/1.369, allocations: 362.5 kB / 1.369 GB, free: 13.09 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009218/1.369, allocations: 0.5907 MB / 1.37 GB, free: 12.78 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001188/1.371, allocations: 0.9707 MB / 1.371 GB, free: 12.02 MB / 1.014 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: hex.ele[1].vol2.dynBal.medium.p = hex.ele[1].vol2.dynBal.p_start (sin_a.p = hex.ele[1].vol2.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.01259/1.383, allocations: 4.33 MB / 1.375 GB, free: 9.699 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.524e-06/1.383, allocations: 3.344 kB / 1.375 GB, free: 9.699 MB / 1.014 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002814/1.386, allocations: 1.754 MB / 1.376 GB, free: 8.855 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002039/1.386, allocations: 358.5 kB / 1.377 GB, free: 8.402 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.449e-05/1.386, allocations: 11 kB / 1.377 GB, free: 8.402 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.418e-05/1.386, allocations: 17.12 kB / 1.377 GB, free: 8.398 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001079/1.387, allocations: 290.2 kB / 1.377 GB, free: 8.348 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.087e-05/1.387, allocations: 18.22 kB / 1.377 GB, free: 8.348 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001871/1.389, allocations: 207.4 kB / 1.377 GB, free: 8.25 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001113/1.389, allocations: 58.61 kB / 1.377 GB, free: 8.234 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 6.963e-06/1.39, allocations: 6.281 kB / 1.377 GB, free: 8.23 MB / 1.014 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002325/1.392, allocations: 1.547 MB / 1.379 GB, free: 7.512 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.546e-05/1.392, allocations: 10.88 kB / 1.379 GB, free: 7.508 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/1.392, allocations: 17.12 kB / 1.379 GB, free: 7.508 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001043/1.393, allocations: 286.6 kB / 1.379 GB, free: 7.457 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.931e-05/1.393, allocations: 21.66 kB / 1.379 GB, free: 7.457 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001846/1.395, allocations: 211.5 kB / 1.379 GB, free: 7.355 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001243/1.395, allocations: 56.98 kB / 1.379 GB, free: 7.309 MB / 1.014 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: hex.ele[1].vol2.dynBal.medium.p = hex.ele[1].vol2.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * 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 (153): * Single equations (assignments): 152 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001252/1.396, allocations: 0.8108 MB / 1.38 GB, free: 6.504 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003781/1.397, allocations: 193.6 kB / 1.38 GB, free: 6.312 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002775/1.399, allocations: 1.629 MB / 1.382 GB, free: 4.688 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-05/1.399, allocations: 15.98 kB / 1.382 GB, free: 4.672 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/1.399, allocations: 0 / 1.382 GB, free: 4.672 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001979/1.401, allocations: 1.521 MB / 1.384 GB, free: 3.066 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006563/1.408, allocations: 4.294 MB / 1.388 GB, free: 14.68 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.269e-05/1.408, allocations: 8 kB / 1.388 GB, free: 14.68 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001008/1.409, allocations: 241.3 kB / 1.388 GB, free: 14.45 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.631e-05/1.409, allocations: 12 kB / 1.388 GB, free: 14.44 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.618e-05/1.409, allocations: 31.98 kB / 1.388 GB, free: 14.41 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.078e-05/1.409, allocations: 10.53 kB / 1.388 GB, free: 14.4 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.324e-06/1.409, allocations: 10.53 kB / 1.388 GB, free: 14.39 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00345/1.413, allocations: 2.396 MB / 1.39 GB, free: 11.9 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009725/1.414, allocations: 466.5 kB / 1.391 GB, free: 11.43 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003509/1.414, allocations: 28 kB / 1.391 GB, free: 11.4 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001554/1.416, allocations: 159.7 kB / 1.391 GB, free: 11.24 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001677/1.416, allocations: 85.66 kB / 1.391 GB, free: 11.16 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.716e-05/1.416, allocations: 43.98 kB / 1.391 GB, free: 11.12 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.002214/1.418, allocations: 1.367 MB / 1.392 GB, free: 9.73 MB / 1.029 GB Notification: Performance of sort global known variables: time 2.6e-07/1.418, allocations: 0 / 1.392 GB, free: 9.73 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.002925/1.421, allocations: 0.9726 MB / 1.393 GB, free: 8.758 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 4 (hex.ele[1].vol1.dynBal.U,hex.ele[1].vol2.dynBal.medium.Xi[1],hex.ele[1].vol2.dynBal.U,hex.ele[1].mas.T) * 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 (108): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00465/1.426, allocations: 3.326 MB / 1.397 GB, free: 5.375 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.00365/1.429, allocations: 2.211 MB / 1.399 GB, free: 3.242 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 6.843e-06/1.429, allocations: 0 / 1.399 GB, free: 3.242 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001055/1.43, allocations: 0.6706 MB / 1.399 GB, free: 2.605 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00736/1.438, allocations: 1.202 MB / 1.401 GB, free: 1.418 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03568/1.473, allocations: 18.39 MB / 1.419 GB, free: 13.93 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001741/1.475, allocations: 1.928 MB / 1.42 GB, free: 11.96 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.002743/1.478, allocations: 0.7943 MB / 1.421 GB, free: 11.18 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001332/1.479, allocations: 0.8312 MB / 1.422 GB, free: 10.35 MB / 1.061 GB Notification: Performance of SimCode: time 6.71e-07/1.479, allocations: 0 / 1.422 GB, free: 10.35 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8577/2.337, allocations: 60.34 MB / 1.481 GB, free: 14.84 MB / 1.123 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002447/2.337, allocations: 278 kB / 1.481 GB, free: 14.47 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.233/5.571, allocations: 4 kB / 1.481 GB, free: 14.47 MB / 1.123 GB (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.Validation.WetCoilCounterFlowLowWaterFlowRate.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.Validation.WetCoilCounterFlowLowWaterFlowRate.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.Validation.WetCoilCounterFlowLowWaterFlowRate.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.Validation.WetCoilCounterFlowLowWaterFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.HeatExchangers.Validation.WetCoilCounterFlowLowWaterFlowRate_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_HeatExchangers_Validation_WetCoilCounterFlowLowWaterFlowRate_fmu --startTime=0 --stopTime=5000 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_HeatExchangers_Validation_WetCoilCounterFlowLowWaterFlowRate.fmu > Buildings_10_Buildings.Fluid.HeatExchangers.Validation.WetCoilCounterFlowLowWaterFlowRate.pipe 2>&1)