Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS_Fluid_HeatExchangers_Validation_WetCoilEffectivenessNTU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU,fileNamePrefix="IDEAS_dev_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.00152/0.00152, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001909/0.001909, allocations: 192.9 kB / 16.25 MB, free: 6.621 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.918/1.918, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.083/1.083, allocations: 135.1 MB / 425.2 MB, free: 11.86 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001462/0.001462, allocations: 72.66 kB / 0.505 GB, free: 5.555 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1911/0.1926, allocations: 80.92 MB / 0.584 GB, free: 4.797 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU): time 1.019/1.212, allocations: 365.5 MB / 0.9409 GB, free: 24.96 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.04079/1.253, allocations: 33.06 MB / 0.9732 GB, free: 23.83 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008011/1.261, allocations: 143.4 kB / 0.9733 GB, free: 23.83 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.008692/1.269, allocations: 2.049 MB / 0.9753 GB, free: 23.31 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.02003/1.29, allocations: 6.984 MB / 0.9821 GB, free: 20.5 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.01095/1.301, allocations: 4.159 MB / 0.9862 GB, free: 18.02 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.01488/1.315, allocations: 11.04 MB / 0.997 GB, free: 12.3 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005681/1.321, allocations: 3.929 MB / 1.001 GB, free: 8.434 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01492/1.336, allocations: 5.477 MB / 1.006 GB, free: 3.852 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005963/1.342, allocations: 3.559 MB / 1.01 GB, free: 0.6406 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.001203/1.343, allocations: 0.5469 MB / 1.01 GB, free: 96 kB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01542/1.359, allocations: 7.008 MB / 1.017 GB, free: 9.844 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.002423/1.361, allocations: 1.468 MB / 1.018 GB, free: 8.402 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.005626/1.367, allocations: 2.839 MB / 1.021 GB, free: 5.578 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.02014/1.387, allocations: 10.01 MB / 1.031 GB, free: 12.04 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 7.874e-06/1.387, allocations: 0 / 1.031 GB, free: 12.04 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.555e-06/1.387, allocations: 0 / 1.031 GB, free: 12.04 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0002328/1.387, allocations: 0 / 1.031 GB, free: 12.04 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.01743/1.405, allocations: 5.927 MB / 1.037 GB, free: 6.062 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 6.152e-05/1.405, allocations: 8.031 kB / 1.037 GB, free: 6.055 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001067/1.406, allocations: 462.5 kB / 1.037 GB, free: 5.594 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03116/1.437, allocations: 4.28 MB / 1.041 GB, free: 1.312 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008362/1.445, allocations: 3.591 MB / 1.045 GB, free: 13.74 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001453/1.447, allocations: 0.5163 MB / 1.045 GB, free: 13.21 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001002/1.448, allocations: 358.4 kB / 1.046 GB, free: 12.87 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01538/1.463, allocations: 5.718 MB / 1.051 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.55e-05/1.463, allocations: 3.938 kB / 1.051 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004757/1.464, allocations: 138.5 kB / 1.052 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001266/1.464, allocations: 138.5 kB / 1.052 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02289/1.487, allocations: 6.836 MB / 1.058 GB, free: 15.95 MB / 0.7325 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.05171/1.539, allocations: 22.22 MB / 1.08 GB, free: 8.793 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01282/1.552, allocations: 4.059 MB / 1.084 GB, free: 4.742 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007666/1.559, allocations: 2.262 MB / 1.086 GB, free: 2.48 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01861/1.578, allocations: 8.174 MB / 1.094 GB, free: 10 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008483/1.586, allocations: 2.4 MB / 1.097 GB, free: 7.594 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=230): time 6.092e-06/1.586, allocations: 0 / 1.097 GB, free: 7.594 MB / 0.7637 GB Notification: Performance of matching and sorting (n=230): time 0.03826/1.625, allocations: 8.429 MB / 1.105 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.461e-05/1.625, allocations: 81.33 kB / 1.105 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01068/1.636, allocations: 4.28 MB / 1.109 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0007926/1.636, allocations: 77.7 kB / 1.109 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.002144/1.639, allocations: 1.826 MB / 1.111 GB, free: 8.73 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.001514/1.64, allocations: 0.7932 MB / 1.112 GB, free: 7.945 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003617/1.644, allocations: 0.808 MB / 1.112 GB, free: 7.129 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001094/1.644, allocations: 301.1 kB / 1.113 GB, free: 6.832 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01018/1.654, allocations: 2.742 MB / 1.115 GB, free: 4.09 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01121/1.665, allocations: 3.419 MB / 1.119 GB, free: 452 kB / 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.02124/1.687, allocations: 5.972 MB / 1.125 GB, free: 10.23 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-05/1.687, allocations: 4 kB / 1.125 GB, free: 10.23 MB / 0.795 GB Notification: Performance of matching and sorting (n=448) (initialization): time 0.03324/1.72, allocations: 7.589 MB / 1.132 GB, free: 2.574 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 4.192e-05/1.72, allocations: 12.09 kB / 1.132 GB, free: 2.562 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.231e-05/1.72, allocations: 16 kB / 1.132 GB, free: 2.547 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00459/1.725, allocations: 0.9743 MB / 1.133 GB, free: 1.547 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01002/1.735, allocations: 1.415 MB / 1.134 GB, free: 136 kB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01964/1.754, allocations: 14.54 MB / 1.149 GB, free: 0.5078 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01247/1.767, allocations: 1.289 MB / 1.15 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001495/1.768, allocations: 187.8 kB / 1.15 GB, free: 15.03 MB / 0.8262 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.004362/1.773, allocations: 0.8542 MB / 1.151 GB, free: 14.17 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00231/1.775, allocations: 418.8 kB / 1.151 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02407/1.799, allocations: 5.789 MB / 1.157 GB, free: 7.941 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.293e-05/1.799, allocations: 24 kB / 1.157 GB, free: 7.918 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.528e-06/1.799, allocations: 7.922 kB / 1.157 GB, free: 7.91 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.332e-05/1.799, allocations: 19.91 kB / 1.157 GB, free: 7.891 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3326/2.132, allocations: 10.91 MB / 1.168 GB, free: 357.1 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.839e-05/2.132, allocations: 6.156 kB / 1.168 GB, free: 357.1 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00505/2.137, allocations: 0.6693 MB / 1.168 GB, free: 357.1 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003251/2.14, allocations: 0.7585 MB / 1.169 GB, free: 357.1 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007775/2.141, allocations: 83.84 kB / 1.169 GB, free: 357.1 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01232/2.153, allocations: 11.69 MB / 1.18 GB, free: 347.9 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/2.153, allocations: 3.219 kB / 1.18 GB, free: 347.9 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02681/2.18, allocations: 8.217 MB / 1.188 GB, free: 345.2 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00272/2.183, allocations: 1.052 MB / 1.19 GB, free: 344.7 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001062/2.184, allocations: 45.25 kB / 1.19 GB, free: 344.7 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006759/2.191, allocations: 0.6068 MB / 1.19 GB, free: 344.7 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004584/2.191, allocations: 165.2 kB / 1.19 GB, free: 344.6 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003412/2.192, allocations: 114.7 kB / 1.19 GB, free: 344.6 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.005932/2.198, allocations: 2.952 MB / 1.193 GB, free: 343.6 MB / 0.8262 GB Notification: Performance of sort global known variables: time 3.71e-07/2.198, allocations: 0 / 1.193 GB, free: 343.6 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.006959/2.205, allocations: 1.555 MB / 1.195 GB, free: 343.5 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.03207/2.237, allocations: 9.595 MB / 1.204 GB, free: 339.9 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.02775/2.265, allocations: 7.06 MB / 1.211 GB, free: 337.7 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.175e-05/2.265, allocations: 1.375 kB / 1.211 GB, free: 337.7 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.01012/2.275, allocations: 3.026 MB / 1.214 GB, free: 336.3 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01502/2.29, allocations: 2.107 MB / 1.216 GB, free: 335.8 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1808/2.471, allocations: 48.1 MB / 1.263 GB, free: 308.7 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001628/2.472, allocations: 2.306 MB / 1.265 GB, free: 307.3 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.007546/2.48, allocations: 1.044 MB / 1.266 GB, free: 306.4 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003606/2.484, allocations: 1.803 MB / 1.268 GB, free: 304.8 MB / 0.8262 GB Notification: Performance of SimCode: time 6.81e-07/2.484, allocations: 0 / 1.268 GB, free: 304.8 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.703/3.187, allocations: 127.7 MB / 1.393 GB, free: 180.4 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001796/3.187, allocations: 289.9 kB / 1.393 GB, free: 180 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.854/11.04, allocations: 0 / 1.393 GB, free: 180 MB / 0.8262 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatExchangers_Validation_WetCoilEffectivenessNTU_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatExchangers_Validation_WetCoilEffectivenessNTU.fmu > IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe 2>&1)