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.001106/0.001106, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001166/0.001166, allocations: 191.8 kB / 16.25 MB, free: 6.633 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.249/1.249, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7058/0.7058, allocations: 132.2 MB / 422.3 MB, free: 1.945 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001146/0.001146, allocations: 54.95 kB / 0.5013 GB, free: 8.996 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1287/0.1298, allocations: 80.2 MB / 0.5797 GB, free: 9.016 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU): time 0.7761/0.906, allocations: 365.5 MB / 0.9366 GB, free: 25.02 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.03252/0.9385, allocations: 33.05 MB / 0.9689 GB, free: 24.34 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005109/0.9437, allocations: 141.1 kB / 0.969 GB, free: 24.34 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.00483/0.9486, allocations: 2.056 MB / 0.971 GB, free: 24.29 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01684/0.9654, allocations: 6.977 MB / 0.9778 GB, free: 22.42 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.008671/0.9741, allocations: 4.167 MB / 0.9819 GB, free: 19.93 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.01055/0.9847, allocations: 11.05 MB / 0.9927 GB, free: 15.56 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003798/0.9885, allocations: 3.931 MB / 0.9965 GB, free: 11.7 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01191/1, allocations: 5.474 MB / 1.002 GB, free: 7.125 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00463/1.005, allocations: 3.56 MB / 1.005 GB, free: 3.918 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0006679/1.006, allocations: 0.5469 MB / 1.006 GB, free: 3.371 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01078/1.017, allocations: 7.016 MB / 1.013 GB, free: 13.5 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001311/1.018, allocations: 1.455 MB / 1.014 GB, free: 12.07 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.003378/1.021, allocations: 2.839 MB / 1.017 GB, free: 9.246 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01568/1.037, allocations: 10 MB / 1.027 GB, free: 15.71 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/1.037, allocations: 0 / 1.027 GB, free: 15.71 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.492e-06/1.037, allocations: 0 / 1.027 GB, free: 15.71 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 8.104e-05/1.037, allocations: 3.984 kB / 1.027 GB, free: 15.71 MB / 0.7012 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.01106/1.048, allocations: 5.921 MB / 1.032 GB, free: 9.738 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/1.048, allocations: 12.03 kB / 1.033 GB, free: 9.727 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004945/1.049, allocations: 465.8 kB / 1.033 GB, free: 9.262 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02857/1.077, allocations: 4.289 MB / 1.037 GB, free: 4.973 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006735/1.084, allocations: 3.587 MB / 1.041 GB, free: 1.402 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001335/1.085, allocations: 0.5202 MB / 1.041 GB, free: 0.875 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007718/1.086, allocations: 354.2 kB / 1.041 GB, free: 0.5312 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01369/1.1, allocations: 5.717 MB / 1.047 GB, free: 10.73 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.916e-05/1.1, allocations: 3.938 kB / 1.047 GB, free: 10.73 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004217/1.1, allocations: 139.2 kB / 1.047 GB, free: 10.6 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001117/1.1, allocations: 138.5 kB / 1.047 GB, free: 10.46 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01911/1.12, allocations: 6.833 MB / 1.054 GB, free: 3.617 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.0355/1.155, allocations: 22.23 MB / 1.076 GB, free: 12.45 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01066/1.166, allocations: 4.065 MB / 1.08 GB, free: 8.387 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006289/1.172, allocations: 2.27 MB / 1.082 GB, free: 6.117 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01284/1.185, allocations: 8.169 MB / 1.09 GB, free: 13.65 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006682/1.192, allocations: 2.389 MB / 1.092 GB, free: 11.25 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=230): time 4.177e-06/1.192, allocations: 0 / 1.092 GB, free: 11.25 MB / 0.7637 GB Notification: Performance of matching and sorting (n=230): time 0.03086/1.223, allocations: 8.438 MB / 1.1 GB, free: 2.676 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.227e-05/1.223, allocations: 73.41 kB / 1.101 GB, free: 2.594 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007814/1.23, allocations: 4.276 MB / 1.105 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0005089/1.231, allocations: 77.7 kB / 1.105 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.001549/1.233, allocations: 1.829 MB / 1.107 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009615/1.234, allocations: 0.7924 MB / 1.107 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00189/1.235, allocations: 0.8109 MB / 1.108 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.162e-05/1.236, allocations: 305.1 kB / 1.108 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008421/1.244, allocations: 2.739 MB / 1.111 GB, free: 7.738 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009305/1.253, allocations: 3.42 MB / 1.114 GB, free: 4.086 MB / 0.7794 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.0177/1.271, allocations: 5.959 MB / 1.12 GB, free: 13.89 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.66e-05/1.271, allocations: 4 kB / 1.12 GB, free: 13.89 MB / 0.795 GB Notification: Performance of matching and sorting (n=448) (initialization): time 0.02495/1.296, allocations: 7.593 MB / 1.128 GB, free: 6.23 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 4.194e-05/1.296, allocations: 16.09 kB / 1.128 GB, free: 6.215 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.186e-05/1.296, allocations: 12 kB / 1.128 GB, free: 6.203 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004024/1.3, allocations: 0.982 MB / 1.129 GB, free: 5.195 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008714/1.309, allocations: 1.415 MB / 1.13 GB, free: 3.781 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01586/1.325, allocations: 14.53 MB / 1.144 GB, free: 4.168 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0101/1.335, allocations: 1.289 MB / 1.145 GB, free: 2.875 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008209/1.336, allocations: 187.8 kB / 1.146 GB, free: 2.691 MB / 0.8106 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.002313/1.338, allocations: 0.8556 MB / 1.146 GB, free: 1.828 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001331/1.339, allocations: 418.8 kB / 1.147 GB, free: 1.414 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01998/1.359, allocations: 5.801 MB / 1.153 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.501e-05/1.359, allocations: 27.98 kB / 1.153 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/1.359, allocations: 4 kB / 1.153 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-05/1.359, allocations: 15.95 kB / 1.153 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02615/1.386, allocations: 10.91 MB / 1.163 GB, free: 0.5352 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.246e-05/1.386, allocations: 4 kB / 1.163 GB, free: 0.5312 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.2447/1.63, allocations: 0.6641 MB / 1.164 GB, free: 361.9 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003012/1.633, allocations: 0.764 MB / 1.165 GB, free: 361.8 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006796/1.634, allocations: 80.69 kB / 1.165 GB, free: 361.8 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01089/1.645, allocations: 11.69 MB / 1.176 GB, free: 352.7 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/1.645, allocations: 9.75 kB / 1.176 GB, free: 352.7 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02347/1.669, allocations: 8.209 MB / 1.184 GB, free: 350.3 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001991/1.671, allocations: 1.053 MB / 1.185 GB, free: 349.8 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007681/1.671, allocations: 46.25 kB / 1.185 GB, free: 349.8 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005555/1.677, allocations: 0.6045 MB / 1.186 GB, free: 349.8 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003837/1.677, allocations: 168.9 kB / 1.186 GB, free: 349.7 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000285/1.678, allocations: 110.2 kB / 1.186 GB, free: 349.7 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.004838/1.682, allocations: 2.95 MB / 1.189 GB, free: 348.7 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.11e-07/1.682, allocations: 0 / 1.189 GB, free: 348.7 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.00576/1.688, allocations: 1.547 MB / 1.191 GB, free: 348.6 MB / 0.8262 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.02515/1.713, allocations: 9.605 MB / 1.2 GB, free: 345.1 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.02271/1.736, allocations: 7.049 MB / 1.207 GB, free: 342.9 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 8.005e-06/1.736, allocations: 2.281 kB / 1.207 GB, free: 342.9 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.007661/1.744, allocations: 3.034 MB / 1.21 GB, free: 341.5 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008554/1.752, allocations: 2.101 MB / 1.212 GB, free: 341 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1225/1.875, allocations: 48.11 MB / 1.259 GB, free: 314.1 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00203/1.877, allocations: 2.3 MB / 1.261 GB, free: 313.2 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.006659/1.884, allocations: 1.045 MB / 1.262 GB, free: 312.8 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002994/1.887, allocations: 1.806 MB / 1.264 GB, free: 311.2 MB / 0.8262 GB Notification: Performance of SimCode: time 7.41e-07/1.887, allocations: 0 / 1.264 GB, free: 311.2 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2237/2.11, allocations: 127.7 MB / 1.389 GB, free: 187.6 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001668/2.111, allocations: 285.9 kB / 1.389 GB, free: 187.2 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.001/8.111, allocations: 0 / 1.389 GB, free: 187.2 MB / 0.8262 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)