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.001337/0.001337, allocations: 90.75 kB / 15.36 MB, free: 0.7383 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.00582/0.00582, allocations: 172.7 kB / 16.26 MB, free: 6.613 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.305/1.305, allocations: 223.2 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7353/0.7353, allocations: 132.3 MB / 423.7 MB, free: 1.957 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003202/0.0003202, allocations: 8 kB / 0.5041 GB, free: 3.789 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3584/0.3587, allocations: 81.58 MB / 0.5837 GB, free: 3.863 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU): time 0.5851/0.9439, allocations: 362.2 MB / 0.9374 GB, free: 23.77 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.0341/0.978, allocations: 33.21 MB / 0.9699 GB, free: 10.33 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005565/0.9836, allocations: 133.4 kB / 0.97 GB, free: 10.25 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.005335/0.989, allocations: 1.933 MB / 0.9719 GB, free: 8.965 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01665/1.006, allocations: 6.932 MB / 0.9786 GB, free: 4.02 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.008625/1.014, allocations: 4.099 MB / 0.9827 GB, free: 380 kB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.01532/1.03, allocations: 13.62 MB / 0.9959 GB, free: 3.027 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00487/1.035, allocations: 3.182 MB / 0.9991 GB, free: 15.84 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.013/1.048, allocations: 4.614 MB / 1.004 GB, free: 11.53 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005686/1.053, allocations: 3.215 MB / 1.007 GB, free: 8.527 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0008319/1.054, allocations: 192 kB / 1.007 GB, free: 8.34 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01362/1.068, allocations: 7.203 MB / 1.014 GB, free: 1.824 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.001708/1.069, allocations: 1.077 MB / 1.015 GB, free: 0.7695 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.003377/1.073, allocations: 2.433 MB / 1.017 GB, free: 14.35 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01246/1.085, allocations: 9.57 MB / 1.027 GB, free: 5.242 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/1.085, allocations: 4 kB / 1.027 GB, free: 5.238 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.924e-06/1.085, allocations: 3.938 kB / 1.027 GB, free: 5.234 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 5.397e-05/1.085, allocations: 0 / 1.027 GB, free: 5.234 MB / 0.6856 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.009515/1.095, allocations: 4.955 MB / 1.032 GB, free: 236 kB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/1.095, allocations: 12.03 kB / 1.032 GB, free: 224 kB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005463/1.096, allocations: 459.6 kB / 1.032 GB, free: 15.76 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02789/1.123, allocations: 4.556 MB / 1.036 GB, free: 11.2 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005921/1.129, allocations: 3.602 MB / 1.04 GB, free: 7.617 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001407/1.131, allocations: 0.5629 MB / 1.041 GB, free: 7.051 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006511/1.131, allocations: 355.9 kB / 1.041 GB, free: 6.703 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01287/1.144, allocations: 5.82 MB / 1.047 GB, free: 0.8047 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.292e-05/1.144, allocations: 0 / 1.047 GB, free: 0.8047 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004079/1.145, allocations: 132 kB / 1.047 GB, free: 0.6758 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001083/1.145, allocations: 138.5 kB / 1.047 GB, free: 0.5391 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01918/1.164, allocations: 7.042 MB / 1.054 GB, free: 9.492 MB / 0.7169 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.03712/1.201, allocations: 22.47 MB / 1.076 GB, free: 2.086 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01111/1.212, allocations: 4.15 MB / 1.08 GB, free: 13.94 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006648/1.219, allocations: 2.328 MB / 1.082 GB, free: 11.61 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0138/1.233, allocations: 8.199 MB / 1.09 GB, free: 3.105 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006828/1.24, allocations: 2.463 MB / 1.092 GB, free: 0.6328 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=230): time 4.278e-06/1.24, allocations: 0 / 1.092 GB, free: 0.6328 MB / 0.7481 GB Notification: Performance of matching and sorting (n=230): time 0.03153/1.271, allocations: 8.698 MB / 1.101 GB, free: 7.801 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.827e-05/1.271, allocations: 73.41 kB / 1.101 GB, free: 7.715 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007438/1.279, allocations: 4.311 MB / 1.105 GB, free: 3.387 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0005245/1.279, allocations: 73.7 kB / 1.105 GB, free: 3.309 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.001477/1.281, allocations: 1.824 MB / 1.107 GB, free: 1.48 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008999/1.282, allocations: 0.7944 MB / 1.108 GB, free: 0.6953 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005476/1.282, allocations: 313.1 kB / 1.108 GB, free: 392 kB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 8.316e-05/1.282, allocations: 305.1 kB / 1.108 GB, free: 84 kB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2568/1.539, allocations: 2.827 MB / 1.111 GB, free: 326.9 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009992/1.549, allocations: 3.507 MB / 1.115 GB, free: 325.8 MB / 0.7637 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.01821/1.568, allocations: 6.109 MB / 1.12 GB, free: 323.4 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.129e-05/1.568, allocations: 4.625 kB / 1.12 GB, free: 323.4 MB / 0.7637 GB Notification: Performance of matching and sorting (n=448) (initialization): time 0.0278/1.595, allocations: 7.807 MB / 1.128 GB, free: 321.2 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 3.688e-05/1.595, allocations: 10.22 kB / 1.128 GB, free: 321.2 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.379e-05/1.596, allocations: 15.53 kB / 1.128 GB, free: 321.2 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004016/1.6, allocations: 0.9883 MB / 1.129 GB, free: 321 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008387/1.608, allocations: 1.435 MB / 1.131 GB, free: 321 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01289/1.621, allocations: 13.8 MB / 1.144 GB, free: 308.6 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01007/1.631, allocations: 1.359 MB / 1.145 GB, free: 308.4 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005992/1.632, allocations: 181 kB / 1.145 GB, free: 308.4 MB / 0.7637 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: 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.001839/1.633, allocations: 0.8654 MB / 1.146 GB, free: 307.9 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008422/1.634, allocations: 420.9 kB / 1.147 GB, free: 307.8 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01905/1.653, allocations: 5.938 MB / 1.153 GB, free: 305.7 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.822e-05/1.653, allocations: 27.89 kB / 1.153 GB, free: 305.7 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.772e-06/1.653, allocations: 3.938 kB / 1.153 GB, free: 305.7 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.382e-05/1.653, allocations: 17.41 kB / 1.153 GB, free: 305.7 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02401/1.677, allocations: 11.08 MB / 1.163 GB, free: 298.7 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.266e-05/1.677, allocations: 4.281 kB / 1.163 GB, free: 298.7 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004379/1.682, allocations: 0.7005 MB / 1.164 GB, free: 298.5 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00336/1.685, allocations: 0.803 MB / 1.165 GB, free: 297.9 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000408/1.686, allocations: 79.91 kB / 1.165 GB, free: 297.9 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01075/1.696, allocations: 11.04 MB / 1.176 GB, free: 286 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/1.696, allocations: 4 kB / 1.176 GB, free: 286 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02486/1.721, allocations: 8.424 MB / 1.184 GB, free: 277.4 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002303/1.724, allocations: 1.14 MB / 1.185 GB, free: 276.3 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007566/1.724, allocations: 47.94 kB / 1.185 GB, free: 276.3 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005819/1.73, allocations: 0.6563 MB / 1.186 GB, free: 275.6 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003545/1.731, allocations: 161.4 kB / 1.186 GB, free: 275.5 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002554/1.731, allocations: 119.8 kB / 1.186 GB, free: 275.3 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.004804/1.736, allocations: 2.974 MB / 1.189 GB, free: 272.4 MB / 0.7637 GB Notification: Performance of sort global known variables: time 2.71e-07/1.736, allocations: 0 / 1.189 GB, free: 272.4 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.003971/1.74, allocations: 1.547 MB / 1.19 GB, free: 270.9 MB / 0.7637 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.02538/1.765, allocations: 9.839 MB / 1.2 GB, free: 261.3 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.01885/1.784, allocations: 6.513 MB / 1.206 GB, free: 254.7 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 6.151e-06/1.784, allocations: 0 / 1.206 GB, free: 254.7 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.007408/1.791, allocations: 3.099 MB / 1.209 GB, free: 251.5 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01145/1.803, allocations: 2.057 MB / 1.211 GB, free: 249.5 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1196/1.922, allocations: 48.83 MB / 1.259 GB, free: 197.5 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001419/1.924, allocations: 2.306 MB / 1.261 GB, free: 195.2 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.005784/1.93, allocations: 1.039 MB / 1.262 GB, free: 194.2 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002544/1.932, allocations: 1.815 MB / 1.264 GB, free: 192.3 MB / 0.7637 GB Notification: Performance of SimCode: time 6.81e-07/1.932, allocations: 3.938 kB / 1.264 GB, free: 192.3 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.794/3.727, allocations: 128.1 MB / 1.389 GB, free: 65.41 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001778/3.727, allocations: 287.5 kB / 1.39 GB, free: 65.03 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.413/10.14, allocations: 64 / 1.39 GB, free: 65.03 MB / 0.7637 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)