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.005404/0.005404, allocations: 98.16 kB / 15.73 MB, free: 6.039 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.001231/0.001231, allocations: 204.8 kB / 16.68 MB, free: 5.961 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.332/1.332, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9128/0.9128, allocations: 135.6 MB / 426.1 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001839/0.001839, allocations: 67.89 kB / 0.5858 GB, free: 3.184 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3483/0.3501, allocations: 81.03 MB / 0.6649 GB, free: 6.875 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU): time 0.6787/1.029, allocations: 369.7 MB / 1.026 GB, free: 10.61 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.04763/1.077, allocations: 33.25 MB / 1.058 GB, free: 10.82 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005779/1.082, allocations: 155.1 kB / 1.059 GB, free: 10.67 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.006169/1.089, allocations: 2.36 MB / 1.061 GB, free: 8.297 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.01879/1.107, allocations: 7.482 MB / 1.068 GB, free: 0.7812 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.01057/1.118, allocations: 4.539 MB / 1.073 GB, free: 12.27 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.01505/1.133, allocations: 11.04 MB / 1.083 GB, free: 1.199 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005716/1.139, allocations: 3.976 MB / 1.087 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01264/1.151, allocations: 5.439 MB / 1.093 GB, free: 7.766 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006056/1.158, allocations: 3.438 MB / 1.096 GB, free: 4.324 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.001022/1.159, allocations: 0.5469 MB / 1.096 GB, free: 3.777 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01334/1.172, allocations: 6.799 MB / 1.103 GB, free: 12.96 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.001806/1.174, allocations: 1.46 MB / 1.104 GB, free: 11.5 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.003848/1.178, allocations: 2.831 MB / 1.107 GB, free: 8.656 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.01688/1.194, allocations: 9.812 MB / 1.117 GB, free: 14.81 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/1.195, allocations: 0 / 1.117 GB, free: 14.81 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.854e-06/1.195, allocations: 0 / 1.117 GB, free: 14.81 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.0001094/1.195, allocations: 0 / 1.117 GB, free: 14.81 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.01263/1.207, allocations: 6.106 MB / 1.123 GB, free: 8.594 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/1.207, allocations: 8.031 kB / 1.123 GB, free: 8.586 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005539/1.208, allocations: 451.8 kB / 1.123 GB, free: 8.133 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02897/1.237, allocations: 4.316 MB / 1.127 GB, free: 3.809 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007742/1.245, allocations: 3.711 MB / 1.131 GB, free: 36 kB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003086/1.245, allocations: 316.9 kB / 1.131 GB, free: 15.72 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007043/1.246, allocations: 360 kB / 1.132 GB, free: 15.37 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01419/1.26, allocations: 5.697 MB / 1.137 GB, free: 9.586 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.685e-05/1.26, allocations: 3.984 kB / 1.137 GB, free: 9.582 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004345/1.26, allocations: 136 kB / 1.137 GB, free: 9.449 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001246/1.261, allocations: 130.5 kB / 1.138 GB, free: 9.32 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02013/1.281, allocations: 6.806 MB / 1.144 GB, free: 2.504 MB / 0.8262 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.03878/1.319, allocations: 22.17 MB / 1.166 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01117/1.331, allocations: 4.056 MB / 1.17 GB, free: 7.148 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00658/1.337, allocations: 2.274 MB / 1.172 GB, free: 4.871 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01421/1.352, allocations: 8.183 MB / 1.18 GB, free: 12.32 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007076/1.359, allocations: 2.397 MB / 1.182 GB, free: 9.914 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=230): time 4.548e-06/1.359, allocations: 0 / 1.182 GB, free: 9.914 MB / 0.8731 GB Notification: Performance of matching and sorting (n=230): time 0.03185/1.391, allocations: 8.455 MB / 1.191 GB, free: 1.32 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.192e-05/1.391, allocations: 77.41 kB / 1.191 GB, free: 1.234 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007845/1.398, allocations: 4.272 MB / 1.195 GB, free: 12.94 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.000564/1.399, allocations: 81.7 kB / 1.195 GB, free: 12.85 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.001735/1.401, allocations: 1.856 MB / 1.197 GB, free: 10.98 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009702/1.402, allocations: 0.8289 MB / 1.198 GB, free: 10.15 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001654/1.403, allocations: 0.8161 MB / 1.198 GB, free: 9.324 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001194/1.404, allocations: 305.1 kB / 1.199 GB, free: 9.023 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008801/1.412, allocations: 2.716 MB / 1.201 GB, free: 6.305 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009524/1.422, allocations: 3.404 MB / 1.205 GB, free: 2.668 MB / 0.8887 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.3119/1.734, allocations: 5.937 MB / 1.21 GB, free: 373.7 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.451e-05/1.734, allocations: 5.719 kB / 1.21 GB, free: 373.7 MB / 0.8887 GB Notification: Performance of matching and sorting (n=448) (initialization): time 0.02808/1.762, allocations: 7.575 MB / 1.218 GB, free: 371.7 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 3.536e-05/1.762, allocations: 11.97 kB / 1.218 GB, free: 371.7 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.444e-05/1.762, allocations: 15.91 kB / 1.218 GB, free: 371.7 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00382/1.766, allocations: 0.9708 MB / 1.219 GB, free: 371.5 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008197/1.774, allocations: 1.408 MB / 1.22 GB, free: 371.4 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01325/1.787, allocations: 14.46 MB / 1.234 GB, free: 358.4 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009339/1.797, allocations: 1.18 MB / 1.235 GB, free: 358.3 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008334/1.798, allocations: 186 kB / 1.236 GB, free: 358.3 MB / 0.8887 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.001991/1.8, allocations: 0.8637 MB / 1.236 GB, free: 357.8 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001239/1.801, allocations: 443.3 kB / 1.237 GB, free: 357.7 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01863/1.82, allocations: 5.79 MB / 1.243 GB, free: 355.9 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-05/1.82, allocations: 22.84 kB / 1.243 GB, free: 355.9 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/1.82, allocations: 1.281 kB / 1.243 GB, free: 355.9 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.43e-05/1.82, allocations: 9.984 kB / 1.243 GB, free: 355.9 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02423/1.844, allocations: 10.92 MB / 1.253 GB, free: 349.3 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-05/1.844, allocations: 8.031 kB / 1.253 GB, free: 349.3 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004075/1.848, allocations: 0.6655 MB / 1.254 GB, free: 349.1 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002819/1.851, allocations: 0.7664 MB / 1.255 GB, free: 348.7 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003171/1.851, allocations: 83.47 kB / 1.255 GB, free: 348.6 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01038/1.862, allocations: 11.68 MB / 1.266 GB, free: 337.5 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/1.862, allocations: 5.844 kB / 1.266 GB, free: 337.5 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02455/1.886, allocations: 8.233 MB / 1.274 GB, free: 333.1 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001854/1.888, allocations: 1.075 MB / 1.275 GB, free: 332.2 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007028/1.889, allocations: 51.36 kB / 1.275 GB, free: 332.2 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005195/1.894, allocations: 0.5197 MB / 1.276 GB, free: 332 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003391/1.894, allocations: 171.1 kB / 1.276 GB, free: 331.9 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002551/1.895, allocations: 112.4 kB / 1.276 GB, free: 331.8 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.004472/1.899, allocations: 2.944 MB / 1.279 GB, free: 330.3 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.1e-07/1.899, allocations: 0 / 1.279 GB, free: 330.3 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.003392/1.902, allocations: 1.541 MB / 1.28 GB, free: 330.1 MB / 0.8887 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.02384/1.926, allocations: 9.644 MB / 1.29 GB, free: 322.1 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.01787/1.944, allocations: 6.386 MB / 1.296 GB, free: 315.7 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 6.863e-06/1.944, allocations: 384 / 1.296 GB, free: 315.7 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.007011/1.951, allocations: 3.051 MB / 1.299 GB, free: 312.5 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00877/1.96, allocations: 2.091 MB / 1.301 GB, free: 310.5 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08755/2.048, allocations: 39.76 MB / 1.34 GB, free: 270 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00133/2.049, allocations: 2.301 MB / 1.342 GB, free: 267.7 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.00458/2.054, allocations: 1.04 MB / 1.343 GB, free: 266.7 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002368/2.056, allocations: 1.807 MB / 1.345 GB, free: 264.9 MB / 0.8887 GB Notification: Performance of SimCode: time 6.92e-07/2.056, allocations: 0 / 1.345 GB, free: 264.9 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8462/2.902, allocations: 125.9 MB / 1.468 GB, free: 139.9 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.8/23.7, allocations: 15.03 kB / 1.468 GB, free: 139.9 MB / 0.8887 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)