Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_Validation_DryCoilEffectivenessNTU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_Validation_DryCoilEffectivenessNTU",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8144/0.8144, allocations: 143.4 MB / 158.3 MB, free: 5.812 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001075/0.001076, allocations: 175 kB / 191.5 MB, free: 5.766 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.511/1.511, allocations: 223.2 MB / 447.7 MB, free: 4.793 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001028/0.001028, allocations: 88.39 kB / 0.5187 GB, free: 1.152 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001966/0.001967, allocations: 263 kB / 0.6005 GB, free: 48.73 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004369/0.0004369, allocations: 20.58 kB / 0.6929 GB, free: 59.54 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1697/0.1702, allocations: 82.8 MB / 0.7738 GB, free: 13.72 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.221/5.391, allocations: 2.149 GB / 2.922 GB, free: 150.8 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000246/5.391, allocations: 91.39 kB / 2.922 GB, free: 150.7 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 13.54/18.94, allocations: 3.418 GB / 6.34 GB, free: 59.39 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.855e-06/18.94, allocations: 0.625 kB / 6.34 GB, free: 59.39 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0008445/18.94, allocations: 116.8 kB / 6.34 GB, free: 59.39 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 822 * Number of variables: 822 Notification: Performance of Generate backend data structure: time 0.03201/18.97, allocations: 6.446 MB / 6.347 GB, free: 57.31 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 6.613e-05/18.97, allocations: 9.812 kB / 6.347 GB, free: 57.31 MB / 0.8542 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002732/18.97, allocations: 431.5 kB / 6.347 GB, free: 57.25 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01383/18.99, allocations: 2.051 MB / 6.349 GB, free: 56.97 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01737/19, allocations: 4.289 MB / 6.353 GB, free: 56.23 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003698/19.01, allocations: 0.9108 MB / 6.354 GB, free: 56.23 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002912/19.01, allocations: 351.4 kB / 6.354 GB, free: 56.23 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01792/19.03, allocations: 4.9 MB / 6.359 GB, free: 55.86 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.159e-05/19.03, allocations: 2.531 kB / 6.359 GB, free: 55.86 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006656/19.03, allocations: 128.6 kB / 6.359 GB, free: 55.86 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002142/19.03, allocations: 153.8 kB / 6.36 GB, free: 55.86 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01653/19.04, allocations: 5.303 MB / 6.365 GB, free: 55.82 MB / 0.8542 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.04885/19.09, allocations: 20.09 MB / 6.384 GB, free: 47.55 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01151/19.11, allocations: 4.173 MB / 6.388 GB, free: 47.49 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001012/19.11, allocations: 0.6897 MB / 6.389 GB, free: 46.83 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007303/19.11, allocations: 2.486 MB / 6.392 GB, free: 46.74 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=251): time 8.716e-06/19.11, allocations: 0 / 6.392 GB, free: 46.74 MB / 0.8542 GB Notification: Performance of matching and sorting (n=251): time 0.01996/19.13, allocations: 6.285 MB / 6.398 GB, free: 46.42 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.283e-05/19.13, allocations: 110 kB / 6.398 GB, free: 46.33 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008416/19.14, allocations: 3.168 MB / 6.401 GB, free: 46.02 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.001261/19.14, allocations: 90.95 kB / 6.401 GB, free: 45.99 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.003032/19.15, allocations: 1.853 MB / 6.403 GB, free: 45.46 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.001812/19.15, allocations: 0.8396 MB / 6.404 GB, free: 44.91 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009885/19.15, allocations: 60.25 kB / 6.404 GB, free: 44.91 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0003613/19.15, allocations: 427.4 kB / 6.404 GB, free: 44.6 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00704/19.16, allocations: 2.083 MB / 6.406 GB, free: 44.59 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00821/19.17, allocations: 2.887 MB / 6.409 GB, free: 43.8 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006706/19.17, allocations: 2.214 MB / 6.411 GB, free: 43.71 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.88e-05/19.17, allocations: 6.688 kB / 6.411 GB, free: 43.71 MB / 0.8542 GB Notification: Performance of matching and sorting (n=404) (initialization): time 0.01785/19.19, allocations: 5.362 MB / 6.416 GB, free: 43.35 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.001272/19.19, allocations: 5.249 MB / 6.421 GB, free: 37.95 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.647e-05/19.19, allocations: 14.53 kB / 6.421 GB, free: 37.95 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.625e-05/19.19, allocations: 39.45 kB / 6.421 GB, free: 37.94 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006912/19.2, allocations: 1.201 MB / 6.423 GB, free: 37.94 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00268/19.2, allocations: 5.972 MB / 6.428 GB, free: 32.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008149/19.21, allocations: 0.8728 MB / 6.429 GB, free: 31.91 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00106/19.21, allocations: 167.4 kB / 6.429 GB, free: 31.91 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/19.21, allocations: 3.438 kB / 6.429 GB, free: 31.91 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01564/19.23, allocations: 4.965 MB / 6.434 GB, free: 31.79 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.922e-05/19.23, allocations: 11.62 kB / 6.434 GB, free: 31.79 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.779e-05/19.23, allocations: 33.36 kB / 6.434 GB, free: 31.79 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006147/19.23, allocations: 1.124 MB / 6.435 GB, free: 31.79 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001149/19.23, allocations: 35.17 kB / 6.436 GB, free: 31.79 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008367/19.24, allocations: 0.835 MB / 6.436 GB, free: 31.63 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001293/19.24, allocations: 165.2 kB / 6.436 GB, free: 31.63 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 15 (hexCroUnm.flowRegime,$whenCondition1,hexPar.flowRegime,hexCou.flowRegime,hexCroC1Mix.flowRegime,hexCroC1Unm.flowRegime,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count,hexPar.flowRegime_nominal,hexCou.flowRegime_nominal,hexCroC1Mix.flowRegime_nominal,hexCroC1Unm.flowRegime_nominal,hexCroUnm.flowRegime_nominal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (403): * Single equations (assignments): 392 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004757/19.25, allocations: 0.9247 MB / 6.437 GB, free: 31.44 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002663/19.25, allocations: 430.2 kB / 6.438 GB, free: 31.21 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01757/19.27, allocations: 5.023 MB / 6.443 GB, free: 31 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.924e-05/19.27, allocations: 32.2 kB / 6.443 GB, free: 31 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.94e-05/19.27, allocations: 1.688 kB / 6.443 GB, free: 31 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.056e-05/19.27, allocations: 13.27 kB / 6.443 GB, free: 31 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03161/19.3, allocations: 9.469 MB / 6.452 GB, free: 30.27 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.859e-05/19.3, allocations: 7.406 kB / 6.452 GB, free: 30.27 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005079/19.3, allocations: 0.9162 MB / 6.453 GB, free: 30.27 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.554e-05/19.3, allocations: 15.59 kB / 6.453 GB, free: 30.27 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008115/19.31, allocations: 97.02 kB / 6.453 GB, free: 30.27 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002145/19.31, allocations: 5.944 MB / 6.459 GB, free: 24.41 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.788e-06/19.31, allocations: 8.75 kB / 6.459 GB, free: 24.41 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01526/19.32, allocations: 5.459 MB / 6.464 GB, free: 23.01 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004651/19.33, allocations: 1.014 MB / 6.465 GB, free: 22.65 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00243/19.33, allocations: 52.16 kB / 6.465 GB, free: 22.65 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00748/19.34, allocations: 0.6324 MB / 6.466 GB, free: 22.64 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009481/19.34, allocations: 201.3 kB / 6.466 GB, free: 22.63 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001024/19.34, allocations: 129.8 kB / 6.466 GB, free: 22.63 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.007266/19.35, allocations: 2.388 MB / 6.468 GB, free: 22.45 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4e-07/19.35, allocations: 0 / 6.468 GB, free: 22.45 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.01704/19.36, allocations: 2.843 MB / 6.471 GB, free: 22.23 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,hexPar.flowRegime,hexCou.flowRegime,hexCroC1Mix.flowRegime,hexCroC1Unm.flowRegime,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (283): * Single equations (assignments): 269 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02879/19.39, allocations: 13.43 MB / 6.484 GB, free: 15.69 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0249/19.42, allocations: 7.711 MB / 6.492 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-05/19.42, allocations: 3.188 kB / 6.492 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.007241/19.42, allocations: 2.466 MB / 6.494 GB, free: 15.21 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0129/19.44, allocations: 1.988 MB / 6.496 GB, free: 15.1 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04111/19.48, allocations: 19.71 MB / 6.515 GB, free: 17.64 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004793/19.48, allocations: 2.473 MB / 6.518 GB, free: 16.81 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.008928/19.49, allocations: 1.302 MB / 6.519 GB, free: 16.54 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004624/19.5, allocations: 1.903 MB / 6.521 GB, free: 16.53 MB / 0.8698 GB Notification: Performance of SimCode: time 1.703e-06/19.5, allocations: 0 / 6.521 GB, free: 16.53 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9654/20.46, allocations: 185.9 MB / 6.703 GB, free: 94.77 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001839/20.46, allocations: 271.8 kB / 6.703 GB, free: 94.41 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.84/30.3, allocations: 1.406 kB / 6.703 GB, free: 94.41 MB / 0.9011 GB (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_HeatExchangers_Validation_DryCoilEffectivenessNTU_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_HeatExchangers_Validation_DryCoilEffectivenessNTU.fmu > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe 2>&1)