Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.942/2.942, allocations: 287.5 MB / 302.4 MB, free: 8.289 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002065/0.002064, allocations: 182.2 kB / 371 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.374/2.374, allocations: 205.4 MB / 0.6297 GB, free: 10.64 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009714/0.000971, allocations: 96.66 kB / 0.743 GB, free: 6.645 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007517/0.0007526, allocations: 12.42 kB / 0.8659 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2388/0.2396, allocations: 115.3 MB / 0.9785 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl): time 0.9499/1.19, allocations: 192.5 MB / 1.166 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.03027/1.22, allocations: 12.48 MB / 1.179 GB, free: 4.191 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002804/1.223, allocations: 53.94 kB / 1.179 GB, free: 4.168 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.003415/1.226, allocations: 0.5755 MB / 1.179 GB, free: 3.68 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.008654/1.235, allocations: 1.823 MB / 1.181 GB, free: 2.23 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.01314/1.248, allocations: 2.768 MB / 1.184 GB, free: 428 kB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.007857/1.256, allocations: 3.988 MB / 1.188 GB, free: 14.03 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002605/1.259, allocations: 0.995 MB / 1.189 GB, free: 13.41 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005376/1.264, allocations: 1.548 MB / 1.19 GB, free: 12.53 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003024/1.267, allocations: 1.055 MB / 1.191 GB, free: 11.91 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0006273/1.268, allocations: 62.41 kB / 1.191 GB, free: 11.91 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008655/1.276, allocations: 2.359 MB / 1.193 GB, free: 10.66 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.001241/1.278, allocations: 368.5 kB / 1.194 GB, free: 10.4 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.001258/1.279, allocations: 345.3 kB / 1.194 GB, free: 10.21 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.006426/1.285, allocations: 2.386 MB / 1.196 GB, free: 8.668 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 8.076e-06/1.286, allocations: 0 / 1.196 GB, free: 8.668 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.554e-06/1.286, allocations: 2.906 kB / 1.196 GB, free: 8.668 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 8.774e-05/1.286, allocations: 0 / 1.196 GB, free: 8.668 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 250 * Number of variables: 250 Notification: Performance of Generate backend data structure: time 0.008022/1.294, allocations: 2.095 MB / 1.199 GB, free: 7.105 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.067e-05/1.294, allocations: 10.75 kB / 1.199 GB, free: 7.105 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004948/1.294, allocations: 153 kB / 1.199 GB, free: 6.98 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004973/1.299, allocations: 0.5815 MB / 1.199 GB, free: 6.73 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004133/1.303, allocations: 1.201 MB / 1.2 GB, free: 5.805 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001195/1.305, allocations: 220.2 kB / 1.201 GB, free: 5.723 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003339/1.305, allocations: 117.2 kB / 1.201 GB, free: 5.684 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004502/1.31, allocations: 1.373 MB / 1.202 GB, free: 4.852 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.76e-05/1.31, allocations: 3.953 kB / 1.202 GB, free: 4.848 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001741/1.31, allocations: 41 kB / 1.202 GB, free: 4.816 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.121e-05/1.31, allocations: 43.67 kB / 1.202 GB, free: 4.812 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005703/1.316, allocations: 1.376 MB / 1.204 GB, free: 4.16 MB / 0.7292 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.01507/1.331, allocations: 5.345 MB / 1.209 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005427/1.336, allocations: 1.184 MB / 1.21 GB, free: 14.59 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002559/1.339, allocations: 0.5656 MB / 1.21 GB, free: 14.02 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001762/1.341, allocations: 0.7786 MB / 1.211 GB, free: 13.09 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002812/1.343, allocations: 0.6367 MB / 1.212 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=82): time 4.098e-06/1.343, allocations: 0 / 1.212 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of matching and sorting (n=82): time 0.008007/1.351, allocations: 1.663 MB / 1.213 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001075/1.352, allocations: 145.2 kB / 1.214 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002831/1.354, allocations: 1.331 MB / 1.215 GB, free: 9.262 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0002987/1.355, allocations: 49.7 kB / 1.215 GB, free: 9.207 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008671/1.356, allocations: 0.6467 MB / 1.216 GB, free: 8.555 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004777/1.356, allocations: 287.9 kB / 1.216 GB, free: 8.27 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000109/1.356, allocations: 20 kB / 1.216 GB, free: 8.25 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001782/1.357, allocations: 353.9 kB / 1.216 GB, free: 7.898 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002609/1.359, allocations: 0.5374 MB / 1.217 GB, free: 7.363 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002985/1.362, allocations: 0.8317 MB / 1.218 GB, free: 6.422 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002737/1.365, allocations: 0.6214 MB / 1.218 GB, free: 5.793 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.101e-05/1.365, allocations: 3.953 kB / 1.218 GB, free: 5.789 MB / 0.7448 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.006532/1.371, allocations: 1.555 MB / 1.22 GB, free: 4.223 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002497/1.372, allocations: 266.8 kB / 1.22 GB, free: 3.887 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.822e-05/1.372, allocations: 7.984 kB / 1.22 GB, free: 3.879 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.025e-05/1.372, allocations: 12 kB / 1.22 GB, free: 3.867 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003401/1.375, allocations: 347.5 kB / 1.22 GB, free: 3.527 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009574/1.376, allocations: 1.199 MB / 1.221 GB, free: 2.281 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00306/1.379, allocations: 238.7 kB / 1.222 GB, free: 2.047 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00025/1.38, allocations: 51.97 kB / 1.222 GB, free: 1.996 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/1.38, allocations: 12.05 kB / 1.222 GB, free: 1.984 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006009/1.386, allocations: 1.407 MB / 1.223 GB, free: 0.5703 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.093e-05/1.386, allocations: 8 kB / 1.223 GB, free: 0.5625 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.152e-05/1.386, allocations: 12 kB / 1.223 GB, free: 0.5508 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002804/1.389, allocations: 327.7 kB / 1.223 GB, free: 236 kB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.605e-05/1.389, allocations: 8 kB / 1.223 GB, free: 228 kB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002919/1.392, allocations: 229.7 kB / 1.224 GB, free: 0 / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002499/1.392, allocations: 52.06 kB / 1.224 GB, free: 15.95 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (135): * Single equations (assignments): 130 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * 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.001109/1.393, allocations: 420.8 kB / 1.224 GB, free: 15.52 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005675/1.394, allocations: 154.1 kB / 1.224 GB, free: 15.37 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006069/1.4, allocations: 1.385 MB / 1.226 GB, free: 13.98 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.153e-05/1.4, allocations: 12 kB / 1.226 GB, free: 13.97 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.917e-06/1.4, allocations: 96 / 1.226 GB, free: 13.97 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.008e-05/1.4, allocations: 11.92 kB / 1.226 GB, free: 13.96 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009623/1.409, allocations: 2.891 MB / 1.228 GB, free: 10.96 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.464e-05/1.409, allocations: 4 kB / 1.228 GB, free: 10.96 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002334/1.412, allocations: 243.7 kB / 1.229 GB, free: 10.72 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.912e-05/1.412, allocations: 8 kB / 1.229 GB, free: 10.71 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001292/1.412, allocations: 31.97 kB / 1.229 GB, free: 10.68 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007859/1.413, allocations: 1.191 MB / 1.23 GB, free: 9.445 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.792e-06/1.413, allocations: 4 kB / 1.23 GB, free: 9.441 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008478/1.421, allocations: 2.144 MB / 1.232 GB, free: 7.234 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001168/1.423, allocations: 374.7 kB / 1.232 GB, free: 6.848 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003689/1.423, allocations: 20 kB / 1.232 GB, free: 6.828 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002258/1.425, allocations: 139.8 kB / 1.233 GB, free: 6.691 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002539/1.426, allocations: 76.45 kB / 1.233 GB, free: 6.617 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001553/1.426, allocations: 43.91 kB / 1.233 GB, free: 6.574 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.002001/1.428, allocations: 0.8869 MB / 1.233 GB, free: 5.691 MB / 0.7605 GB Notification: Performance of sort global known variables: time 3.91e-07/1.428, allocations: 0 / 1.233 GB, free: 5.691 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.003551/1.431, allocations: 0.8309 MB / 1.234 GB, free: 4.859 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 4 (temSen.T,val.filter.x[1],val.filter.x[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.0107/1.442, allocations: 3.071 MB / 1.237 GB, free: 1.727 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.01002/1.452, allocations: 2.225 MB / 1.239 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.132e-05/1.452, allocations: 0.875 kB / 1.239 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.003241/1.455, allocations: 0.668 MB / 1.24 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006503/1.462, allocations: 0.6989 MB / 1.241 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0333/1.495, allocations: 9.633 MB / 1.25 GB, free: 4.023 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001121/1.496, allocations: 1.235 MB / 1.251 GB, free: 2.762 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.003331/1.5, allocations: 414 kB / 1.252 GB, free: 2.363 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001578/1.501, allocations: 0.5891 MB / 1.252 GB, free: 1.773 MB / 0.7761 GB Notification: Performance of SimCode: time 1.102e-06/1.501, allocations: 3.938 kB / 1.252 GB, free: 1.77 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1338/1.635, allocations: 43.72 MB / 1.295 GB, free: 6.562 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003184/1.636, allocations: 282.6 kB / 1.295 GB, free: 6.207 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.559/6.194, allocations: 0 / 1.295 GB, free: 6.207 MB / 0.823 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl.fmu > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe 2>&1)