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.006703/0.006703, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001283/0.001283, allocations: 191.3 kB / 16.67 MB, free: 5.52 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.379/1.379, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.784/0.784, allocations: 135.1 MB / 425.7 MB, free: 4.113 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.0012, allocations: 70.17 kB / 0.5851 GB, free: 21.97 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1551/0.1563, allocations: 80.91 MB / 0.6642 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU): time 0.7241/0.8804, allocations: 369.7 MB / 1.025 GB, free: 13.21 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.5742/1.455, allocations: 33.23 MB / 1.058 GB, free: 48.59 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008343/1.463, allocations: 151.6 kB / 1.058 GB, free: 48.59 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.007155/1.47, allocations: 2.439 MB / 1.06 GB, free: 48.59 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.02496/1.495, allocations: 7.811 MB / 1.068 GB, free: 48.54 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.01415/1.509, allocations: 4.569 MB / 1.072 GB, free: 48.42 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0209/1.53, allocations: 11.06 MB / 1.083 GB, free: 48.4 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007567/1.538, allocations: 3.98 MB / 1.087 GB, free: 47.98 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01675/1.555, allocations: 5.563 MB / 1.092 GB, free: 47.91 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008595/1.563, allocations: 3.451 MB / 1.096 GB, free: 47.51 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.002434/1.566, allocations: 0.549 MB / 1.096 GB, free: 47.51 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01588/1.582, allocations: 6.81 MB / 1.103 GB, free: 47.43 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.002737/1.584, allocations: 1.46 MB / 1.104 GB, free: 47.25 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.006393/1.591, allocations: 2.827 MB / 1.107 GB, free: 46.52 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.02006/1.611, allocations: 9.778 MB / 1.117 GB, free: 45.38 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 9.107e-06/1.611, allocations: 0 / 1.117 GB, free: 45.38 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.264e-06/1.611, allocations: 0.9688 kB / 1.117 GB, free: 45.38 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.0002324/1.611, allocations: 0 / 1.117 GB, free: 45.38 MB / 0.8106 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.01592/1.627, allocations: 5.94 MB / 1.122 GB, free: 42.84 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.238e-05/1.627, allocations: 9.203 kB / 1.122 GB, free: 42.84 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007383/1.628, allocations: 454.8 kB / 1.123 GB, free: 42.79 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02846/1.657, allocations: 4.291 MB / 1.127 GB, free: 41.88 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008092/1.665, allocations: 3.687 MB / 1.131 GB, free: 40.37 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004176/1.665, allocations: 307.9 kB / 1.131 GB, free: 40.33 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00154/1.667, allocations: 352.5 kB / 1.131 GB, free: 40.33 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01546/1.682, allocations: 5.701 MB / 1.137 GB, free: 38.71 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.877e-05/1.682, allocations: 9.438 kB / 1.137 GB, free: 38.71 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004835/1.683, allocations: 134 kB / 1.137 GB, free: 38.71 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001065/1.683, allocations: 131.7 kB / 1.137 GB, free: 38.7 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01902/1.702, allocations: 6.806 MB / 1.144 GB, free: 35.04 MB / 0.8106 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.03734/1.739, allocations: 22.12 MB / 1.165 GB, free: 14.79 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009852/1.749, allocations: 4.07 MB / 1.169 GB, free: 10.75 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005851/1.755, allocations: 2.27 MB / 1.172 GB, free: 8.484 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01306/1.768, allocations: 8.177 MB / 1.18 GB, free: 64 kB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007044/1.775, allocations: 2.397 MB / 1.182 GB, free: 13.65 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=230): time 5.4e-06/1.775, allocations: 0 / 1.182 GB, free: 13.65 MB / 0.8262 GB Notification: Performance of matching and sorting (n=230): time 0.03313/1.808, allocations: 8.428 MB / 1.19 GB, free: 5.105 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.286e-05/1.808, allocations: 77.41 kB / 1.19 GB, free: 5.02 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01023/1.819, allocations: 4.272 MB / 1.194 GB, free: 0.7266 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0009114/1.82, allocations: 73.7 kB / 1.194 GB, free: 0.6484 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.002495/1.822, allocations: 1.834 MB / 1.196 GB, free: 14.88 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.001723/1.824, allocations: 0.7994 MB / 1.197 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003987/1.828, allocations: 0.8041 MB / 1.198 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001058/1.828, allocations: 304.9 kB / 1.198 GB, free: 12.97 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009165/1.837, allocations: 2.719 MB / 1.201 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01011/1.847, allocations: 3.401 MB / 1.204 GB, free: 6.625 MB / 0.8419 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.01925/1.867, allocations: 5.941 MB / 1.21 GB, free: 0.4961 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.934e-05/1.867, allocations: 11.94 kB / 1.21 GB, free: 496 kB / 0.8419 GB Notification: Performance of matching and sorting (n=448) (initialization): time 0.02861/1.895, allocations: 7.551 MB / 1.217 GB, free: 8.98 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.507e-05/1.895, allocations: 12 kB / 1.217 GB, free: 8.969 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.672e-05/1.895, allocations: 16 kB / 1.217 GB, free: 8.953 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004078/1.9, allocations: 0.9735 MB / 1.218 GB, free: 7.957 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009299/1.909, allocations: 1.407 MB / 1.22 GB, free: 6.598 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01851/1.927, allocations: 14.45 MB / 1.234 GB, free: 7.125 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01038/1.938, allocations: 1.174 MB / 1.235 GB, free: 5.949 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001057/1.939, allocations: 187.7 kB / 1.235 GB, free: 5.77 MB / 0.8731 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.002642/1.942, allocations: 0.8635 MB / 1.236 GB, free: 4.945 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001663/1.943, allocations: 414.8 kB / 1.236 GB, free: 4.535 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02066/1.964, allocations: 5.786 MB / 1.242 GB, free: 14.73 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.365e-05/1.964, allocations: 24 kB / 1.242 GB, free: 14.7 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.012e-05/1.964, allocations: 0 / 1.242 GB, free: 14.7 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.653e-05/1.964, allocations: 11.95 kB / 1.242 GB, free: 14.69 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0307/1.995, allocations: 10.92 MB / 1.253 GB, free: 3.73 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-05/1.995, allocations: 4 kB / 1.253 GB, free: 3.727 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004882/2, allocations: 0.666 MB / 1.253 GB, free: 3.082 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003306/2.003, allocations: 0.7597 MB / 1.254 GB, free: 2.301 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008362/2.004, allocations: 83.91 kB / 1.254 GB, free: 2.219 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01406/2.018, allocations: 11.68 MB / 1.266 GB, free: 5.672 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/2.018, allocations: 4 kB / 1.266 GB, free: 5.668 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02923/2.047, allocations: 8.221 MB / 1.274 GB, free: 13.38 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003304/2.051, allocations: 1.054 MB / 1.275 GB, free: 12.3 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001772/2.052, allocations: 44 kB / 1.275 GB, free: 12.26 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006973/2.059, allocations: 0.5267 MB / 1.275 GB, free: 11.73 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007944/2.06, allocations: 164.8 kB / 1.275 GB, free: 11.57 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007317/2.061, allocations: 107.9 kB / 1.275 GB, free: 11.46 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.007553/2.069, allocations: 2.943 MB / 1.278 GB, free: 8.52 MB / 0.92 GB Notification: Performance of sort global known variables: time 8.71e-07/2.069, allocations: 0 / 1.278 GB, free: 8.52 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.008538/2.077, allocations: 1.535 MB / 1.28 GB, free: 6.984 MB / 0.92 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.03582/2.113, allocations: 9.618 MB / 1.289 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.02245/2.135, allocations: 6.377 MB / 1.295 GB, free: 7.18 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.151e-05/2.136, allocations: 7.938 kB / 1.295 GB, free: 7.172 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.009446/2.145, allocations: 3.038 MB / 1.298 GB, free: 4.109 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01321/2.158, allocations: 2.1 MB / 1.3 GB, free: 2.062 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1399/2.298, allocations: 39.6 MB / 1.339 GB, free: 9.871 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003322/2.302, allocations: 2.296 MB / 1.341 GB, free: 7.547 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.008408/2.31, allocations: 1.043 MB / 1.342 GB, free: 6.508 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005237/2.315, allocations: 1.807 MB / 1.344 GB, free: 4.699 MB / 0.9825 GB Notification: Performance of SimCode: time 1.232e-06/2.315, allocations: 0 / 1.344 GB, free: 4.699 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5623/2.878, allocations: 125.9 MB / 1.467 GB, free: 0.5233 GB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.84/23.72, allocations: 15.83 kB / 1.467 GB, free: 0.5233 GB / 1.061 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)