Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.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.DryCoilEffectivenessNTUPControl,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl",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.8401/0.8401, allocations: 141.8 MB / 149.3 MB, free: 9.223 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.001149/0.001149, allocations: 169 kB / 182.2 MB, free: 9.461 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.687/1.687, allocations: 221.5 MB / 436.4 MB, free: 13.33 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.00101/0.00101, allocations: 92.09 kB / 0.5074 GB, free: 10.15 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002642/0.002642, allocations: 278 kB / 0.5889 GB, free: 54.67 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.259e-05/2.272e-05, allocations: 4 kB / 0.6766 GB, free: 12.73 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6013/0.6013, allocations: 82.76 MB / 0.7575 GB, free: 31.9 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.989/6.591, allocations: 2.146 GB / 2.903 GB, free: 141 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002505/6.591, allocations: 88.77 kB / 2.903 GB, free: 141 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.726/10.32, allocations: 0.9466 GB / 3.85 GB, free: 92.69 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.783e-06/10.32, allocations: 1.312 kB / 3.85 GB, free: 92.69 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001836/10.32, allocations: 46.86 kB / 3.85 GB, free: 92.69 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: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.007008/10.32, allocations: 2.087 MB / 3.852 GB, free: 92.07 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.691e-05/10.32, allocations: 8.688 kB / 3.852 GB, free: 92.07 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003377/10.33, allocations: 0.5499 MB / 3.852 GB, free: 91.98 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003513/10.33, allocations: 1.361 MB / 3.854 GB, free: 91.67 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006171/10.33, allocations: 177.7 kB / 3.854 GB, free: 91.66 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001767/10.33, allocations: 63.56 kB / 3.854 GB, free: 91.66 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001668/10.33, allocations: 0.9397 MB / 3.855 GB, free: 91.66 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001773/10.34, allocations: 1.068 MB / 3.856 GB, free: 91.52 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.513e-05/10.34, allocations: 3.75 kB / 3.856 GB, free: 91.52 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.562e-05/10.34, allocations: 0 / 3.856 GB, free: 91.52 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.846e-05/10.34, allocations: 47.16 kB / 3.856 GB, free: 91.52 MB / 0.7136 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.008733/10.34, allocations: 5.283 MB / 3.861 GB, free: 89.51 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001032/10.35, allocations: 0.7477 MB / 3.862 GB, free: 89.48 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000665/10.35, allocations: 396.7 kB / 3.862 GB, free: 89.47 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001013/10.35, allocations: 0.7603 MB / 3.863 GB, free: 88.72 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008749/10.35, allocations: 491.4 kB / 3.863 GB, free: 88.67 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=82): time 3.616e-06/10.35, allocations: 0 / 3.863 GB, free: 88.67 MB / 0.7136 GB Notification: Performance of matching and sorting (n=82): time 0.00218/10.35, allocations: 0.964 MB / 3.864 GB, free: 88.54 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.569e-05/10.35, allocations: 110.7 kB / 3.864 GB, free: 88.42 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001107/10.35, allocations: 0.8993 MB / 3.865 GB, free: 88.27 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.944e-05/10.35, allocations: 29.39 kB / 3.865 GB, free: 88.23 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004713/10.35, allocations: 0.6492 MB / 3.866 GB, free: 88.04 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002116/10.35, allocations: 281.1 kB / 3.866 GB, free: 87.89 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.494e-05/10.35, allocations: 0 / 3.866 GB, free: 87.89 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.577e-05/10.35, allocations: 344.8 kB / 3.867 GB, free: 87.59 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000542/10.35, allocations: 377.3 kB / 3.867 GB, free: 87.59 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001007/10.35, allocations: 0.678 MB / 3.868 GB, free: 87.27 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001042/10.35, allocations: 0.5003 MB / 3.868 GB, free: 87.25 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.129e-06/10.35, allocations: 0 / 3.868 GB, free: 87.25 MB / 0.7136 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.00255/10.36, allocations: 1.203 MB / 3.869 GB, free: 87.12 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006341/10.36, allocations: 2.064 MB / 3.871 GB, free: 85 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.658e-05/10.36, allocations: 5.406 kB / 3.871 GB, free: 85 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.116e-05/10.36, allocations: 14.34 kB / 3.871 GB, free: 85 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001845/10.36, allocations: 357.7 kB / 3.872 GB, free: 85 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005631/10.36, allocations: 1.203 MB / 3.873 GB, free: 83.83 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001961/10.36, allocations: 201.6 kB / 3.873 GB, free: 83.8 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001402/10.36, allocations: 54.56 kB / 3.873 GB, free: 83.8 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/10.36, allocations: 3.938 kB / 3.873 GB, free: 83.8 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002011/10.36, allocations: 1.041 MB / 3.874 GB, free: 83.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/10.36, allocations: 7.625 kB / 3.874 GB, free: 83.77 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/10.36, allocations: 15.23 kB / 3.874 GB, free: 83.77 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00143/10.37, allocations: 332.3 kB / 3.874 GB, free: 83.77 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/10.37, allocations: 18.02 kB / 3.874 GB, free: 83.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001689/10.37, allocations: 173.2 kB / 3.875 GB, free: 83.75 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001248/10.37, allocations: 60.23 kB / 3.875 GB, free: 83.75 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,hex.flowRegime,hex.flowRegime_nominal,P.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003535/10.37, allocations: 138.3 kB / 3.875 GB, free: 83.64 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001894/10.37, allocations: 0.9235 MB / 3.876 GB, free: 83.52 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002071/10.37, allocations: 141.2 kB / 3.876 GB, free: 83.45 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00242/10.37, allocations: 1.103 MB / 3.877 GB, free: 83.37 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.091e-05/10.37, allocations: 6.531 kB / 3.877 GB, free: 83.37 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/10.37, allocations: 5.844 kB / 3.877 GB, free: 83.37 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.138e-05/10.37, allocations: 3.891 kB / 3.877 GB, free: 83.37 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004508/10.38, allocations: 2.516 MB / 3.879 GB, free: 82.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.976e-06/10.38, allocations: 3.281 kB / 3.879 GB, free: 82.93 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001272/10.38, allocations: 246.4 kB / 3.88 GB, free: 82.93 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.437e-05/10.38, allocations: 8.219 kB / 3.88 GB, free: 82.93 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.502e-05/10.38, allocations: 27.11 kB / 3.88 GB, free: 82.93 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004624/10.38, allocations: 1.197 MB / 3.881 GB, free: 81.77 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.452e-06/10.38, allocations: 6.625 kB / 3.881 GB, free: 81.77 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003087/10.38, allocations: 1.906 MB / 3.883 GB, free: 81.13 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008725/10.38, allocations: 361.3 kB / 3.883 GB, free: 80.96 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000208/10.38, allocations: 15.14 kB / 3.883 GB, free: 80.96 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001329/10.38, allocations: 135.5 kB / 3.883 GB, free: 80.95 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001535/10.39, allocations: 66.66 kB / 3.883 GB, free: 80.95 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.65e-05/10.39, allocations: 45.03 kB / 3.883 GB, free: 80.95 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001087/10.39, allocations: 0.663 MB / 3.884 GB, free: 80.84 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.01e-07/10.39, allocations: 0 / 3.884 GB, free: 80.84 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.003419/10.39, allocations: 0.9272 MB / 3.885 GB, free: 80.77 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 4 (temSen.T,val.filter.s[1],val.filter.s[2],P.I.y) * Number of discrete variables: 4 ($whenCondition1,TSet.T_start,TSet.count,hex.flowRegime) * Number of discrete states: 1 (TSet.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00761/10.4, allocations: 5.571 MB / 3.89 GB, free: 78.25 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.003311/10.4, allocations: 1.68 MB / 3.892 GB, free: 78.09 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.324e-06/10.4, allocations: 0 / 3.892 GB, free: 78.09 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0008511/10.4, allocations: 0.5152 MB / 3.892 GB, free: 78.09 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002871/10.4, allocations: 0.5106 MB / 3.893 GB, free: 78.08 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005285/10.41, allocations: 2.329 MB / 3.895 GB, free: 77.36 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006334/10.41, allocations: 1.263 MB / 3.896 GB, free: 76.64 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.002256/10.41, allocations: 459.6 kB / 3.897 GB, free: 76.62 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007194/10.41, allocations: 0.5498 MB / 3.897 GB, free: 76.61 MB / 0.7136 GB Notification: Performance of SimCode: time 1.012e-06/10.41, allocations: 3.562 kB / 3.897 GB, free: 76.61 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08906/10.5, allocations: 50.15 MB / 3.946 GB, free: 74.91 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001636/10.5, allocations: 203.2 kB / 3.947 GB, free: 74.63 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.829/14.33, allocations: 0 / 3.947 GB, free: 74.63 MB / 0.7136 GB (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl.fmu > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe 2>&1)