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.001135/0.001135, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00117/0.00117, allocations: 191.5 kB / 16.13 MB, free: 6.703 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.173/1.173, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8086/0.8086, allocations: 135.1 MB / 425.1 MB, free: 11.9 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001065/0.001065, allocations: 63.66 kB / 0.5048 GB, free: 5.66 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1162/0.1173, allocations: 80.93 MB / 0.5838 GB, free: 4.895 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU): time 0.7511/0.8684, allocations: 367.1 MB / 0.9423 GB, free: 24.94 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.03205/0.9005, allocations: 33.58 MB / 0.9751 GB, free: 23.16 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005442/0.906, allocations: 139.8 kB / 0.9753 GB, free: 23.16 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.005027/0.911, allocations: 1.942 MB / 0.9772 GB, free: 22.71 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01438/0.9254, allocations: 6.923 MB / 0.9839 GB, free: 19.7 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.007969/0.9334, allocations: 4.114 MB / 0.9879 GB, free: 17.21 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.01077/0.9442, allocations: 13.61 MB / 1.001 GB, free: 8.383 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004262/0.9485, allocations: 3.28 MB / 1.004 GB, free: 5.164 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01102/0.9595, allocations: 4.731 MB / 1.009 GB, free: 1.25 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005058/0.9646, allocations: 3.365 MB / 1.012 GB, free: 14.24 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0009853/0.9656, allocations: 240 kB / 1.013 GB, free: 14.01 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01222/0.9778, allocations: 7.24 MB / 1.02 GB, free: 7.488 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001401/0.9792, allocations: 1.158 MB / 1.021 GB, free: 6.355 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.003715/0.983, allocations: 2.509 MB / 1.023 GB, free: 3.863 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01163/0.9946, allocations: 9.76 MB / 1.033 GB, free: 10.57 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.9946, allocations: 0 / 1.033 GB, free: 10.57 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.243e-06/0.9946, allocations: 0 / 1.033 GB, free: 10.57 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 5.675e-05/0.9947, allocations: 0 / 1.033 GB, free: 10.57 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.01051/1.005, allocations: 5.934 MB / 1.039 GB, free: 4.59 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/1.005, allocations: 15.97 kB / 1.039 GB, free: 4.574 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004785/1.006, allocations: 451.8 kB / 1.039 GB, free: 4.121 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02795/1.034, allocations: 4.286 MB / 1.043 GB, free: 15.84 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006162/1.04, allocations: 3.58 MB / 1.047 GB, free: 12.27 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001253/1.041, allocations: 0.5223 MB / 1.047 GB, free: 11.74 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005949/1.042, allocations: 358.3 kB / 1.048 GB, free: 11.39 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01314/1.055, allocations: 5.714 MB / 1.053 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.13e-05/1.055, allocations: 3.938 kB / 1.053 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004076/1.055, allocations: 134.7 kB / 1.053 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001049/1.056, allocations: 134.5 kB / 1.053 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01908/1.075, allocations: 6.852 MB / 1.06 GB, free: 14.48 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.03442/1.109, allocations: 22.21 MB / 1.082 GB, free: 7.32 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01043/1.119, allocations: 4.062 MB / 1.086 GB, free: 3.27 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006381/1.126, allocations: 2.27 MB / 1.088 GB, free: 1 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01274/1.139, allocations: 8.17 MB / 1.096 GB, free: 8.527 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006468/1.145, allocations: 2.393 MB / 1.098 GB, free: 6.125 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=230): time 4.168e-06/1.145, allocations: 0 / 1.098 GB, free: 6.125 MB / 0.7637 GB Notification: Performance of matching and sorting (n=230): time 0.02955/1.175, allocations: 8.432 MB / 1.106 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.422e-05/1.175, allocations: 81.34 kB / 1.107 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006619/1.181, allocations: 4.282 MB / 1.111 GB, free: 9.168 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.00044/1.182, allocations: 73.7 kB / 1.111 GB, free: 9.09 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.001322/1.183, allocations: 1.833 MB / 1.113 GB, free: 7.254 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007469/1.184, allocations: 0.7958 MB / 1.113 GB, free: 6.465 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001454/1.185, allocations: 0.8024 MB / 1.114 GB, free: 5.656 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 6.898e-05/1.186, allocations: 301.1 kB / 1.114 GB, free: 5.359 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007902/1.193, allocations: 2.739 MB / 1.117 GB, free: 2.617 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00847/1.202, allocations: 3.423 MB / 1.12 GB, free: 14.97 MB / 0.795 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.01646/1.218, allocations: 5.965 MB / 1.126 GB, free: 8.762 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.245e-05/1.218, allocations: 4 kB / 1.126 GB, free: 8.758 MB / 0.795 GB Notification: Performance of matching and sorting (n=448) (initialization): time 0.02367/1.242, allocations: 7.589 MB / 1.134 GB, free: 1.109 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.501e-05/1.242, allocations: 14.81 kB / 1.134 GB, free: 1.098 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.997e-05/1.242, allocations: 15.98 kB / 1.134 GB, free: 1.082 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003708/1.246, allocations: 0.964 MB / 1.135 GB, free: 92 kB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007817/1.254, allocations: 1.423 MB / 1.136 GB, free: 14.67 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0141/1.268, allocations: 13.72 MB / 1.149 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008861/1.277, allocations: 1.288 MB / 1.151 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004075/1.277, allocations: 179.8 kB / 1.151 GB, free: 14.44 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.001651/1.279, allocations: 0.8634 MB / 1.152 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008978/1.28, allocations: 422.8 kB / 1.152 GB, free: 13.15 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01894/1.299, allocations: 5.784 MB / 1.158 GB, free: 7.336 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.069e-05/1.299, allocations: 28 kB / 1.158 GB, free: 7.309 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/1.299, allocations: 0 / 1.158 GB, free: 7.309 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.936e-05/1.299, allocations: 15.95 kB / 1.158 GB, free: 7.293 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2308/1.53, allocations: 10.92 MB / 1.168 GB, free: 357.7 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.789e-06/1.53, allocations: 3.406 kB / 1.168 GB, free: 357.7 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003934/1.533, allocations: 0.6658 MB / 1.169 GB, free: 357.7 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003045/1.537, allocations: 0.7759 MB / 1.17 GB, free: 357.6 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002248/1.537, allocations: 87.12 kB / 1.17 GB, free: 357.6 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009689/1.546, allocations: 10.97 MB / 1.181 GB, free: 348.9 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/1.546, allocations: 7.188 kB / 1.181 GB, free: 348.9 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02232/1.569, allocations: 8.207 MB / 1.189 GB, free: 346.1 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001808/1.571, allocations: 1.06 MB / 1.19 GB, free: 345.7 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007317/1.571, allocations: 50.81 kB / 1.19 GB, free: 345.7 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005344/1.577, allocations: 0.6004 MB / 1.19 GB, free: 345.6 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003472/1.577, allocations: 170.6 kB / 1.191 GB, free: 345.6 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002491/1.577, allocations: 114.1 kB / 1.191 GB, free: 345.6 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.004287/1.582, allocations: 2.945 MB / 1.194 GB, free: 344.6 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.6e-07/1.582, allocations: 3.969 kB / 1.194 GB, free: 344.6 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.003582/1.585, allocations: 1.552 MB / 1.195 GB, free: 344.4 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.0233/1.609, allocations: 9.597 MB / 1.204 GB, free: 340.9 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.01682/1.625, allocations: 6.38 MB / 1.211 GB, free: 338.7 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/1.625, allocations: 2.688 kB / 1.211 GB, free: 338.7 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.006597/1.632, allocations: 3.03 MB / 1.214 GB, free: 337.3 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007748/1.64, allocations: 1.969 MB / 1.216 GB, free: 336.8 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1053/1.745, allocations: 48.1 MB / 1.263 GB, free: 309.6 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001295/1.746, allocations: 2.302 MB / 1.265 GB, free: 308.3 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.005423/1.752, allocations: 1.039 MB / 1.266 GB, free: 307.4 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002251/1.754, allocations: 1.804 MB / 1.268 GB, free: 305.8 MB / 0.8262 GB Notification: Performance of SimCode: time 6.71e-07/1.754, allocations: 0 / 1.268 GB, free: 305.8 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.203/2.957, allocations: 124 MB / 1.389 GB, free: 185 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001926/2.957, allocations: 289.7 kB / 1.389 GB, free: 184.7 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.387/8.345, allocations: 7.938 kB / 1.389 GB, free: 184.7 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)