Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUMassFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.627/1.627, allocations: 289.9 MB / 297.4 MB, free: 6.336 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.001076/0.001076, allocations: 180.8 kB / 366.7 MB, free: 1.656 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.549/1.549, allocations: 205.3 MB / 0.626 GB, free: 7.141 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001014/0.001014, allocations: 95.06 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.396e-05/2.39e-05, allocations: 4 kB / 0.8598 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7349/0.735, allocations: 116.3 MB / 0.9733 GB, free: 76.17 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.56/7.295, allocations: 2.354 GB / 3.328 GB, free: 85.92 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002549/7.295, allocations: 89.39 kB / 3.328 GB, free: 85.88 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.245/11.54, allocations: 0.9059 GB / 4.234 GB, free: 162.2 MB / 0.9636 GB Notification: Performance of FrontEnd: time 3.006e-06/11.54, allocations: 0 / 4.234 GB, free: 162.2 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0001442/11.54, allocations: 41.7 kB / 4.234 GB, free: 162.2 MB / 0.9636 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.005838/11.55, allocations: 1.916 MB / 4.236 GB, free: 161.4 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.37e-05/11.55, allocations: 8.312 kB / 4.236 GB, free: 161.4 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003119/11.55, allocations: 0.5202 MB / 4.236 GB, free: 161.3 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003013/11.55, allocations: 1.208 MB / 4.237 GB, free: 161 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006339/11.55, allocations: 169 kB / 4.237 GB, free: 161 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001645/11.55, allocations: 63.72 kB / 4.238 GB, free: 161 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001752/11.56, allocations: 0.9538 MB / 4.238 GB, free: 161 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001707/11.56, allocations: 1.024 MB / 4.239 GB, free: 160.9 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.332e-05/11.56, allocations: 0 / 4.239 GB, free: 160.9 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.808e-05/11.56, allocations: 0.6875 kB / 4.239 GB, free: 160.9 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.606e-05/11.56, allocations: 37.5 kB / 4.24 GB, free: 160.9 MB / 0.9636 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.008681/11.57, allocations: 4.893 MB / 4.244 GB, free: 159 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001163/11.57, allocations: 0.8209 MB / 4.245 GB, free: 158.9 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005698/11.57, allocations: 450.3 kB / 4.246 GB, free: 158.9 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001042/11.57, allocations: 0.8368 MB / 4.246 GB, free: 158 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008006/11.57, allocations: 0.6196 MB / 4.247 GB, free: 157.9 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=85): time 2.805e-06/11.57, allocations: 0 / 4.247 GB, free: 157.9 MB / 0.9636 GB Notification: Performance of matching and sorting (n=85): time 0.002875/11.57, allocations: 1.123 MB / 4.248 GB, free: 157.8 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.118e-05/11.57, allocations: 150.8 kB / 4.248 GB, free: 157.6 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001052/11.57, allocations: 0.7339 MB / 4.249 GB, free: 157.5 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 9.917e-05/11.57, allocations: 29.11 kB / 4.249 GB, free: 157.4 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.000481/11.57, allocations: 0.5318 MB / 4.249 GB, free: 157.3 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002528/11.57, allocations: 269.1 kB / 4.25 GB, free: 157.1 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.331e-05/11.57, allocations: 0 / 4.25 GB, free: 157.1 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001113/11.57, allocations: 339.1 kB / 4.25 GB, free: 156.8 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000556/11.58, allocations: 388.7 kB / 4.25 GB, free: 156.8 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007116/11.58, allocations: 0.5927 MB / 4.251 GB, free: 156.6 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001397/11.58, allocations: 0.5446 MB / 4.252 GB, free: 156.6 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/11.58, allocations: 2.656 kB / 4.252 GB, free: 156.6 MB / 0.9636 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.002705/11.58, allocations: 1.29 MB / 4.253 GB, free: 156.5 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.00039/11.58, allocations: 1.203 MB / 4.254 GB, free: 155.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.292e-05/11.58, allocations: 3.688 kB / 4.254 GB, free: 155.2 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.802e-05/11.58, allocations: 8.031 kB / 4.254 GB, free: 155.2 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001338/11.58, allocations: 271.1 kB / 4.254 GB, free: 155.2 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.201e-05/11.58, allocations: 7.75 kB / 4.254 GB, free: 155.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001687/11.58, allocations: 184.4 kB / 4.254 GB, free: 155.2 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001435/11.58, allocations: 50.34 kB / 4.254 GB, free: 155.2 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.301e-05/11.58, allocations: 7.625 kB / 4.254 GB, free: 155.2 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002462/11.59, allocations: 1.177 MB / 4.256 GB, free: 155.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.759e-06/11.59, allocations: 15.22 kB / 4.256 GB, free: 155.2 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/11.59, allocations: 6.844 kB / 4.256 GB, free: 155.2 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001293/11.59, allocations: 264.8 kB / 4.256 GB, free: 155.2 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.141e-05/11.59, allocations: 10.38 kB / 4.256 GB, free: 155.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001535/11.59, allocations: 175.5 kB / 4.256 GB, free: 155.2 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001269/11.59, allocations: 55 kB / 4.256 GB, free: 155.2 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 () * 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.0004138/11.59, allocations: 192.4 kB / 4.256 GB, free: 155 MB / 0.9636 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002478/11.59, allocations: 1.127 MB / 4.257 GB, free: 154.9 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000208/11.59, allocations: 130.5 kB / 4.258 GB, free: 154.8 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002937/11.6, allocations: 1.276 MB / 4.259 GB, free: 154.7 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.687e-05/11.6, allocations: 10.41 kB / 4.259 GB, free: 154.7 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/11.6, allocations: 3.031 kB / 4.259 GB, free: 154.7 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.138e-05/11.6, allocations: 3.703 kB / 4.259 GB, free: 154.7 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005153/11.6, allocations: 2.713 MB / 4.261 GB, free: 154.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.295e-06/11.6, allocations: 2.188 kB / 4.261 GB, free: 154.2 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009895/11.6, allocations: 206.8 kB / 4.262 GB, free: 154.2 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.268e-05/11.6, allocations: 6.469 kB / 4.262 GB, free: 154.2 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.798e-05/11.6, allocations: 30.97 kB / 4.262 GB, free: 154.2 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.335e-06/11.6, allocations: 6.531 kB / 4.262 GB, free: 154.2 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.187e-05/11.6, allocations: 11.25 kB / 4.262 GB, free: 154.2 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003402/11.61, allocations: 2.122 MB / 4.264 GB, free: 153.7 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006717/11.61, allocations: 350.3 kB / 4.264 GB, free: 153.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001798/11.61, allocations: 13.91 kB / 4.264 GB, free: 153.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00121/11.61, allocations: 124.8 kB / 4.264 GB, free: 153.5 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001513/11.61, allocations: 68.53 kB / 4.264 GB, free: 153.5 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001044/11.61, allocations: 54.95 kB / 4.264 GB, free: 153.5 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0007933/11.61, allocations: 0.5549 MB / 4.265 GB, free: 153.4 MB / 0.9636 GB Notification: Performance of sort global known variables: time 2.51e-07/11.61, allocations: 0 / 4.265 GB, free: 153.4 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.003388/11.61, allocations: 0.9349 MB / 4.266 GB, free: 153.3 MB / 0.9636 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) * 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.008027/11.62, allocations: 5.827 MB / 4.271 GB, free: 150.8 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.002726/11.62, allocations: 1.85 MB / 4.273 GB, free: 150.5 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 6.643e-06/11.62, allocations: 3.844 kB / 4.273 GB, free: 150.5 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0007895/11.62, allocations: 0.6395 MB / 4.274 GB, free: 150.4 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002462/11.63, allocations: 428.8 kB / 4.274 GB, free: 150.4 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005145/11.63, allocations: 2.077 MB / 4.276 GB, free: 149.7 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006414/11.63, allocations: 1.18 MB / 4.278 GB, free: 149 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.00195/11.63, allocations: 403 kB / 4.278 GB, free: 149 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006686/11.63, allocations: 478.1 kB / 4.278 GB, free: 149 MB / 0.9636 GB Notification: Performance of SimCode: time 8.01e-07/11.63, allocations: 0 / 4.278 GB, free: 149 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09759/11.73, allocations: 47.05 MB / 4.324 GB, free: 146.9 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003159/11.73, allocations: 192.6 kB / 4.324 GB, free: 146.8 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.328/16.06, allocations: 0 / 4.324 GB, free: 146.8 MB / 0.9636 GB (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUMassFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUMassFlow.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe 2>&1)