Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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) 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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_Validation_DryCoilEffectivenessNTU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_Validation_DryCoilEffectivenessNTU",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.286/2.286, allocations: 390.5 MB / 398 MB, free: 10.92 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001133/0.001133, allocations: 176.9 kB / 491.2 MB, free: 1.555 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.907/1.907, allocations: 221.5 MB / 0.7868 GB, free: 13.27 MB / 0.5573 GB 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: 87.83 kB / 0.9269 GB, free: 13.77 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.514e-05/5.534e-05, allocations: 4 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.389/0.3891, allocations: 143 MB / 1.212 GB, free: 39.39 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.527/6.916, allocations: 2.189 GB / 3.401 GB, free: 111.6 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002179/6.916, allocations: 83.95 kB / 3.401 GB, free: 111.5 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 14.85/21.76, allocations: 3.376 GB / 6.777 GB, free: 106.8 MB / 1.292 GB Notification: Performance of FrontEnd: time 2.324e-06/21.76, allocations: 0 / 6.777 GB, free: 106.8 MB / 1.292 GB Notification: Performance of Transformations before backend: time 0.001001/21.77, allocations: 120.4 kB / 6.777 GB, free: 106.8 MB / 1.292 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.02863/21.79, allocations: 5.604 MB / 6.783 GB, free: 105.2 MB / 1.292 GB Notification: Performance of prepare preOptimizeDAE: time 6.554e-05/21.79, allocations: 7.125 kB / 6.783 GB, free: 105.2 MB / 1.292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01427/21.81, allocations: 2.047 MB / 6.785 GB, free: 104.9 MB / 1.292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01911/21.83, allocations: 4.271 MB / 6.789 GB, free: 104.4 MB / 1.292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003207/21.83, allocations: 0.7721 MB / 6.79 GB, free: 104.4 MB / 1.292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002574/21.83, allocations: 207.8 kB / 6.79 GB, free: 104.4 MB / 1.292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.012/21.85, allocations: 3.496 MB / 6.793 GB, free: 104.4 MB / 1.292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0142/21.86, allocations: 3.731 MB / 6.797 GB, free: 104.1 MB / 1.292 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001873/21.86, allocations: 5.5 kB / 6.797 GB, free: 104.1 MB / 1.292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001404/21.86, allocations: 6.812 kB / 6.797 GB, free: 104.1 MB / 1.292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002419/21.86, allocations: 157.2 kB / 6.797 GB, free: 104 MB / 1.292 GB Warning: The model contains alias variables with conflicting start and/or 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.04868/21.91, allocations: 19.37 MB / 6.816 GB, free: 95.98 MB / 1.292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005438/21.92, allocations: 2.472 MB / 6.818 GB, free: 95.93 MB / 1.292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003048/21.92, allocations: 1.379 MB / 6.82 GB, free: 95.92 MB / 1.292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001294/21.92, allocations: 0.6942 MB / 6.82 GB, free: 95.26 MB / 1.292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004581/21.92, allocations: 1.711 MB / 6.822 GB, free: 95.17 MB / 1.292 GB Notification: Performance of pre-optimization done (n=247): time 8.807e-06/21.92, allocations: 0 / 6.822 GB, free: 95.17 MB / 1.292 GB Notification: Performance of matching and sorting (n=247): time 0.01008/21.94, allocations: 3.067 MB / 6.825 GB, free: 94.88 MB / 1.292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.227e-05/21.94, allocations: 104.9 kB / 6.825 GB, free: 94.79 MB / 1.292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008111/21.94, allocations: 2.457 MB / 6.828 GB, free: 94.49 MB / 1.292 GB Notification: Performance of collectPreVariables (initialization): time 0.001255/21.94, allocations: 29.83 kB / 6.828 GB, free: 94.46 MB / 1.292 GB Notification: Performance of collectInitialEqns (initialization): time 0.003022/21.95, allocations: 1.857 MB / 6.829 GB, free: 93.81 MB / 1.292 GB Notification: Performance of collectInitialBindings (initialization): time 0.001664/21.95, allocations: 0.7969 MB / 6.83 GB, free: 93.27 MB / 1.292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007447/21.95, allocations: 4.281 kB / 6.83 GB, free: 93.27 MB / 1.292 GB Notification: Performance of setup shared object (initialization): time 0.0003533/21.95, allocations: 428 kB / 6.831 GB, free: 92.96 MB / 1.292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00292/21.95, allocations: 1.304 MB / 6.832 GB, free: 92.95 MB / 1.292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003328/21.96, allocations: 2.1 MB / 6.834 GB, free: 92.13 MB / 1.292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004117/21.96, allocations: 1.608 MB / 6.836 GB, free: 92.08 MB / 1.292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.631e-05/21.96, allocations: 6.906 kB / 6.836 GB, free: 92.08 MB / 1.292 GB Notification: Performance of matching and sorting (n=399) (initialization): time 0.009547/21.97, allocations: 3.826 MB / 6.839 GB, free: 91.77 MB / 1.292 GB Notification: Performance of prepare postOptimizeDAE: time 0.002299/21.97, allocations: 5.995 MB / 6.845 GB, free: 85.45 MB / 1.292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.54e-05/21.97, allocations: 11.66 kB / 6.845 GB, free: 85.45 MB / 1.292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001085/21.97, allocations: 29.47 kB / 6.845 GB, free: 85.45 MB / 1.292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007522/21.98, allocations: 1.229 MB / 6.846 GB, free: 85.44 MB / 1.292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003431/21.98, allocations: 6.018 MB / 6.852 GB, free: 79.59 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009051/21.99, allocations: 0.7397 MB / 6.853 GB, free: 79.45 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00141/21.99, allocations: 178 kB / 6.853 GB, free: 79.45 MB / 1.292 GB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/21.99, allocations: 3.938 kB / 6.853 GB, free: 79.45 MB / 1.292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01131/22.01, allocations: 3.388 MB / 6.857 GB, free: 79.36 MB / 1.292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-05/22.01, allocations: 13.62 kB / 6.857 GB, free: 79.36 MB / 1.292 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.923e-05/22.01, allocations: 32.69 kB / 6.857 GB, free: 79.36 MB / 1.292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006073/22.01, allocations: 1.127 MB / 6.858 GB, free: 79.36 MB / 1.292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.893e-05/22.01, allocations: 34.59 kB / 6.858 GB, free: 79.36 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007596/22.02, allocations: 0.7044 MB / 6.858 GB, free: 79.25 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001217/22.02, allocations: 164 kB / 6.859 GB, free: 79.25 MB / 1.292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (398): * Single equations (assignments): 387 * 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.00196/22.02, allocations: 180.2 kB / 6.859 GB, free: 79.14 MB / 1.292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.009256/22.03, allocations: 2.997 MB / 6.862 GB, free: 78.86 MB / 1.292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001961/22.03, allocations: 391.2 kB / 6.862 GB, free: 78.65 MB / 1.292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009426/22.04, allocations: 3.552 MB / 6.865 GB, free: 78.44 MB / 1.292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-05/22.04, allocations: 35.77 kB / 6.865 GB, free: 78.44 MB / 1.292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.83e-05/22.04, allocations: 0 / 6.865 GB, free: 78.44 MB / 1.292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-05/22.04, allocations: 10.59 kB / 6.866 GB, free: 78.44 MB / 1.292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02214/22.07, allocations: 7.609 MB / 6.873 GB, free: 77.75 MB / 1.292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.919e-05/22.07, allocations: 3.969 kB / 6.873 GB, free: 77.75 MB / 1.292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004762/22.07, allocations: 0.9157 MB / 6.874 GB, free: 77.75 MB / 1.292 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.668e-05/22.07, allocations: 21.11 kB / 6.874 GB, free: 77.75 MB / 1.292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004993/22.07, allocations: 57.62 kB / 6.874 GB, free: 77.75 MB / 1.292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002231/22.07, allocations: 5.945 MB / 6.88 GB, free: 71.9 MB / 1.292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-05/22.07, allocations: 8 kB / 6.88 GB, free: 71.9 MB / 1.292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009167/22.08, allocations: 4.009 MB / 6.884 GB, free: 70.59 MB / 1.292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003797/22.09, allocations: 0.9645 MB / 6.885 GB, free: 70.25 MB / 1.292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001779/22.09, allocations: 10.59 kB / 6.885 GB, free: 70.25 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006714/22.1, allocations: 0.6152 MB / 6.885 GB, free: 70.24 MB / 1.292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004854/22.1, allocations: 196.7 kB / 6.885 GB, free: 70.23 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005933/22.1, allocations: 134.1 kB / 6.886 GB, free: 70.23 MB / 1.292 GB Notification: Performance of sorting global known variables: time 0.005069/22.1, allocations: 1.785 MB / 6.887 GB, free: 70.05 MB / 1.292 GB Notification: Performance of sort global known variables: time 5.51e-07/22.1, allocations: 2.719 kB / 6.887 GB, free: 70.05 MB / 1.292 GB Notification: Performance of remove unused functions: time 0.01553/22.12, allocations: 2.624 MB / 6.89 GB, free: 69.75 MB / 1.292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (279): * Single equations (assignments): 265 * 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.02492/22.14, allocations: 12.46 MB / 6.902 GB, free: 63.72 MB / 1.292 GB Notification: Performance of simCode: created initialization part: time 0.0159/22.16, allocations: 5.448 MB / 6.907 GB, free: 63.51 MB / 1.292 GB Notification: Performance of simCode: created event and clocks part: time 2.111e-05/22.16, allocations: 2.562 kB / 6.907 GB, free: 63.51 MB / 1.292 GB Notification: Performance of simCode: created simulation system equations: time 0.004659/22.16, allocations: 1.663 MB / 6.909 GB, free: 63.5 MB / 1.292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01134/22.17, allocations: 1.469 MB / 6.91 GB, free: 63.48 MB / 1.292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02813/22.2, allocations: 6.641 MB / 6.917 GB, free: 61.76 MB / 1.292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004852/22.21, allocations: 2.484 MB / 6.919 GB, free: 60.98 MB / 1.292 GB Notification: Performance of simCode: alias equations: time 0.0154/22.22, allocations: 1.381 MB / 6.921 GB, free: 60.92 MB / 1.292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006783/22.23, allocations: 1.811 MB / 6.922 GB, free: 60.91 MB / 1.292 GB Notification: Performance of SimCode: time 3.015e-06/22.23, allocations: 0 / 6.922 GB, free: 60.91 MB / 1.292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2685/22.5, allocations: 139.4 MB / 7.059 GB, free: 52.79 MB / 1.292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001831/22.5, allocations: 193.8 kB / 7.059 GB, free: 52.59 MB / 1.292 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.564/31.06, allocations: 3.094 kB / 7.059 GB, free: 52.59 MB / 1.292 GB (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_Validation_DryCoilEffectivenessNTU_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_Validation_DryCoilEffectivenessNTU.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU_res.mat does not exist to compare? outputFormat=mat