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.000866/0.0008661, allocations: 94.28 kB / 15.37 MB, free: 0.7266 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.0009087/0.0009086, allocations: 176.8 kB / 16.27 MB, free: 6.672 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.263/1.263, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.925/0.925, allocations: 135.3 MB / 426.7 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003642/0.0003642, allocations: 8 kB / 0.5077 GB, free: 4.641 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1475/0.1479, allocations: 82.31 MB / 0.5881 GB, free: 2.5 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU): time 0.9527/1.101, allocations: 362.1 MB / 0.9417 GB, free: 23.77 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.0402/1.141, allocations: 33.22 MB / 0.9742 GB, free: 23.02 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006678/1.148, allocations: 129.9 kB / 0.9743 GB, free: 23.02 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.005892/1.154, allocations: 1.938 MB / 0.9762 GB, free: 22.98 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01801/1.172, allocations: 6.928 MB / 0.983 GB, free: 20.9 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.01016/1.182, allocations: 4.111 MB / 0.987 GB, free: 18.4 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.01422/1.196, allocations: 13.6 MB / 1 GB, free: 13.14 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005652/1.202, allocations: 3.187 MB / 1.003 GB, free: 11.35 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01365/1.215, allocations: 4.614 MB / 1.008 GB, free: 8.457 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005845/1.221, allocations: 3.215 MB / 1.011 GB, free: 5.465 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.001213/1.222, allocations: 196 kB / 1.011 GB, free: 5.273 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01296/1.235, allocations: 7.196 MB / 1.018 GB, free: 14.76 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001896/1.237, allocations: 1.084 MB / 1.019 GB, free: 13.7 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.004907/1.242, allocations: 2.443 MB / 1.022 GB, free: 11.27 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01766/1.26, allocations: 9.567 MB / 1.031 GB, free: 2.168 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/1.26, allocations: 0 / 1.031 GB, free: 2.168 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.255e-06/1.26, allocations: 0 / 1.031 GB, free: 2.168 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0001693/1.26, allocations: 0 / 1.031 GB, free: 2.168 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.01394/1.274, allocations: 4.957 MB / 1.036 GB, free: 13.16 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/1.274, allocations: 12.03 kB / 1.036 GB, free: 13.15 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001158/1.275, allocations: 455.7 kB / 1.036 GB, free: 12.7 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03259/1.308, allocations: 4.558 MB / 1.041 GB, free: 8.137 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007985/1.316, allocations: 3.6 MB / 1.044 GB, free: 4.555 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001682/1.318, allocations: 0.562 MB / 1.045 GB, free: 3.988 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001158/1.319, allocations: 363.2 kB / 1.045 GB, free: 3.637 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01658/1.335, allocations: 5.806 MB / 1.051 GB, free: 13.75 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.408e-05/1.336, allocations: 3.938 kB / 1.051 GB, free: 13.75 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004925/1.336, allocations: 139.6 kB / 1.051 GB, free: 13.61 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001273/1.336, allocations: 138.5 kB / 1.051 GB, free: 13.48 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02341/1.36, allocations: 7.033 MB / 1.058 GB, free: 6.434 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.04689/1.407, allocations: 22.48 MB / 1.08 GB, free: 15.02 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01297/1.42, allocations: 4.148 MB / 1.084 GB, free: 10.88 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007571/1.427, allocations: 2.329 MB / 1.086 GB, free: 8.551 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01625/1.443, allocations: 8.205 MB / 1.094 GB, free: 44 kB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0075/1.451, allocations: 2.463 MB / 1.097 GB, free: 13.58 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=230): time 4.579e-06/1.451, allocations: 0 / 1.097 GB, free: 13.58 MB / 0.7637 GB Notification: Performance of matching and sorting (n=230): time 0.03571/1.487, allocations: 8.698 MB / 1.105 GB, free: 4.75 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.575e-05/1.487, allocations: 81.28 kB / 1.105 GB, free: 4.656 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01048/1.497, allocations: 4.307 MB / 1.109 GB, free: 336 kB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0008536/1.498, allocations: 73.7 kB / 1.11 GB, free: 256 kB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.002162/1.5, allocations: 1.828 MB / 1.111 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.001443/1.502, allocations: 0.7964 MB / 1.112 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001209/1.503, allocations: 309.1 kB / 1.112 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000107/1.503, allocations: 305.1 kB / 1.113 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01031/1.514, allocations: 2.824 MB / 1.115 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01082/1.524, allocations: 3.514 MB / 1.119 GB, free: 6.445 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.02014/1.545, allocations: 6.11 MB / 1.125 GB, free: 100 kB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.135e-05/1.545, allocations: 4 kB / 1.125 GB, free: 96 kB / 0.7794 GB Notification: Performance of matching and sorting (n=448) (initialization): time 0.02979/1.574, allocations: 7.804 MB / 1.132 GB, free: 8.223 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 3.798e-05/1.575, allocations: 14.5 kB / 1.132 GB, free: 8.211 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-05/1.575, allocations: 16 kB / 1.132 GB, free: 8.195 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004209/1.579, allocations: 0.9914 MB / 1.133 GB, free: 7.176 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009145/1.588, allocations: 1.438 MB / 1.135 GB, free: 5.738 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0161/1.604, allocations: 13.78 MB / 1.148 GB, free: 6.926 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01089/1.615, allocations: 1.364 MB / 1.15 GB, free: 5.559 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00101/1.616, allocations: 187.8 kB / 1.15 GB, free: 5.375 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 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.002919/1.619, allocations: 0.862 MB / 1.151 GB, free: 4.504 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001532/1.621, allocations: 426.6 kB / 1.151 GB, free: 4.086 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2601/1.881, allocations: 5.942 MB / 1.157 GB, free: 340.9 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-05/1.881, allocations: 26.09 kB / 1.157 GB, free: 340.9 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.083e-05/1.881, allocations: 2.969 kB / 1.157 GB, free: 340.9 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.179e-05/1.881, allocations: 10.03 kB / 1.157 GB, free: 340.9 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02534/1.906, allocations: 11.06 MB / 1.168 GB, free: 339.4 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.049e-05/1.906, allocations: 3.25 kB / 1.168 GB, free: 339.4 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003981/1.91, allocations: 0.701 MB / 1.168 GB, free: 339.4 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002999/1.913, allocations: 0.8055 MB / 1.169 GB, free: 339.2 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002253/1.913, allocations: 82.14 kB / 1.169 GB, free: 339.2 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00984/1.923, allocations: 11.02 MB / 1.18 GB, free: 329.5 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/1.923, allocations: 10 kB / 1.18 GB, free: 329.5 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02385/1.947, allocations: 8.439 MB / 1.188 GB, free: 326.7 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002206/1.949, allocations: 1.141 MB / 1.189 GB, free: 326.2 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001054/1.95, allocations: 48.69 kB / 1.189 GB, free: 326.1 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006126/1.957, allocations: 0.6518 MB / 1.19 GB, free: 326.1 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003543/1.957, allocations: 168.8 kB / 1.19 GB, free: 326.1 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002707/1.957, allocations: 111.2 kB / 1.19 GB, free: 326.1 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.006003/1.963, allocations: 2.978 MB / 1.193 GB, free: 325 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.71e-07/1.963, allocations: 3.938 kB / 1.193 GB, free: 325 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.004833/1.968, allocations: 1.547 MB / 1.195 GB, free: 324.9 MB / 0.8106 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.02597/1.994, allocations: 9.827 MB / 1.204 GB, free: 321.2 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.01849/2.013, allocations: 6.514 MB / 1.211 GB, free: 318.9 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/2.013, allocations: 0.875 kB / 1.211 GB, free: 318.9 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.007176/2.02, allocations: 3.1 MB / 1.214 GB, free: 317.4 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01183/2.032, allocations: 2.048 MB / 1.216 GB, free: 316.9 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.115/2.147, allocations: 48.84 MB / 1.263 GB, free: 285 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001869/2.149, allocations: 2.306 MB / 1.266 GB, free: 283.2 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.005957/2.155, allocations: 1.037 MB / 1.267 GB, free: 282.3 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002672/2.157, allocations: 1.815 MB / 1.268 GB, free: 280.5 MB / 0.8106 GB Notification: Performance of SimCode: time 6.41e-07/2.157, allocations: 0 / 1.268 GB, free: 280.5 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.085/5.242, allocations: 128.1 MB / 1.394 GB, free: 153.4 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002416/5.243, allocations: 285.6 kB / 1.394 GB, free: 153 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.404/10.65, allocations: 0 / 1.394 GB, free: 153 MB / 0.8106 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)