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.001436/0.001436, allocations: 106.1 kB / 16.4 MB, free: 6.504 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.001575/0.001575, allocations: 195.9 kB / 17.34 MB, free: 5.738 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.288/1.288, allocations: 222.9 MB / 241 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6915/0.6915, allocations: 115.3 MB / 406.5 MB, free: 6.164 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001198, allocations: 59.05 kB / 0.5572 GB, free: 32.52 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1399/0.1411, allocations: 76.19 MB / 0.6316 GB, free: 4.914 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU): time 0.6921/0.8333, allocations: 369.7 MB / 0.9927 GB, free: 10.47 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.04574/0.879, allocations: 33.34 MB / 1.025 GB, free: 9.051 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006826/0.8859, allocations: 151.1 kB / 1.025 GB, free: 8.902 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.006727/0.8927, allocations: 2.356 MB / 1.028 GB, free: 6.531 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.02187/0.9146, allocations: 7.5 MB / 1.035 GB, free: 15 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.01229/0.9269, allocations: 4.598 MB / 1.039 GB, free: 10.44 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.5043/1.431, allocations: 11.07 MB / 1.05 GB, free: 51.96 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007/1.438, allocations: 3.981 MB / 1.054 GB, free: 51.57 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01408/1.452, allocations: 5.523 MB / 1.06 GB, free: 51.55 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006682/1.459, allocations: 3.462 MB / 1.063 GB, free: 51.35 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.001667/1.461, allocations: 0.5502 MB / 1.063 GB, free: 51.35 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01465/1.475, allocations: 6.803 MB / 1.07 GB, free: 51.35 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.002963/1.478, allocations: 1.468 MB / 1.072 GB, free: 51.17 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.005481/1.484, allocations: 2.847 MB / 1.074 GB, free: 50.43 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.01737/1.501, allocations: 9.775 MB / 1.084 GB, free: 49.52 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.231e-06/1.501, allocations: 0 / 1.084 GB, free: 49.52 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.114e-06/1.501, allocations: 5.531 kB / 1.084 GB, free: 49.52 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0001959/1.502, allocations: 0 / 1.084 GB, free: 49.52 MB / 0.795 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.01531/1.517, allocations: 5.953 MB / 1.09 GB, free: 46.98 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/1.517, allocations: 8.75 kB / 1.09 GB, free: 46.98 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006335/1.518, allocations: 459 kB / 1.09 GB, free: 46.92 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02919/1.547, allocations: 4.288 MB / 1.094 GB, free: 46.65 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008746/1.556, allocations: 3.702 MB / 1.098 GB, free: 45.91 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003351/1.556, allocations: 311.5 kB / 1.098 GB, free: 45.87 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001285/1.557, allocations: 352.2 kB / 1.099 GB, free: 45.87 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01592/1.573, allocations: 5.691 MB / 1.104 GB, free: 45.57 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.993e-05/1.573, allocations: 3.219 kB / 1.104 GB, free: 45.57 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006172/1.574, allocations: 142 kB / 1.104 GB, free: 45.57 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001154/1.574, allocations: 134.2 kB / 1.104 GB, free: 45.57 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01943/1.594, allocations: 6.788 MB / 1.111 GB, free: 45.43 MB / 0.795 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.04316/1.637, allocations: 22.19 MB / 1.133 GB, free: 36.68 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01086/1.648, allocations: 4.032 MB / 1.137 GB, free: 35.96 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006381/1.654, allocations: 2.256 MB / 1.139 GB, free: 35.55 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01398/1.668, allocations: 8.168 MB / 1.147 GB, free: 31.45 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006201/1.674, allocations: 2.498 MB / 1.149 GB, free: 30.69 MB / 0.795 GB Notification: Performance of pre-optimization done (n=228): time 4.278e-06/1.674, allocations: 0 / 1.149 GB, free: 30.69 MB / 0.795 GB Notification: Performance of matching and sorting (n=228): time 0.03046/1.705, allocations: 8.411 MB / 1.157 GB, free: 25.26 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.348e-05/1.705, allocations: 134.4 kB / 1.158 GB, free: 25.11 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00755/1.712, allocations: 4.306 MB / 1.162 GB, free: 21.27 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0008934/1.713, allocations: 85.69 kB / 1.162 GB, free: 21.18 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.001368/1.715, allocations: 1.815 MB / 1.164 GB, free: 19.36 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.001057/1.716, allocations: 0.7922 MB / 1.164 GB, free: 18.58 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001717/1.718, allocations: 0.8311 MB / 1.165 GB, free: 17.74 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 3.948e-05/1.718, allocations: 301.1 kB / 1.166 GB, free: 17.45 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007706/1.725, allocations: 2.72 MB / 1.168 GB, free: 14.72 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008463/1.734, allocations: 3.443 MB / 1.172 GB, free: 11.05 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.01674/1.751, allocations: 5.935 MB / 1.177 GB, free: 4.938 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.794e-05/1.751, allocations: 7.938 kB / 1.177 GB, free: 4.93 MB / 0.795 GB Notification: Performance of matching and sorting (n=454) (initialization): time 0.02652/1.777, allocations: 7.563 MB / 1.185 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.746e-05/1.777, allocations: 12.5 kB / 1.185 GB, free: 13.39 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.822e-05/1.777, allocations: 16 kB / 1.185 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004219/1.782, allocations: 0.976 MB / 1.186 GB, free: 12.38 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009305/1.791, allocations: 1.406 MB / 1.187 GB, free: 11.02 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01779/1.809, allocations: 14.46 MB / 1.201 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01125/1.82, allocations: 1.184 MB / 1.202 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001292/1.821, allocations: 183.8 kB / 1.203 GB, free: 10.18 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: 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.003589/1.825, allocations: 0.8749 MB / 1.203 GB, free: 9.348 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002448/1.827, allocations: 430.7 kB / 1.204 GB, free: 8.922 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0238/1.851, allocations: 5.754 MB / 1.209 GB, free: 3.148 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.724e-05/1.851, allocations: 24 kB / 1.209 GB, free: 3.125 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.281e-05/1.851, allocations: 0 / 1.209 GB, free: 3.125 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.339e-05/1.851, allocations: 15.95 kB / 1.209 GB, free: 3.109 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0361/1.888, allocations: 10.91 MB / 1.22 GB, free: 8.168 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.832e-05/1.888, allocations: 4 kB / 1.22 GB, free: 8.164 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00518/1.893, allocations: 0.671 MB / 1.221 GB, free: 7.516 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003424/1.896, allocations: 0.7621 MB / 1.222 GB, free: 6.73 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008508/1.897, allocations: 83.84 kB / 1.222 GB, free: 6.648 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01515/1.912, allocations: 11.69 MB / 1.233 GB, free: 10.1 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.623e-06/1.912, allocations: 4 kB / 1.233 GB, free: 10.1 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03087/1.943, allocations: 8.176 MB / 1.241 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003751/1.947, allocations: 1.061 MB / 1.242 GB, free: 0.7656 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002157/1.949, allocations: 48 kB / 1.242 GB, free: 0.7188 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007581/1.957, allocations: 0.5385 MB / 1.243 GB, free: 188 kB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008746/1.958, allocations: 166.4 kB / 1.243 GB, free: 24 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007458/1.958, allocations: 111.9 kB / 1.243 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.007691/1.966, allocations: 2.964 MB / 1.246 GB, free: 12.95 MB / 0.8731 GB Notification: Performance of sort global known variables: time 6.31e-07/1.966, allocations: 0 / 1.246 GB, free: 12.95 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.007463/1.974, allocations: 1.545 MB / 1.247 GB, free: 11.4 MB / 0.8731 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.03039/2.004, allocations: 9.583 MB / 1.257 GB, free: 1.992 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.02274/2.027, allocations: 6.441 MB / 1.263 GB, free: 11.57 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 1.034e-05/2.027, allocations: 0 / 1.263 GB, free: 11.57 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.009143/2.036, allocations: 3.019 MB / 1.266 GB, free: 8.527 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01196/2.048, allocations: 2.076 MB / 1.268 GB, free: 6.5 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1275/2.176, allocations: 39.7 MB / 1.307 GB, free: 14.24 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003226/2.179, allocations: 2.302 MB / 1.309 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.00726/2.186, allocations: 1.036 MB / 1.31 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00477/2.191, allocations: 1.8 MB / 1.312 GB, free: 9.078 MB / 0.9356 GB Notification: Performance of SimCode: time 1.202e-06/2.191, allocations: 0 / 1.312 GB, free: 9.078 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5221/2.713, allocations: 128.9 MB / 1.438 GB, free: 0.5038 GB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.36/23.07, allocations: 11.52 kB / 1.438 GB, free: 0.5038 GB / 1.014 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)