Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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: translateModel(IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU") translateModel(IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001292/0.001292, allocations: 103 kB / 16.41 MB, free: 6.469 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.001521/0.001521, allocations: 189.5 kB / 17.34 MB, free: 5.754 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.383/1.383, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8538/0.8538, allocations: 132.2 MB / 423.4 MB, free: 6.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 61.31 kB / 0.582 GB, free: 23.71 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1572/0.1585, allocations: 80.21 MB / 0.6603 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU): time 0.7807/0.9392, allocations: 369.7 MB / 1.021 GB, free: 3.699 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.04885/0.9881, allocations: 33.26 MB / 1.054 GB, free: 2.355 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007943/0.9961, allocations: 151.1 kB / 1.054 GB, free: 2.207 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.4998/1.496, allocations: 2.354 MB / 1.056 GB, free: 48.87 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.02298/1.519, allocations: 7.48 MB / 1.064 GB, free: 48.87 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.01264/1.532, allocations: 4.529 MB / 1.068 GB, free: 48.82 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.01999/1.552, allocations: 11.04 MB / 1.079 GB, free: 48.81 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007855/1.56, allocations: 3.973 MB / 1.083 GB, free: 48.41 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01615/1.576, allocations: 5.498 MB / 1.088 GB, free: 48.34 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00839/1.584, allocations: 3.449 MB / 1.091 GB, free: 48.01 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.00307/1.587, allocations: 0.5487 MB / 1.092 GB, free: 48.01 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.018/1.605, allocations: 6.789 MB / 1.099 GB, free: 47.93 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.003385/1.609, allocations: 1.467 MB / 1.1 GB, free: 47.75 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.007418/1.616, allocations: 2.829 MB / 1.103 GB, free: 47.02 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0211/1.637, allocations: 9.777 MB / 1.112 GB, free: 45.88 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/1.637, allocations: 4.844 kB / 1.112 GB, free: 45.88 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.974e-06/1.637, allocations: 0 / 1.112 GB, free: 45.88 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.0002312/1.638, allocations: 0 / 1.112 GB, free: 45.88 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.01853/1.656, allocations: 5.936 MB / 1.118 GB, free: 43.34 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/1.656, allocations: 12.34 kB / 1.118 GB, free: 43.34 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03066/1.687, allocations: 4.29 MB / 1.122 GB, free: 43.07 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009957/1.697, allocations: 3.693 MB / 1.126 GB, free: 42.3 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004632/1.697, allocations: 308.8 kB / 1.126 GB, free: 42.25 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001829/1.699, allocations: 352.2 kB / 1.127 GB, free: 42.25 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01678/1.716, allocations: 5.702 MB / 1.132 GB, free: 40.94 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.433e-05/1.716, allocations: 5.094 kB / 1.132 GB, free: 40.94 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005477/1.717, allocations: 133.3 kB / 1.132 GB, free: 40.94 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001257/1.717, allocations: 136.9 kB / 1.132 GB, free: 40.92 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02222/1.739, allocations: 6.804 MB / 1.139 GB, free: 39.61 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.045/1.784, allocations: 22.13 MB / 1.161 GB, free: 23.55 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01149/1.796, allocations: 4.056 MB / 1.165 GB, free: 19.52 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006597/1.802, allocations: 2.27 MB / 1.167 GB, free: 17.25 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01642/1.819, allocations: 8.183 MB / 1.175 GB, free: 8.809 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007528/1.826, allocations: 2.398 MB / 1.177 GB, free: 6.402 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=230): time 5.23e-06/1.826, allocations: 0 / 1.177 GB, free: 6.402 MB / 0.8106 GB Notification: Performance of matching and sorting (n=230): time 0.03367/1.86, allocations: 8.437 MB / 1.185 GB, free: 13.85 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.421e-05/1.86, allocations: 77.41 kB / 1.185 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009264/1.869, allocations: 4.268 MB / 1.19 GB, free: 9.477 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0008884/1.87, allocations: 85.69 kB / 1.19 GB, free: 9.387 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.001948/1.872, allocations: 1.819 MB / 1.191 GB, free: 7.566 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.001399/1.874, allocations: 0.7954 MB / 1.192 GB, free: 6.777 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002024/1.876, allocations: 0.806 MB / 1.193 GB, free: 5.965 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.581e-05/1.876, allocations: 305.1 kB / 1.193 GB, free: 5.664 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009446/1.885, allocations: 2.715 MB / 1.196 GB, free: 2.949 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01124/1.897, allocations: 3.402 MB / 1.199 GB, free: 15.32 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.0208/1.917, allocations: 5.934 MB / 1.205 GB, free: 9.203 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.57e-05/1.917, allocations: 4 kB / 1.205 GB, free: 9.199 MB / 0.8419 GB Notification: Performance of matching and sorting (n=448) (initialization): time 0.0311/1.949, allocations: 7.562 MB / 1.212 GB, free: 1.68 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.99e-05/1.949, allocations: 17.66 kB / 1.213 GB, free: 1.664 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.165e-05/1.949, allocations: 12 kB / 1.213 GB, free: 1.652 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00433/1.953, allocations: 0.9689 MB / 1.213 GB, free: 0.6602 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009359/1.962, allocations: 1.404 MB / 1.215 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01805/1.981, allocations: 14.45 MB / 1.229 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0114/1.992, allocations: 1.172 MB / 1.23 GB, free: 14.67 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001252/1.993, allocations: 187.8 kB / 1.23 GB, free: 14.49 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.003397/1.997, allocations: 0.862 MB / 1.231 GB, free: 13.66 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002122/1.999, allocations: 422.8 kB / 1.232 GB, free: 13.25 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03092/2.03, allocations: 5.784 MB / 1.237 GB, free: 7.449 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.163e-05/2.03, allocations: 24 kB / 1.237 GB, free: 7.426 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.396e-05/2.03, allocations: 4 kB / 1.237 GB, free: 7.422 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.347e-05/2.03, allocations: 15.95 kB / 1.237 GB, free: 7.406 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04635/2.076, allocations: 10.91 MB / 1.248 GB, free: 12.46 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.921e-05/2.076, allocations: 4 kB / 1.248 GB, free: 12.45 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005323/2.082, allocations: 0.6697 MB / 1.249 GB, free: 11.8 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003525/2.085, allocations: 0.7641 MB / 1.249 GB, free: 11.02 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009/2.086, allocations: 83.84 kB / 1.249 GB, free: 10.94 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01537/2.102, allocations: 11.69 MB / 1.261 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.192e-06/2.102, allocations: 7.188 kB / 1.261 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03177/2.133, allocations: 8.204 MB / 1.269 GB, free: 6.105 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003729/2.137, allocations: 1.054 MB / 1.27 GB, free: 5.027 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001909/2.139, allocations: 44 kB / 1.27 GB, free: 4.984 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007308/2.146, allocations: 0.5199 MB / 1.27 GB, free: 4.465 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007563/2.147, allocations: 176.4 kB / 1.271 GB, free: 4.297 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005844/2.148, allocations: 111.9 kB / 1.271 GB, free: 4.188 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.007375/2.155, allocations: 2.935 MB / 1.274 GB, free: 1.25 MB / 0.9044 GB Notification: Performance of sort global known variables: time 4.71e-07/2.155, allocations: 0 / 1.274 GB, free: 1.25 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.007009/2.162, allocations: 1.537 MB / 1.275 GB, free: 15.71 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.003057/2.165, allocations: 1.053 MB / 1.276 GB, free: 14.95 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.02338/2.189, allocations: 6.379 MB / 1.282 GB, free: 8.59 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 9.007e-06/2.189, allocations: 0 / 1.282 GB, free: 8.59 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.009624/2.199, allocations: 3.048 MB / 1.285 GB, free: 5.516 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01245/2.211, allocations: 2.095 MB / 1.287 GB, free: 3.477 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02915/2.24, allocations: 9.242 MB / 1.296 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002567/2.243, allocations: 2.27 MB / 1.299 GB, free: 7.914 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00338/2.246, allocations: 431.1 kB / 1.299 GB, free: 7.492 MB / 0.9356 GB Notification: Performance of SimCode: time 1.052e-06/2.246, allocations: 0 / 1.299 GB, free: 7.492 MB / 0.9356 GB Notification: Performance of Templates: time 0.601/2.847, allocations: 261 MB / 1.554 GB, free: 454.2 MB / 1.061 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.makefile (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.sim & ./IDEAS_IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe 2>&1)