Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.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.Examples.DryCoilEffectivenessNTUMassFlow,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUMassFlow",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.8541/0.8541, allocations: 143.3 MB / 158.3 MB, free: 5.766 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.001221/0.001221, allocations: 185 kB / 191.5 MB, free: 5.738 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.613/1.613, allocations: 223.2 MB / 447.7 MB, free: 6.551 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.0009749/0.0009749, allocations: 96.22 kB / 0.5187 GB, free: 2.895 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002266/0.002266, allocations: 271.7 kB / 0.6005 GB, free: 48.97 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004458/0.0004458, allocations: 16 kB / 0.6929 GB, free: 2.207 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3956/0.3961, allocations: 82.77 MB / 0.7738 GB, free: 26.21 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.908/5.304, allocations: 2.155 GB / 2.929 GB, free: 144.4 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002616/5.305, allocations: 98.38 kB / 2.929 GB, free: 144.3 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.119/8.423, allocations: 0.9277 GB / 3.857 GB, free: 13.72 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.085e-06/8.423, allocations: 0 / 3.857 GB, free: 13.72 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001182/8.424, allocations: 39.98 kB / 3.857 GB, free: 13.68 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.005797/8.429, allocations: 2.181 MB / 3.859 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/8.429, allocations: 8.031 kB / 3.859 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002419/8.43, allocations: 143.6 kB / 3.859 GB, free: 11.28 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002884/8.433, allocations: 0.5211 MB / 3.86 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002902/8.435, allocations: 1.235 MB / 3.861 GB, free: 9.465 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005781/8.436, allocations: 205.5 kB / 3.861 GB, free: 9.266 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001676/8.436, allocations: 100 kB / 3.861 GB, free: 9.168 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002268/8.439, allocations: 1.289 MB / 3.862 GB, free: 7.855 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.077e-05/8.439, allocations: 3.938 kB / 3.862 GB, free: 7.852 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001012/8.439, allocations: 36 kB / 3.862 GB, free: 7.816 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.359e-05/8.439, allocations: 37.98 kB / 3.862 GB, free: 7.777 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002586/8.441, allocations: 1.292 MB / 3.864 GB, free: 6.484 MB / 0.7136 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.008287/8.45, allocations: 5.106 MB / 3.869 GB, free: 1.062 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002642/8.452, allocations: 1.088 MB / 3.87 GB, free: 15.97 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001195/8.453, allocations: 0.831 MB / 3.871 GB, free: 14.97 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001551/8.455, allocations: 0.7273 MB / 3.871 GB, free: 14.22 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=85): time 3.897e-06/8.455, allocations: 0 / 3.871 GB, free: 14.22 MB / 0.7292 GB Notification: Performance of matching and sorting (n=85): time 0.004851/8.46, allocations: 2.037 MB / 3.873 GB, free: 12.13 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.878e-05/8.46, allocations: 119.5 kB / 3.873 GB, free: 11.99 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001397/8.461, allocations: 0.9031 MB / 3.874 GB, free: 11.08 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001547/8.462, allocations: 45.7 kB / 3.874 GB, free: 11.03 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004817/8.462, allocations: 0.5282 MB / 3.875 GB, free: 10.49 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002733/8.462, allocations: 283.9 kB / 3.875 GB, free: 10.21 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.653e-05/8.462, allocations: 19.94 kB / 3.875 GB, free: 10.19 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001328/8.463, allocations: 341.9 kB / 3.875 GB, free: 9.852 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00135/8.464, allocations: 0.5337 MB / 3.876 GB, free: 9.316 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001486/8.465, allocations: 0.7539 MB / 3.877 GB, free: 8.488 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001425/8.467, allocations: 0.6387 MB / 3.877 GB, free: 7.84 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.668e-06/8.467, allocations: 0 / 3.877 GB, free: 7.84 MB / 0.7292 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.003603/8.471, allocations: 1.573 MB / 3.879 GB, free: 6.242 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004965/8.471, allocations: 1.112 MB / 3.88 GB, free: 5.043 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.681e-05/8.471, allocations: 7.953 kB / 3.88 GB, free: 5.035 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.74e-05/8.471, allocations: 11.94 kB / 3.88 GB, free: 5.023 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001324/8.472, allocations: 267.7 kB / 3.88 GB, free: 4.762 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.65e-05/8.472, allocations: 7.938 kB / 3.88 GB, free: 4.754 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001957/8.474, allocations: 218.9 kB / 3.88 GB, free: 4.539 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001374/8.475, allocations: 55.97 kB / 3.881 GB, free: 4.484 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/8.475, allocations: 5.562 kB / 3.881 GB, free: 4.48 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003366/8.478, allocations: 1.487 MB / 3.882 GB, free: 2.977 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/8.478, allocations: 4 kB / 3.882 GB, free: 2.973 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/8.478, allocations: 8 kB / 3.882 GB, free: 2.965 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001287/8.479, allocations: 267.7 kB / 3.882 GB, free: 2.703 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/8.479, allocations: 8 kB / 3.882 GB, free: 2.695 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001603/8.481, allocations: 199.1 kB / 3.882 GB, free: 2.5 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001204/8.481, allocations: 55.95 kB / 3.882 GB, free: 2.445 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition1,$whenCondition2,mWatGai.a,mWatGai.b,mWatGai.last,$PRE.mWatGai.nextEvent,mWatGai.nextEvent,mWatGai.nextEventScaled,mAirGai.a,mAirGai.b,mAirGai.last,$PRE.mAirGai.nextEvent,mAirGai.nextEvent,mAirGai.nextEventScaled,hex.flowRegime,hex.flowRegime_nominal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (109): * Single equations (assignments): 107 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000898/8.482, allocations: 460.8 kB / 3.883 GB, free: 1.973 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002855/8.482, allocations: 130.4 kB / 3.883 GB, free: 1.844 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003561/8.486, allocations: 1.591 MB / 3.885 GB, free: 236 kB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.408e-05/8.486, allocations: 15.98 kB / 3.885 GB, free: 220 kB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/8.486, allocations: 0 / 3.885 GB, free: 220 kB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.065e-05/8.486, allocations: 3.984 kB / 3.885 GB, free: 216 kB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4899/8.976, allocations: 3.057 MB / 3.888 GB, free: 98.97 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.736e-05/8.976, allocations: 2.5 kB / 3.888 GB, free: 98.97 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001227/8.977, allocations: 206.5 kB / 3.888 GB, free: 98.97 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.239e-05/8.977, allocations: 7.031 kB / 3.888 GB, free: 98.97 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000126/8.977, allocations: 37.64 kB / 3.888 GB, free: 98.97 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.077e-05/8.977, allocations: 12.48 kB / 3.888 GB, free: 98.97 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.776e-06/8.977, allocations: 3.312 kB / 3.888 GB, free: 98.97 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006413/8.984, allocations: 2.562 MB / 3.89 GB, free: 98.46 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001006/8.985, allocations: 361.8 kB / 3.891 GB, free: 98.37 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002008/8.985, allocations: 27.06 kB / 3.891 GB, free: 98.37 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001242/8.986, allocations: 139.1 kB / 3.891 GB, free: 98.37 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000166/8.986, allocations: 62.98 kB / 3.891 GB, free: 98.37 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001218/8.987, allocations: 53.33 kB / 3.891 GB, free: 98.37 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001221/8.988, allocations: 0.7011 MB / 3.892 GB, free: 98.26 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.61e-07/8.988, allocations: 0.8438 kB / 3.892 GB, free: 98.26 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.004028/8.992, allocations: 1.011 MB / 3.893 GB, free: 98.24 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 1 (senRelHum.phi) * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,mWatGai.a,mWatGai.b,mWatGai.last,mWatGai.nextEvent,mWatGai.nextEventScaled,mAirGai.a,mAirGai.b,mAirGai.last,mAirGai.nextEvent,mAirGai.nextEventScaled,hex.flowRegime) * Number of discrete states: 12 (mAirGai.nextEvent,mAirGai.last,mAirGai.nextEventScaled,mAirGai.b,mAirGai.a,$whenCondition2,mWatGai.nextEvent,mWatGai.last,mWatGai.nextEventScaled,mWatGai.b,mWatGai.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (83): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009502/9.001, allocations: 6.084 MB / 3.899 GB, free: 95.78 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.004518/9.006, allocations: 2.308 MB / 3.901 GB, free: 95.52 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/9.006, allocations: 1.438 kB / 3.901 GB, free: 95.52 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001361/9.007, allocations: 0.8021 MB / 3.902 GB, free: 95.39 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002805/9.01, allocations: 0.5026 MB / 3.902 GB, free: 95.38 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007543/9.018, allocations: 5.25 MB / 3.907 GB, free: 92.15 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008701/9.019, allocations: 1.182 MB / 3.908 GB, free: 91.43 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.002069/9.021, allocations: 372.9 kB / 3.909 GB, free: 91.42 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006671/9.021, allocations: 0.4889 MB / 3.909 GB, free: 91.42 MB / 0.7292 GB Notification: Performance of SimCode: time 7.71e-07/9.021, allocations: 0 / 3.909 GB, free: 91.42 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09257/9.114, allocations: 62.5 MB / 3.97 GB, free: 89.95 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001652/9.114, allocations: 260.7 kB / 3.971 GB, free: 89.62 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.218/13.33, allocations: 0 / 3.971 GB, free: 89.62 MB / 0.7292 GB (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUMassFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUMassFlow.fmu > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe 2>&1)