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.9174/0.9174, allocations: 143.3 MB / 158.3 MB, free: 5.754 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.001234/0.001234, allocations: 175.2 kB / 191.5 MB, free: 5.746 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.512/1.512, allocations: 223.2 MB / 447.7 MB, free: 4.809 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.001054/0.001054, allocations: 88.28 kB / 0.5187 GB, free: 1.164 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001767/0.001768, allocations: 272.1 kB / 0.6005 GB, free: 48.73 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004423/0.0004424, allocations: 13.72 kB / 0.6929 GB, free: 59.54 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1692/0.1697, allocations: 82.8 MB / 0.7738 GB, free: 13.73 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.953/5.123, allocations: 2.146 GB / 2.92 GB, free: 152.3 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002537/5.123, allocations: 97.64 kB / 2.92 GB, free: 152.3 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.041/8.164, allocations: 0.9564 GB / 3.877 GB, free: 18.95 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.084e-06/8.164, allocations: 0 / 3.877 GB, free: 18.95 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001483/8.164, allocations: 39.98 kB / 3.877 GB, free: 18.91 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.00678/8.171, allocations: 2.384 MB / 3.879 GB, free: 16.47 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.529e-05/8.171, allocations: 8.031 kB / 3.879 GB, free: 16.46 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002625/8.171, allocations: 156.1 kB / 3.879 GB, free: 16.3 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002896/8.174, allocations: 0.5403 MB / 3.88 GB, free: 15.76 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003429/8.178, allocations: 1.379 MB / 3.881 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005834/8.178, allocations: 221.9 kB / 3.881 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002144/8.178, allocations: 119.9 kB / 3.881 GB, free: 14 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002528/8.181, allocations: 1.367 MB / 3.883 GB, free: 12.59 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.088e-05/8.181, allocations: 3.938 kB / 3.883 GB, free: 12.58 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001078/8.181, allocations: 44 kB / 3.883 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-05/8.181, allocations: 45.98 kB / 3.883 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002741/8.184, allocations: 1.355 MB / 3.884 GB, free: 11.14 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.009032/8.193, allocations: 5.513 MB / 3.889 GB, free: 5.324 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00241/8.195, allocations: 1.149 MB / 3.891 GB, free: 4.168 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008204/8.196, allocations: 0.7513 MB / 3.891 GB, free: 3.27 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001341/8.198, allocations: 0.668 MB / 3.892 GB, free: 2.59 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=82): time 4.368e-06/8.198, allocations: 0 / 3.892 GB, free: 2.59 MB / 0.7136 GB Notification: Performance of matching and sorting (n=82): time 0.004333/8.202, allocations: 1.741 MB / 3.894 GB, free: 0.8438 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.34e-05/8.202, allocations: 111.5 kB / 3.894 GB, free: 0.7109 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001867/8.204, allocations: 1.166 MB / 3.895 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0002184/8.204, allocations: 49.7 kB / 3.895 GB, free: 15.48 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006799/8.205, allocations: 0.6314 MB / 3.896 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003065/8.205, allocations: 280 kB / 3.896 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.237e-05/8.205, allocations: 27.94 kB / 3.896 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001804/8.205, allocations: 345.9 kB / 3.896 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001406/8.207, allocations: 0.5491 MB / 3.897 GB, free: 13.65 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001645/8.208, allocations: 0.8568 MB / 3.897 GB, free: 12.67 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001443/8.21, allocations: 0.6254 MB / 3.898 GB, free: 12.04 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.62e-06/8.21, allocations: 0 / 3.898 GB, free: 12.04 MB / 0.7292 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.003828/8.214, allocations: 1.567 MB / 3.9 GB, free: 10.46 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007698/8.215, allocations: 1.901 MB / 3.901 GB, free: 8.445 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/8.215, allocations: 4 kB / 3.902 GB, free: 8.441 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.811e-05/8.215, allocations: 8 kB / 3.902 GB, free: 8.434 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001796/8.216, allocations: 363.5 kB / 3.902 GB, free: 8.078 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008139/8.217, allocations: 1.195 MB / 3.903 GB, free: 6.836 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002044/8.219, allocations: 238.8 kB / 3.903 GB, free: 6.602 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001413/8.219, allocations: 59.97 kB / 3.903 GB, free: 6.543 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.122e-05/8.219, allocations: 8 kB / 3.903 GB, free: 6.535 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00322/8.223, allocations: 1.403 MB / 3.905 GB, free: 5.129 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/8.223, allocations: 11.98 kB / 3.905 GB, free: 5.117 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/8.223, allocations: 8 kB / 3.905 GB, free: 5.109 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001474/8.224, allocations: 339.7 kB / 3.905 GB, free: 4.777 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.311e-05/8.224, allocations: 12 kB / 3.905 GB, free: 4.766 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001839/8.226, allocations: 234.7 kB / 3.905 GB, free: 4.535 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001313/8.226, allocations: 59.97 kB / 3.905 GB, free: 4.477 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 () * Number of clocked 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.0009064/8.227, allocations: 412.8 kB / 3.906 GB, free: 4.062 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003169/8.227, allocations: 158 kB / 3.906 GB, free: 3.906 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003359/8.231, allocations: 1.43 MB / 3.907 GB, free: 2.469 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.51e-05/8.231, allocations: 12 kB / 3.907 GB, free: 2.457 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/8.231, allocations: 3.938 kB / 3.907 GB, free: 2.453 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.248e-05/8.231, allocations: 11.97 kB / 3.907 GB, free: 2.441 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4788/8.71, allocations: 2.958 MB / 3.91 GB, free: 94.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.106e-05/8.71, allocations: 3.844 kB / 3.91 GB, free: 94.9 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001221/8.711, allocations: 253.6 kB / 3.91 GB, free: 94.9 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.405e-05/8.711, allocations: 9.438 kB / 3.91 GB, free: 94.9 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.705e-05/8.711, allocations: 29.47 kB / 3.91 GB, free: 94.9 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003906/8.711, allocations: 1.192 MB / 3.912 GB, free: 93.73 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.596e-06/8.711, allocations: 5.062 kB / 3.912 GB, free: 93.73 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004555/8.716, allocations: 2.424 MB / 3.914 GB, free: 93.21 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009747/8.717, allocations: 375.6 kB / 3.914 GB, free: 93.11 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002202/8.717, allocations: 24.2 kB / 3.914 GB, free: 93.11 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001333/8.719, allocations: 149.4 kB / 3.915 GB, free: 93.11 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001414/8.719, allocations: 78.95 kB / 3.915 GB, free: 93.11 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.862e-05/8.719, allocations: 43.5 kB / 3.915 GB, free: 93.11 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001364/8.72, allocations: 0.8834 MB / 3.915 GB, free: 93 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.4e-07/8.72, allocations: 1.375 kB / 3.915 GB, free: 93 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.003413/8.724, allocations: 0.9886 MB / 3.916 GB, free: 92.99 MB / 0.7292 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) * Number of clocked states: 0 () * 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.008956/8.733, allocations: 5.883 MB / 3.922 GB, free: 90.52 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.006161/8.739, allocations: 2.183 MB / 3.924 GB, free: 90.38 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 9.307e-06/8.739, allocations: 1.156 kB / 3.924 GB, free: 90.38 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001849/8.741, allocations: 0.6857 MB / 3.925 GB, free: 90.38 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00366/8.744, allocations: 0.6808 MB / 3.926 GB, free: 90.37 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00858/8.753, allocations: 7.163 MB / 3.933 GB, free: 85.47 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007941/8.754, allocations: 1.259 MB / 3.934 GB, free: 84.76 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.002578/8.756, allocations: 424.9 kB / 3.934 GB, free: 84.75 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008726/8.757, allocations: 0.5753 MB / 3.935 GB, free: 84.74 MB / 0.7292 GB Notification: Performance of SimCode: time 1.573e-06/8.757, allocations: 2 kB / 3.935 GB, free: 84.74 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1039/8.861, allocations: 67.41 MB / 4.001 GB, free: 82.77 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002085/8.861, allocations: 281.5 kB / 4.001 GB, free: 82.41 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.406/13.27, allocations: 0 / 4.001 GB, free: 82.41 MB / 0.7292 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)