Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUMassFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.382/1.382, allocations: 251.9 MB / 266.9 MB, free: 11 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001209/0.001209, allocations: 182.1 kB / 326.5 MB, free: 2.215 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.778/1.778, allocations: 205.4 MB / 0.5775 GB, free: 20.25 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009136/0.0009136, allocations: 97.11 kB / 0.6821 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003616/0.0003616, allocations: 12.81 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2383/0.2387, allocations: 106.3 MB / 0.9001 GB, free: 63.78 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.517/5.756, allocations: 2.471 GB / 3.371 GB, free: 38.89 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002524/5.756, allocations: 90.14 kB / 3.371 GB, free: 38.84 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 3.198/8.955, allocations: 0.8895 GB / 4.261 GB, free: 142.5 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.465e-06/8.955, allocations: 0 / 4.261 GB, free: 142.5 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001266/8.955, allocations: 37.44 kB / 4.261 GB, free: 142.5 MB / 0.8855 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.006107/8.961, allocations: 2.138 MB / 4.263 GB, free: 141.2 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/8.961, allocations: 8.141 kB / 4.263 GB, free: 141.2 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002632/8.961, allocations: 142.7 kB / 4.263 GB, free: 141.2 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003014/8.964, allocations: 0.5223 MB / 4.264 GB, free: 141.1 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002831/8.967, allocations: 1.215 MB / 4.265 GB, free: 140.7 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006109/8.968, allocations: 214 kB / 4.265 GB, free: 140.7 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001921/8.968, allocations: 98.19 kB / 4.265 GB, free: 140.7 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002382/8.97, allocations: 1.287 MB / 4.266 GB, free: 140.6 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.926e-05/8.97, allocations: 0 / 4.266 GB, free: 140.6 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001033/8.97, allocations: 34.78 kB / 4.266 GB, free: 140.6 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.913e-05/8.971, allocations: 39.94 kB / 4.266 GB, free: 140.6 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002657/8.973, allocations: 1.324 MB / 4.268 GB, free: 140.6 MB / 0.8855 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.008156/8.981, allocations: 5.019 MB / 4.273 GB, free: 138.6 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002613/8.984, allocations: 1.068 MB / 4.274 GB, free: 138.5 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009369/8.985, allocations: 0.8392 MB / 4.274 GB, free: 137.7 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001328/8.986, allocations: 0.7092 MB / 4.275 GB, free: 137.6 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=85): time 2.866e-06/8.986, allocations: 3.344 kB / 4.275 GB, free: 137.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=85): time 0.004165/8.99, allocations: 1.994 MB / 4.277 GB, free: 137.2 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.668e-05/8.991, allocations: 120.3 kB / 4.277 GB, free: 137.1 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001195/8.992, allocations: 0.9045 MB / 4.278 GB, free: 136.9 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001362/8.992, allocations: 43.8 kB / 4.278 GB, free: 136.9 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003949/8.992, allocations: 0.53 MB / 4.279 GB, free: 136.7 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.000213/8.993, allocations: 273 kB / 4.279 GB, free: 136.5 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.464e-05/8.993, allocations: 19.97 kB / 4.279 GB, free: 136.5 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 7.306e-05/8.993, allocations: 345.7 kB / 4.279 GB, free: 136.2 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001195/8.994, allocations: 0.5186 MB / 4.28 GB, free: 136.2 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001258/8.995, allocations: 0.7403 MB / 4.28 GB, free: 136 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001242/8.996, allocations: 0.612 MB / 4.281 GB, free: 135.9 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/8.996, allocations: 0 / 4.281 GB, free: 135.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.003123/9, allocations: 1.545 MB / 4.283 GB, free: 135.7 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002143/9, allocations: 1.124 MB / 4.284 GB, free: 134.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/9, allocations: 4 kB / 4.284 GB, free: 134.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.132e-05/9, allocations: 7.656 kB / 4.284 GB, free: 134.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001232/9.001, allocations: 267.1 kB / 4.284 GB, free: 134.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.103e-05/9.001, allocations: 6.406 kB / 4.284 GB, free: 134.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001509/9.003, allocations: 215.6 kB / 4.284 GB, free: 134.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001198/9.003, allocations: 53.52 kB / 4.284 GB, free: 134.5 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 7.604e-06/9.003, allocations: 4.406 kB / 4.284 GB, free: 134.5 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002835/9.006, allocations: 1.463 MB / 4.286 GB, free: 134.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/9.006, allocations: 3.25 kB / 4.286 GB, free: 134.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.645e-06/9.006, allocations: 10.98 kB / 4.286 GB, free: 134.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001208/9.007, allocations: 263.9 kB / 4.286 GB, free: 134.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.788e-06/9.007, allocations: 10.42 kB / 4.286 GB, free: 134.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001284/9.008, allocations: 201.3 kB / 4.286 GB, free: 134.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.902e-05/9.008, allocations: 49.3 kB / 4.286 GB, free: 134.3 MB / 0.8855 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 () * Number of clocked 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.0006604/9.009, allocations: 461.3 kB / 4.287 GB, free: 134 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002019/9.009, allocations: 133.1 kB / 4.287 GB, free: 134 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002986/9.012, allocations: 1.555 MB / 4.288 GB, free: 133.8 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.147e-05/9.012, allocations: 7.5 kB / 4.288 GB, free: 133.8 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/9.012, allocations: 0 / 4.288 GB, free: 133.8 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.716e-06/9.012, allocations: 3.891 kB / 4.288 GB, free: 133.8 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004684/9.017, allocations: 3.03 MB / 4.291 GB, free: 133.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.511e-06/9.017, allocations: 0 / 4.291 GB, free: 133.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009882/9.018, allocations: 209 kB / 4.291 GB, free: 133.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.819e-06/9.018, allocations: 6.156 kB / 4.291 GB, free: 133.2 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.03e-05/9.018, allocations: 38.91 kB / 4.291 GB, free: 133.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.504e-06/9.018, allocations: 15.98 kB / 4.291 GB, free: 133.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/9.018, allocations: 3.719 kB / 4.291 GB, free: 133.2 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004104/9.022, allocations: 2.511 MB / 4.294 GB, free: 132 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005716/9.023, allocations: 368.5 kB / 4.294 GB, free: 131.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001701/9.023, allocations: 24 kB / 4.294 GB, free: 131.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001167/9.024, allocations: 136.6 kB / 4.294 GB, free: 131.6 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001137/9.024, allocations: 62.48 kB / 4.294 GB, free: 131.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.368e-05/9.024, allocations: 47.69 kB / 4.294 GB, free: 131.5 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0008251/9.025, allocations: 0.7044 MB / 4.295 GB, free: 130.8 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.51e-07/9.025, allocations: 0 / 4.295 GB, free: 130.8 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002721/9.028, allocations: 1.01 MB / 4.296 GB, free: 129.8 MB / 0.8855 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) * Number of clocked states: 0 () * 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.007353/9.035, allocations: 6.013 MB / 4.302 GB, free: 123.7 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.004201/9.039, allocations: 2.278 MB / 4.304 GB, free: 121.4 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/9.039, allocations: 0 / 4.304 GB, free: 121.4 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001262/9.041, allocations: 0.7801 MB / 4.305 GB, free: 120.6 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002388/9.043, allocations: 0.5124 MB / 4.306 GB, free: 120.1 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006702/9.05, allocations: 5.213 MB / 4.311 GB, free: 114.7 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006042/9.05, allocations: 1.184 MB / 4.312 GB, free: 113.5 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001647/9.052, allocations: 356.6 kB / 4.312 GB, free: 113.2 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006269/9.053, allocations: 495.2 kB / 4.313 GB, free: 112.7 MB / 0.8855 GB Notification: Performance of SimCode: time 8.01e-07/9.053, allocations: 0 / 4.313 GB, free: 112.7 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07804/9.131, allocations: 62.22 MB / 4.373 GB, free: 51.3 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001762/9.131, allocations: 247 kB / 4.374 GB, free: 50.96 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.072/13.2, allocations: 0 / 4.374 GB, free: 50.96 MB / 0.8855 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUMassFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUMassFlow.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe 2>&1)