Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.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.CoolingTowers.Validation.MerkelEnergyPlus,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_CoolingTowers_Validation_MerkelEnergyPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_CoolingTowers_Validation_MerkelEnergyPlus",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.736/2.736, allocations: 287.3 MB / 302.3 MB, free: 8.301 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.001606/0.001605, allocations: 181.9 kB / 370.8 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.316/2.316, allocations: 205.4 MB / 0.6295 GB, free: 10.62 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.001113/0.001113, allocations: 100.8 kB / 0.7428 GB, free: 6.633 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004778/0.0004779, allocations: 12.03 kB / 0.8657 GB, free: 140.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2115/0.212, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus): time 0.8955/1.108, allocations: 153 MB / 1.128 GB, free: 8.344 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.02264/1.13, allocations: 11.21 MB / 1.139 GB, free: 4.574 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002173/1.133, allocations: 25.12 kB / 1.139 GB, free: 4.562 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.00335/1.136, allocations: 471.2 kB / 1.139 GB, free: 4.387 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.01253/1.149, allocations: 1.866 MB / 1.141 GB, free: 3.578 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.007682/1.156, allocations: 1.178 MB / 1.142 GB, free: 3.012 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.004941/1.161, allocations: 1.466 MB / 1.144 GB, free: 2.23 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001866/1.163, allocations: 0.6092 MB / 1.144 GB, free: 2.012 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002601/1.166, allocations: 0.6476 MB / 1.145 GB, free: 1.711 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001638/1.168, allocations: 498.4 kB / 1.145 GB, free: 1.504 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0003055/1.168, allocations: 42.62 kB / 1.145 GB, free: 1.5 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007556/1.175, allocations: 1.608 MB / 1.147 GB, free: 1.066 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0009821/1.176, allocations: 263.5 kB / 1.147 GB, free: 0.957 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.000888/1.177, allocations: 249.5 kB / 1.147 GB, free: 0.8047 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.006965/1.184, allocations: 1.868 MB / 1.149 GB, free: 15.96 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/1.184, allocations: 0 / 1.149 GB, free: 15.96 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.206e-06/1.184, allocations: 0 / 1.149 GB, free: 15.96 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.907e-05/1.185, allocations: 1.125 kB / 1.149 GB, free: 15.96 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 143 * Number of variables: 143 Notification: Performance of Generate backend data structure: time 0.007105/1.192, allocations: 1.58 MB / 1.151 GB, free: 14.72 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.237e-05/1.192, allocations: 8.969 kB / 1.151 GB, free: 14.72 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004334/1.192, allocations: 102.3 kB / 1.151 GB, free: 14.63 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002386/1.195, allocations: 231 kB / 1.151 GB, free: 14.53 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006476/1.201, allocations: 1.791 MB / 1.153 GB, free: 13.4 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001148/1.201, allocations: 46.88 kB / 1.153 GB, free: 13.38 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002631/1.202, allocations: 65.53 kB / 1.153 GB, free: 13.36 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003273/1.205, allocations: 0.7297 MB / 1.154 GB, free: 12.91 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.461e-05/1.205, allocations: 9.594 kB / 1.154 GB, free: 12.9 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001703/1.205, allocations: 21.5 kB / 1.154 GB, free: 12.89 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.937e-05/1.205, allocations: 13.94 kB / 1.154 GB, free: 12.89 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003553/1.209, allocations: 0.7154 MB / 1.154 GB, free: 12.56 MB / 0.698 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.01242/1.221, allocations: 3.161 MB / 1.157 GB, free: 10.09 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004258/1.226, allocations: 0.7254 MB / 1.158 GB, free: 9.746 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01094/1.237, allocations: 3.603 MB / 1.162 GB, free: 6.004 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001761/1.238, allocations: 363.9 kB / 1.162 GB, free: 5.789 MB / 0.698 GB Notification: Performance of pre-optimization done (n=52): time 5.721e-06/1.239, allocations: 3.938 kB / 1.162 GB, free: 5.785 MB / 0.698 GB Notification: Performance of matching and sorting (n=52): time 0.01412/1.253, allocations: 1.464 MB / 1.163 GB, free: 5.082 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.489e-05/1.253, allocations: 88.27 kB / 1.164 GB, free: 4.984 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006867/1.26, allocations: 2.065 MB / 1.166 GB, free: 3.992 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002841/1.26, allocations: 43.83 kB / 1.166 GB, free: 3.949 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001048/1.261, allocations: 0.4888 MB / 1.166 GB, free: 3.52 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005038/1.262, allocations: 180.7 kB / 1.166 GB, free: 3.363 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001003/1.262, allocations: 11.19 kB / 1.166 GB, free: 3.355 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002557/1.262, allocations: 331.2 kB / 1.167 GB, free: 3.031 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001097/1.263, allocations: 290 kB / 1.167 GB, free: 2.902 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001382/1.265, allocations: 0.5782 MB / 1.167 GB, free: 2.547 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001129/1.266, allocations: 335.8 kB / 1.168 GB, free: 2.391 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/1.266, allocations: 6.625 kB / 1.168 GB, free: 2.387 MB / 0.698 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.003598/1.269, allocations: 0.9672 MB / 1.169 GB, free: 1.906 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005242/1.27, allocations: 0.9675 MB / 1.17 GB, free: 0.8789 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.113e-05/1.27, allocations: 5.219 kB / 1.17 GB, free: 0.8789 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.517/3.787, allocations: 193.5 MB / 1.359 GB, free: 5.305 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001084/3.788, allocations: 139.8 kB / 1.359 GB, free: 5.168 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002297/3.79, allocations: 1.284 MB / 1.36 GB, free: 3.836 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002/3.792, allocations: 103.4 kB / 1.36 GB, free: 3.734 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002006/3.793, allocations: 35.98 kB / 1.36 GB, free: 3.699 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/3.793, allocations: 4 kB / 1.36 GB, free: 3.695 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003322/3.796, allocations: 0.8388 MB / 1.361 GB, free: 2.848 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/3.796, allocations: 4.031 kB / 1.361 GB, free: 2.844 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.106/6.902, allocations: 193.5 MB / 1.55 GB, free: 263.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000983/6.903, allocations: 124.9 kB / 1.55 GB, free: 263.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001932/6.905, allocations: 1.288 MB / 1.551 GB, free: 262.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001797/6.907, allocations: 104.3 kB / 1.551 GB, free: 262.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000162/6.907, allocations: 32.3 kB / 1.551 GB, free: 262.1 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.datRea.nextTimeEvent,datRea.nextTimeEvent,$PRE.datRea.nextTimeEventScaled,datRea.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 6,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0009022/6.908, allocations: 371.9 kB / 1.552 GB, free: 261.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004113/6.908, allocations: 115.1 kB / 1.552 GB, free: 261.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003255/6.911, allocations: 0.9248 MB / 1.553 GB, free: 261.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.728e-05/6.912, allocations: 4 kB / 1.553 GB, free: 261.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/6.912, allocations: 7.25 kB / 1.553 GB, free: 261.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002377/6.914, allocations: 0.9598 MB / 1.554 GB, free: 260.1 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007399/6.921, allocations: 2.074 MB / 1.556 GB, free: 258 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.381e-05/6.921, allocations: 0 / 1.556 GB, free: 258 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006907/6.922, allocations: 80 kB / 1.556 GB, free: 257.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.182/8.105, allocations: 96.84 MB / 1.65 GB, free: 160.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001879/8.105, allocations: 19.98 kB / 1.65 GB, free: 160.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001508/8.106, allocations: 0.7514 MB / 1.651 GB, free: 160.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/8.106, allocations: 0 / 1.651 GB, free: 160.2 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006228/8.113, allocations: 1.482 MB / 1.653 GB, free: 158.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001036/8.114, allocations: 312.1 kB / 1.653 GB, free: 158.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002685/8.114, allocations: 18.31 kB / 1.653 GB, free: 158.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00113/8.115, allocations: 48.02 kB / 1.653 GB, free: 158.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001378/8.115, allocations: 40.34 kB / 1.653 GB, free: 158.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001063/8.115, allocations: 31.97 kB / 1.653 GB, free: 158.2 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.002524/8.118, allocations: 1.546 MB / 1.655 GB, free: 156.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.21e-07/8.118, allocations: 0 / 1.655 GB, free: 156.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00351/8.121, allocations: 0.721 MB / 1.655 GB, free: 156 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (tow.vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,datRea.nextTimeEvent,datRea.nextTimeEventScaled) * Number of discrete states: 2 (datRea.nextTimeEvent,datRea.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (50): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.009762/8.131, allocations: 3.082 MB / 1.658 GB, free: 153.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003931/8.135, allocations: 1.136 MB / 1.659 GB, free: 152.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 8.025e-06/8.135, allocations: 0 / 1.659 GB, free: 152.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001176/8.137, allocations: 356.8 kB / 1.66 GB, free: 151.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004002/8.141, allocations: 484.1 kB / 1.66 GB, free: 151.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00777/8.148, allocations: 4.492 MB / 1.665 GB, free: 146.7 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007009/8.149, allocations: 1.118 MB / 1.666 GB, free: 145.6 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.00188/8.151, allocations: 287.7 kB / 1.666 GB, free: 145.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001031/8.152, allocations: 435.3 kB / 1.666 GB, free: 144.9 MB / 0.948 GB Notification: Performance of SimCode: time 1.503e-06/8.152, allocations: 0 / 1.666 GB, free: 144.9 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1444/8.296, allocations: 37.03 MB / 1.703 GB, free: 108.3 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002538/8.297, allocations: 281.5 kB / 1.703 GB, free: 108 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.114/12.41, allocations: 0 / 1.703 GB, free: 108 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatExchangers_CoolingTowers_Validation_MerkelEnergyPlus_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatExchangers_CoolingTowers_Validation_MerkelEnergyPlus.fmu > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.pipe 2>&1)