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.664/1.664, allocations: 289.7 MB / 302.3 MB, free: 2.23 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.001371/0.001371, allocations: 183.8 kB / 371.6 MB, free: 3.371 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.626/1.626, allocations: 205.1 MB / 0.6309 GB, free: 11.79 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.0008736/0.0008737, allocations: 92.45 kB / 0.745 GB, free: 54.57 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.844e-05/3.846e-05, allocations: 4 kB / 0.8663 GB, free: 15 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2575/0.2576, allocations: 116.3 MB / 0.9799 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.679/6.936, allocations: 2.355 GB / 3.335 GB, free: 197.4 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002284/6.937, allocations: 88.3 kB / 3.335 GB, free: 197.3 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.099/10.04, allocations: 0.9148 GB / 4.25 GB, free: 10.31 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.393e-06/10.04, allocations: 0 / 4.25 GB, free: 10.31 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.000135/10.04, allocations: 39.98 kB / 4.25 GB, free: 10.27 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.006708/10.04, allocations: 1.917 MB / 4.252 GB, free: 8.293 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.609e-05/10.04, allocations: 15.97 kB / 4.252 GB, free: 8.277 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003199/10.04, allocations: 147.1 kB / 4.252 GB, free: 8.129 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003342/10.05, allocations: 0.5211 MB / 4.252 GB, free: 7.605 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003587/10.05, allocations: 1.2 MB / 4.254 GB, free: 6.352 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007015/10.05, allocations: 213.9 kB / 4.254 GB, free: 6.141 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002591/10.05, allocations: 100 kB / 4.254 GB, free: 6.043 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002349/10.05, allocations: 1.145 MB / 4.255 GB, free: 4.875 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.947e-05/10.05, allocations: 4 kB / 4.255 GB, free: 4.871 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001076/10.05, allocations: 32 kB / 4.255 GB, free: 4.84 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.096e-05/10.05, allocations: 45.92 kB / 4.255 GB, free: 4.793 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001988/10.06, allocations: 1.05 MB / 4.256 GB, free: 3.742 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.8609/10.92, allocations: 5.005 MB / 4.261 GB, free: 118.7 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00158/10.92, allocations: 0.7813 MB / 4.262 GB, free: 118.6 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007508/10.92, allocations: 470.9 kB / 4.262 GB, free: 118.6 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0011/10.92, allocations: 0.8366 MB / 4.263 GB, free: 117.8 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001001/10.92, allocations: 0.5845 MB / 4.264 GB, free: 117.7 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=85): time 4.458e-06/10.92, allocations: 5.688 kB / 4.264 GB, free: 117.7 MB / 0.9636 GB Notification: Performance of matching and sorting (n=85): time 0.002625/10.92, allocations: 1.094 MB / 4.265 GB, free: 117.6 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.861e-05/10.92, allocations: 117.4 kB / 4.265 GB, free: 117.4 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001628/10.93, allocations: 0.8949 MB / 4.266 GB, free: 117.3 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0001319/10.93, allocations: 46.42 kB / 4.266 GB, free: 117.3 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005214/10.93, allocations: 0.5206 MB / 4.266 GB, free: 117.1 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002827/10.93, allocations: 281.2 kB / 4.266 GB, free: 117 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.312e-05/10.93, allocations: 17.03 kB / 4.266 GB, free: 117 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001053/10.93, allocations: 347.5 kB / 4.267 GB, free: 116.7 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00083/10.93, allocations: 395.9 kB / 4.267 GB, free: 116.7 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001013/10.93, allocations: 0.6026 MB / 4.268 GB, free: 116.5 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009086/10.93, allocations: 497.9 kB / 4.268 GB, free: 116.4 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.459e-06/10.93, allocations: 1.281 kB / 4.268 GB, free: 116.4 MB / 0.9636 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.0028/10.93, allocations: 1.271 MB / 4.269 GB, free: 116.2 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003563/10.93, allocations: 1.12 MB / 4.271 GB, free: 115.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.342e-05/10.93, allocations: 2.281 kB / 4.271 GB, free: 115.1 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.539e-05/10.93, allocations: 7.391 kB / 4.271 GB, free: 115.1 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001462/10.93, allocations: 266.3 kB / 4.271 GB, free: 115.1 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.127e-05/10.93, allocations: 10.34 kB / 4.271 GB, free: 115.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001809/10.94, allocations: 215.6 kB / 4.271 GB, free: 115 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001709/10.94, allocations: 58.55 kB / 4.271 GB, free: 115 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/10.94, allocations: 4.844 kB / 4.271 GB, free: 115 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002484/10.94, allocations: 1.181 MB / 4.272 GB, free: 114.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/10.94, allocations: 3.875 kB / 4.272 GB, free: 114.9 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/10.94, allocations: 9.344 kB / 4.272 GB, free: 114.9 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001355/10.94, allocations: 262.8 kB / 4.272 GB, free: 114.9 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.353e-05/10.94, allocations: 11.17 kB / 4.272 GB, free: 114.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001632/10.94, allocations: 199.6 kB / 4.273 GB, free: 114.9 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001565/10.94, allocations: 52.31 kB / 4.273 GB, free: 114.9 MB / 0.9636 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 () * 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.0004521/10.94, allocations: 235 kB / 4.273 GB, free: 114.8 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003622/10.94, allocations: 126.8 kB / 4.273 GB, free: 114.7 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00297/10.95, allocations: 1.295 MB / 4.274 GB, free: 114.5 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-05/10.95, allocations: 8.594 kB / 4.274 GB, free: 114.5 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.538e-06/10.95, allocations: 4.859 kB / 4.274 GB, free: 114.5 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.693e-05/10.95, allocations: 7.859 kB / 4.274 GB, free: 114.5 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005858/10.95, allocations: 2.767 MB / 4.277 GB, free: 114 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.029e-05/10.95, allocations: 4.062 kB / 4.277 GB, free: 114 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001125/10.95, allocations: 208.1 kB / 4.277 GB, free: 114 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.68e-05/10.95, allocations: 6.594 kB / 4.277 GB, free: 114 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.469e-05/10.95, allocations: 31.28 kB / 4.277 GB, free: 114 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-05/10.95, allocations: 8.672 kB / 4.277 GB, free: 114 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.306e-06/10.95, allocations: 6.406 kB / 4.277 GB, free: 114 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003643/10.96, allocations: 2.136 MB / 4.279 GB, free: 113.4 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000853/10.96, allocations: 358.1 kB / 4.28 GB, free: 113.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001892/10.96, allocations: 26.55 kB / 4.28 GB, free: 113.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001297/10.96, allocations: 143.2 kB / 4.28 GB, free: 113.3 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001761/10.96, allocations: 55.98 kB / 4.28 GB, free: 113.3 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001194/10.96, allocations: 51.17 kB / 4.28 GB, free: 113.3 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.001104/10.96, allocations: 0.6837 MB / 4.281 GB, free: 113.2 MB / 0.9636 GB Notification: Performance of sort global known variables: time 4.71e-07/10.96, allocations: 2.5 kB / 4.281 GB, free: 113.2 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.003828/10.96, allocations: 1.003 MB / 4.282 GB, free: 113.1 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.008088/10.97, allocations: 5.635 MB / 4.287 GB, free: 110.7 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.003306/10.98, allocations: 1.902 MB / 4.289 GB, free: 110.4 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 6.603e-06/10.98, allocations: 0 / 4.289 GB, free: 110.4 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0009093/10.98, allocations: 0.6594 MB / 4.29 GB, free: 110.3 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003252/10.98, allocations: 0.5005 MB / 4.29 GB, free: 110.3 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005973/10.99, allocations: 2.161 MB / 4.292 GB, free: 109.7 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009358/10.99, allocations: 1.185 MB / 4.293 GB, free: 109 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.002698/10.99, allocations: 432.7 kB / 4.294 GB, free: 109 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009038/10.99, allocations: 484.5 kB / 4.294 GB, free: 109 MB / 0.9636 GB Notification: Performance of SimCode: time 1.633e-06/10.99, allocations: 0 / 4.294 GB, free: 109 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1369/11.13, allocations: 69.13 MB / 4.362 GB, free: 107.7 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001666/11.13, allocations: 211.9 kB / 4.362 GB, free: 107.5 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.152/16.28, allocations: 1.062 kB / 4.362 GB, free: 107.5 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)