Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_Validation_WetCoilEffectivenessNTU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU,fileNamePrefix="IBPSA_latest_IBPSA_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.0008581/0.0008582, allocations: 98.73 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008911/0.0008911, allocations: 180.2 kB / 16.92 MB, free: 6.898 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.202/1.202, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6393/0.6393, allocations: 115.5 MB / 407.6 MB, free: 2.676 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002673/0.0002673, allocations: 12 kB / 496 MB, free: 6.227 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1177/0.118, allocations: 77.53 MB / 0.56 GB, free: 8.906 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU): time 0.8054/0.9234, allocations: 362.2 MB / 0.9138 GB, free: 24.66 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.03473/0.9581, allocations: 33.29 MB / 0.9463 GB, free: 21.98 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005216/0.9634, allocations: 132.9 kB / 0.9464 GB, free: 21.98 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.004779/0.9682, allocations: 1.94 MB / 0.9483 GB, free: 21.03 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01604/0.9842, allocations: 6.946 MB / 0.9551 GB, free: 17.92 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.008454/0.9927, allocations: 4.157 MB / 0.9591 GB, free: 15.4 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.01199/1.005, allocations: 13.66 MB / 0.9725 GB, free: 8.281 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004625/1.009, allocations: 3.197 MB / 0.9756 GB, free: 5.152 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0115/1.021, allocations: 4.624 MB / 0.9801 GB, free: 1.113 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005642/1.027, allocations: 3.228 MB / 0.9833 GB, free: 14.1 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001059/1.028, allocations: 196 kB / 0.9835 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01288/1.04, allocations: 7.207 MB / 0.9905 GB, free: 7.395 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.00167/1.042, allocations: 1.082 MB / 0.9915 GB, free: 6.336 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.004291/1.046, allocations: 2.448 MB / 0.9939 GB, free: 3.898 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01271/1.059, allocations: 9.596 MB / 1.003 GB, free: 10.77 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/1.059, allocations: 0 / 1.003 GB, free: 10.77 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.573e-06/1.059, allocations: 0 / 1.003 GB, free: 10.77 MB / 0.67 GB Notification: Performance of Transformations before backend: time 7.524e-05/1.059, allocations: 4 kB / 1.003 GB, free: 10.77 MB / 0.67 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.01032/1.07, allocations: 4.977 MB / 1.008 GB, free: 5.742 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/1.07, allocations: 8.031 kB / 1.008 GB, free: 5.734 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006512/1.07, allocations: 455.5 kB / 1.009 GB, free: 5.281 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02857/1.099, allocations: 4.56 MB / 1.013 GB, free: 0.7188 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00704/1.106, allocations: 3.611 MB / 1.017 GB, free: 13.12 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001418/1.107, allocations: 0.5627 MB / 1.017 GB, free: 12.56 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007394/1.108, allocations: 355.9 kB / 1.017 GB, free: 12.21 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01362/1.122, allocations: 5.82 MB / 1.023 GB, free: 6.312 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.227e-05/1.122, allocations: 0 / 1.023 GB, free: 6.312 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004123/1.122, allocations: 134.9 kB / 1.023 GB, free: 6.184 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001129/1.122, allocations: 134.5 kB / 1.023 GB, free: 6.051 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01923/1.142, allocations: 7.029 MB / 1.03 GB, free: 15.01 MB / 0.7012 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.03558/1.177, allocations: 22.53 MB / 1.052 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0103/1.188, allocations: 4.102 MB / 1.056 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006033/1.194, allocations: 2.32 MB / 1.059 GB, free: 1.117 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01164/1.205, allocations: 8.198 MB / 1.067 GB, free: 8.621 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006443/1.212, allocations: 2.563 MB / 1.069 GB, free: 6.039 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=228): time 3.046e-06/1.212, allocations: 0 / 1.069 GB, free: 6.039 MB / 0.7325 GB Notification: Performance of matching and sorting (n=228): time 0.02963/1.241, allocations: 8.676 MB / 1.078 GB, free: 13.23 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.644e-05/1.241, allocations: 128.8 kB / 1.078 GB, free: 13.08 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006378/1.248, allocations: 4.351 MB / 1.082 GB, free: 8.711 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0002573/1.248, allocations: 77.7 kB / 1.082 GB, free: 8.629 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.001367/1.249, allocations: 1.818 MB / 1.084 GB, free: 6.809 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006741/1.25, allocations: 0.7984 MB / 1.085 GB, free: 6.02 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005053/1.251, allocations: 313.2 kB / 1.085 GB, free: 5.707 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 7.994e-05/1.251, allocations: 305.1 kB / 1.085 GB, free: 5.406 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008345/1.259, allocations: 2.829 MB / 1.088 GB, free: 2.574 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008849/1.268, allocations: 3.553 MB / 1.091 GB, free: 14.78 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.01689/1.285, allocations: 6.111 MB / 1.097 GB, free: 8.434 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.004e-05/1.285, allocations: 4 kB / 1.097 GB, free: 8.43 MB / 0.7637 GB Notification: Performance of matching and sorting (n=454) (initialization): time 0.02367/1.309, allocations: 7.811 MB / 1.105 GB, free: 0.5547 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.311e-05/1.309, allocations: 12 kB / 1.105 GB, free: 0.543 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.124e-05/1.309, allocations: 16 kB / 1.105 GB, free: 0.5273 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003723/1.312, allocations: 0.9931 MB / 1.106 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007757/1.32, allocations: 1.436 MB / 1.107 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2168/1.537, allocations: 13.8 MB / 1.121 GB, free: 350.9 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009751/1.547, allocations: 1.38 MB / 1.122 GB, free: 350.9 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004039/1.547, allocations: 183.7 kB / 1.122 GB, free: 350.9 MB / 0.7794 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: 65 * Number of states: 0 () * Number of discrete variables: 19 (hexWetNTU.UAFroRated.isFulWet,hexWetNTU.UAFroRated.isFulDry,$PRE.w_a2.nextTimeEvent,$whenCondition1,hexWetNTU.flowRegime_nominal,hexWetNTU.dryWetCalcs.fullyDry.cfg,hexWetNTU.dryWetCalcs.fullyWet.cfg,hexWetNTU.dryWetCalcs.cfg,hexWetNTU.flowRegime,hexWetNTU_TX.flowRegime_nominal,hexWetNTU_TX.dryWetCalcs.fullyDry.cfg,hexWetNTU_TX.dryWetCalcs.fullyWet.cfg,hexWetNTU_TX.dryWetCalcs.cfg,hexWetNTU_TX.flowRegime,hexWetNTU_TX.UAFroRated.isFulWet,hexWetNTU_TX.UAFroRated.isFulDry,w_a2.nextTimeEventScaled,$PRE.w_a2.nextTimeEventScaled,w_a2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (424): * Single equations (assignments): 409 * 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.00176/1.549, allocations: 0.8698 MB / 1.123 GB, free: 350.8 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007075/1.55, allocations: 422.2 kB / 1.124 GB, free: 350.8 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01892/1.569, allocations: 5.931 MB / 1.129 GB, free: 350.6 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-05/1.569, allocations: 24.89 kB / 1.129 GB, free: 350.6 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/1.569, allocations: 1.938 kB / 1.129 GB, free: 350.6 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.664e-05/1.569, allocations: 11.88 kB / 1.129 GB, free: 350.6 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02377/1.592, allocations: 11.05 MB / 1.14 GB, free: 346.4 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.057e-05/1.592, allocations: 3.438 kB / 1.14 GB, free: 346.4 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003945/1.596, allocations: 0.694 MB / 1.141 GB, free: 346.4 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003019/1.599, allocations: 0.8017 MB / 1.142 GB, free: 346.2 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002153/1.6, allocations: 83.55 kB / 1.142 GB, free: 346.2 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009973/1.61, allocations: 11.02 MB / 1.153 GB, free: 336.5 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/1.61, allocations: 4.219 kB / 1.153 GB, free: 336.5 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02288/1.632, allocations: 8.42 MB / 1.161 GB, free: 333.6 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001668/1.634, allocations: 1.141 MB / 1.162 GB, free: 332.9 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005755/1.635, allocations: 45.78 kB / 1.162 GB, free: 332.9 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005527/1.64, allocations: 0.6697 MB / 1.163 GB, free: 332.8 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002991/1.641, allocations: 162.8 kB / 1.163 GB, free: 332.8 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002254/1.641, allocations: 117.5 kB / 1.163 GB, free: 332.8 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.004594/1.645, allocations: 3.004 MB / 1.166 GB, free: 331.7 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.91e-07/1.645, allocations: 0 / 1.166 GB, free: 331.7 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.003803/1.649, allocations: 1.555 MB / 1.167 GB, free: 331.5 MB / 0.7794 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: 3 ($whenCondition1,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 (225): * Single equations (assignments): 212 * 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.02295/1.672, allocations: 9.796 MB / 1.177 GB, free: 327.2 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.01711/1.689, allocations: 6.582 MB / 1.183 GB, free: 323.9 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/1.689, allocations: 0 / 1.183 GB, free: 323.9 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.006423/1.696, allocations: 3.076 MB / 1.186 GB, free: 321 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0102/1.706, allocations: 2.042 MB / 1.188 GB, free: 319 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1023/1.808, allocations: 48.99 MB / 1.236 GB, free: 266.9 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001274/1.81, allocations: 2.303 MB / 1.238 GB, free: 264.6 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.005062/1.815, allocations: 1.046 MB / 1.239 GB, free: 263.5 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00231/1.817, allocations: 1.815 MB / 1.241 GB, free: 261.7 MB / 0.7794 GB Notification: Performance of SimCode: time 5.41e-07/1.817, allocations: 0 / 1.241 GB, free: 261.7 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.518/7.335, allocations: 128.5 MB / 1.367 GB, free: 134.4 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001604/7.336, allocations: 286.2 kB / 1.367 GB, free: 134 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.181/13.52, allocations: 0 / 1.367 GB, free: 134 MB / 0.7794 GB (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatExchangers_Validation_WetCoilEffectivenessNTU_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatExchangers_Validation_WetCoilEffectivenessNTU.fmu > IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe 2>&1)