Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_Validation_WetCoilEffectivenessNTU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_Validation_WetCoilEffectivenessNTU",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008113/0.008113, allocations: 100.9 kB / 15.73 MB, free: 5.988 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001842/0.001842, allocations: 192.5 kB / 16.67 MB, free: 5.91 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.347/1.347, allocations: 222.9 MB / 240.4 MB, free: 4.164 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7455/0.7455, allocations: 132.2 MB / 422.7 MB, free: 1.617 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00204/0.00204, allocations: 71.11 kB / 0.5809 GB, free: 1.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2008/0.2029, allocations: 80.21 MB / 0.6592 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU): time 0.7235/0.9264, allocations: 369.7 MB / 1.02 GB, free: 14.72 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.04674/0.9732, allocations: 33.25 MB / 1.053 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007368/0.9806, allocations: 151.1 kB / 1.053 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.007073/0.9877, allocations: 2.446 MB / 1.055 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.02053/1.008, allocations: 7.814 MB / 1.063 GB, free: 2.934 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.01163/1.02, allocations: 4.564 MB / 1.067 GB, free: 14.41 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.01604/1.036, allocations: 11.06 MB / 1.078 GB, free: 3.312 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007554/1.044, allocations: 3.976 MB / 1.082 GB, free: 15.27 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01445/1.058, allocations: 5.564 MB / 1.087 GB, free: 9.762 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006838/1.065, allocations: 3.441 MB / 1.091 GB, free: 6.32 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.002155/1.067, allocations: 0.5508 MB / 1.091 GB, free: 5.77 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01637/1.083, allocations: 6.814 MB / 1.098 GB, free: 14.94 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.003667/1.087, allocations: 1.46 MB / 1.099 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.007334/1.095, allocations: 2.835 MB / 1.102 GB, free: 10.63 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.02029/1.115, allocations: 9.77 MB / 1.112 GB, free: 0.832 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/1.115, allocations: 0 / 1.112 GB, free: 0.832 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.174e-06/1.115, allocations: 4 kB / 1.112 GB, free: 0.8281 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.0002922/1.115, allocations: 0 / 1.112 GB, free: 0.8281 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 851 * Number of variables: 851 Notification: Performance of Generate backend data structure: time 0.01794/1.133, allocations: 5.943 MB / 1.118 GB, free: 10.78 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.971e-05/1.133, allocations: 8.031 kB / 1.118 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001284/1.134, allocations: 451.8 kB / 1.118 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02916/1.164, allocations: 4.282 MB / 1.122 GB, free: 6.027 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009443/1.173, allocations: 3.689 MB / 1.126 GB, free: 2.273 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004522/1.174, allocations: 309 kB / 1.126 GB, free: 1.961 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001639/1.175, allocations: 359.9 kB / 1.126 GB, free: 1.609 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01558/1.191, allocations: 5.689 MB / 1.132 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.417e-05/1.191, allocations: 4 kB / 1.132 GB, free: 11.83 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004385/1.191, allocations: 140 kB / 1.132 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001275/1.192, allocations: 134.5 kB / 1.132 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0204/1.212, allocations: 6.798 MB / 1.139 GB, free: 4.754 MB / 0.8575 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.4006/1.613, allocations: 22.13 MB / 1.16 GB, free: 346.3 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.011/1.624, allocations: 4.063 MB / 1.164 GB, free: 344.9 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006413/1.63, allocations: 2.266 MB / 1.167 GB, free: 344.2 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01476/1.645, allocations: 8.185 MB / 1.175 GB, free: 338.7 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006422/1.651, allocations: 2.397 MB / 1.177 GB, free: 337.4 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=230): time 6.662e-06/1.651, allocations: 0 / 1.177 GB, free: 337.4 MB / 0.8575 GB Notification: Performance of matching and sorting (n=230): time 0.03025/1.682, allocations: 8.429 MB / 1.185 GB, free: 333.2 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.658e-05/1.682, allocations: 79.28 kB / 1.185 GB, free: 333.1 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006699/1.688, allocations: 4.271 MB / 1.189 GB, free: 330.9 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0007953/1.689, allocations: 77.17 kB / 1.19 GB, free: 330.9 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.001247/1.691, allocations: 1.824 MB / 1.191 GB, free: 329.3 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008743/1.691, allocations: 0.7953 MB / 1.192 GB, free: 328.6 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001509/1.693, allocations: 0.8082 MB / 1.193 GB, free: 328.1 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.953e-05/1.693, allocations: 304.7 kB / 1.193 GB, free: 327.8 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007335/1.7, allocations: 2.718 MB / 1.196 GB, free: 326.5 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007864/1.708, allocations: 3.41 MB / 1.199 GB, free: 323.4 MB / 0.8575 GB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.01633/1.725, allocations: 5.933 MB / 1.205 GB, free: 317.3 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.88e-05/1.725, allocations: 7.938 kB / 1.205 GB, free: 317.3 MB / 0.8575 GB Notification: Performance of matching and sorting (n=448) (initialization): time 0.02452/1.749, allocations: 7.556 MB / 1.212 GB, free: 309.7 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.601e-05/1.749, allocations: 16.06 kB / 1.212 GB, free: 309.6 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.654e-05/1.749, allocations: 16 kB / 1.212 GB, free: 309.6 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003519/1.753, allocations: 0.9679 MB / 1.213 GB, free: 308.7 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008169/1.761, allocations: 1.412 MB / 1.215 GB, free: 307.3 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01304/1.774, allocations: 14.44 MB / 1.229 GB, free: 291.7 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009604/1.784, allocations: 1.172 MB / 1.23 GB, free: 290.6 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008958/1.785, allocations: 183.8 kB / 1.23 GB, free: 290.4 MB / 0.8575 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: hexWetNTU.UAFroRated.TAirIn = 293.15 hexWetNTU.UAFroRated.TWatIn = 293.15. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 67 * Number of states: 0 () * Number of discrete variables: 13 (hexWetNTU.UAFroRated.isFulWet,hexWetNTU.UAFroRated.isFulDry,hexWetNTU.flowRegime_nominal,hexWetNTU_TX.flowRegime_nominal,$PRE.w_a2.nextTimeEvent,$whenCondition1,hexWetNTU_TX.UAFroRated.isFulWet,hexWetNTU_TX.UAFroRated.isFulDry,w_a2.nextTimeEventScaled,$PRE.w_a2.nextTimeEventScaled,w_a2.nextTimeEvent,hexWetNTU_TX.flowRegime,hexWetNTU.flowRegime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (418): * Single equations (assignments): 403 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 9 systems {(1,1), (1,3), (1,2), (1,2), (1,4), (1,2), (1,4), (1,2), (5,2)} Notification: Performance of prepare postOptimizeDAE: time 0.002052/1.787, allocations: 0.8636 MB / 1.231 GB, free: 289.5 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001219/1.788, allocations: 414.8 kB / 1.231 GB, free: 289.1 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01749/1.805, allocations: 5.788 MB / 1.237 GB, free: 283.3 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.421e-05/1.805, allocations: 24 kB / 1.237 GB, free: 283.3 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/1.805, allocations: 3.984 kB / 1.237 GB, free: 283.3 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.199e-05/1.806, allocations: 7.969 kB / 1.237 GB, free: 283.3 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02556/1.831, allocations: 10.92 MB / 1.248 GB, free: 272.3 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.959e-05/1.831, allocations: 8.031 kB / 1.248 GB, free: 272.2 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004463/1.836, allocations: 0.6592 MB / 1.248 GB, free: 271.6 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002917/1.839, allocations: 0.7829 MB / 1.249 GB, free: 270.8 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007224/1.839, allocations: 83.91 kB / 1.249 GB, free: 270.7 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01076/1.85, allocations: 11.68 MB / 1.261 GB, free: 258.1 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/1.85, allocations: 7.938 kB / 1.261 GB, free: 258.1 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02485/1.875, allocations: 8.198 MB / 1.269 GB, free: 249.8 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002875/1.878, allocations: 1.057 MB / 1.27 GB, free: 248.8 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001218/1.879, allocations: 47.94 kB / 1.27 GB, free: 248.7 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005975/1.885, allocations: 0.5267 MB / 1.27 GB, free: 248.2 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000568/1.886, allocations: 165.7 kB / 1.27 GB, free: 248 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004296/1.886, allocations: 111.9 kB / 1.27 GB, free: 247.9 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.005326/1.891, allocations: 2.943 MB / 1.273 GB, free: 245 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.31e-07/1.892, allocations: 0 / 1.273 GB, free: 245 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.005588/1.897, allocations: 1.533 MB / 1.275 GB, free: 243.5 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 8 (relHumIn.phi,TDryBulIn.T,senMasFraIn.X,senMasFraOut.X,TDryBulOut.T,hexWetNTU.dryWetCalcs.fullyWet.TWatOutEst,relHumOut_eps.phi,hexWetNTU_TX.dryWetCalcs.fullyWet.TWatOutEst) * Number of discrete variables: 5 ($whenCondition1,hexWetNTU.flowRegime,hexWetNTU_TX.flowRegime,w_a2.nextTimeEvent,w_a2.nextTimeEventScaled) * Number of discrete states: 2 (w_a2.nextTimeEvent,w_a2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (227): * Single equations (assignments): 214 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 8 systems {(1,4), (1,2), (1,4), (1,2), (1,1), (1,1), (1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.02505/1.922, allocations: 9.613 MB / 1.284 GB, free: 234 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.01886/1.941, allocations: 6.39 MB / 1.29 GB, free: 227.6 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 8.857e-06/1.941, allocations: 8.188 kB / 1.29 GB, free: 227.6 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.007434/1.949, allocations: 3.038 MB / 1.293 GB, free: 224.5 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00946/1.958, allocations: 2.095 MB / 1.295 GB, free: 222.5 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09596/2.054, allocations: 39.6 MB / 1.334 GB, free: 182.2 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001668/2.056, allocations: 2.294 MB / 1.336 GB, free: 179.9 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.005654/2.061, allocations: 1.038 MB / 1.337 GB, free: 178.9 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003088/2.065, allocations: 1.807 MB / 1.339 GB, free: 177.1 MB / 0.8575 GB Notification: Performance of SimCode: time 9.32e-07/2.065, allocations: 0 / 1.339 GB, free: 177.1 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2038/2.268, allocations: 125.9 MB / 1.462 GB, free: 52.09 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.44/22.71, allocations: 19.42 kB / 1.462 GB, free: 52.07 MB / 0.8575 GB (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatExchangers_Validation_WetCoilEffectivenessNTU_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatExchangers_Validation_WetCoilEffectivenessNTU.fmu > IDEAS_IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe 2>&1)