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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001717/0.001717, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002163/0.002163, allocations: 210.5 kB / 22.24 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.435/1.435, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8404/0.8404, allocations: 134 MB / 446.4 MB, free: 9.926 MB / 350.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_Validation_WetCoilEffectivenessNTU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_Validation_WetCoilEffectivenessNTU",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001976/0.001976, allocations: 70.73 kB / 0.6185 GB, free: 6.965 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1712/0.1732, allocations: 85.91 MB / 0.7024 GB, free: 1.145 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU): time 0.7401/0.9133, allocations: 330.8 MB / 1.025 GB, free: 7.855 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.05016/0.9635, allocations: 31.1 MB / 1.056 GB, free: 8.672 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006545/0.97, allocations: 202.3 kB / 1.056 GB, free: 8.473 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.007078/0.9771, allocations: 2.31 MB / 1.058 GB, free: 6.148 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.4731/1.45, allocations: 7.88 MB / 1.066 GB, free: 49.42 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.01156/1.462, allocations: 4.558 MB / 1.07 GB, free: 49.41 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.02261/1.484, allocations: 11.13 MB / 1.081 GB, free: 49.4 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009797/1.494, allocations: 3.135 MB / 1.084 GB, free: 49.21 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02022/1.514, allocations: 5.688 MB / 1.09 GB, free: 49.19 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009307/1.524, allocations: 3.365 MB / 1.093 GB, free: 49.18 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.002636/1.526, allocations: 0.5461 MB / 1.094 GB, free: 49.18 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01794/1.544, allocations: 5.769 MB / 1.099 GB, free: 49.18 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.004254/1.548, allocations: 1.501 MB / 1.101 GB, free: 48.98 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.007613/1.556, allocations: 2.277 MB / 1.103 GB, free: 48.43 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.02374/1.58, allocations: 9.734 MB / 1.113 GB, free: 47.27 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/1.58, allocations: 2.312 kB / 1.113 GB, free: 47.27 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.184e-06/1.58, allocations: 0.75 kB / 1.113 GB, free: 47.27 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.000252/1.58, allocations: 0 / 1.113 GB, free: 47.27 MB / 0.8262 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.02139/1.601, allocations: 6.029 MB / 1.118 GB, free: 44.67 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.153e-05/1.602, allocations: 12 kB / 1.118 GB, free: 44.67 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001698/1.603, allocations: 457.3 kB / 1.119 GB, free: 44.61 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03145/1.635, allocations: 4.384 MB / 1.123 GB, free: 44.32 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01062/1.645, allocations: 3.629 MB / 1.127 GB, free: 43.58 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005516/1.646, allocations: 333.7 kB / 1.127 GB, free: 43.51 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002119/1.648, allocations: 349.5 kB / 1.127 GB, free: 43.51 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01816/1.666, allocations: 5.855 MB / 1.133 GB, free: 43.03 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.613e-05/1.666, allocations: 5.312 kB / 1.133 GB, free: 43.03 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006907/1.667, allocations: 136.5 kB / 1.133 GB, free: 43.03 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001311/1.667, allocations: 138.8 kB / 1.133 GB, free: 43.02 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02061/1.688, allocations: 6.789 MB / 1.14 GB, free: 42.88 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.04232/1.73, allocations: 16.6 MB / 1.156 GB, free: 38.39 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01171/1.742, allocations: 3.879 MB / 1.16 GB, free: 37.68 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006583/1.748, allocations: 2.148 MB / 1.162 GB, free: 37.27 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01464/1.763, allocations: 5.793 MB / 1.168 GB, free: 35.54 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006847/1.77, allocations: 2.547 MB / 1.17 GB, free: 34.64 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=230): time 5.701e-06/1.77, allocations: 0 / 1.17 GB, free: 34.64 MB / 0.8262 GB Notification: Performance of matching and sorting (n=230): time 0.03027/1.8, allocations: 8.008 MB / 1.178 GB, free: 28.46 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.433e-05/1.8, allocations: 73.41 kB / 1.178 GB, free: 28.37 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007736/1.808, allocations: 4.323 MB / 1.182 GB, free: 24.03 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.001117/1.809, allocations: 77.7 kB / 1.182 GB, free: 23.95 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.002002/1.811, allocations: 1.849 MB / 1.184 GB, free: 22.1 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.001887/1.813, allocations: 0.8335 MB / 1.185 GB, free: 21.28 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002475/1.815, allocations: 0.8112 MB / 1.186 GB, free: 20.46 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 5.994e-05/1.815, allocations: 301.7 kB / 1.186 GB, free: 20.16 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008399/1.824, allocations: 2.723 MB / 1.189 GB, free: 17.44 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009291/1.833, allocations: 3.884 MB / 1.193 GB, free: 13.21 MB / 0.8262 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.01693/1.85, allocations: 5.878 MB / 1.198 GB, free: 7.18 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.746e-05/1.85, allocations: 7.938 kB / 1.198 GB, free: 7.172 MB / 0.8262 GB Notification: Performance of matching and sorting (n=448) (initialization): time 0.02466/1.875, allocations: 7.57 MB / 1.206 GB, free: 15.65 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 4.56e-05/1.875, allocations: 12.5 kB / 1.206 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.822e-05/1.875, allocations: 20 kB / 1.206 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004262/1.879, allocations: 0.9731 MB / 1.207 GB, free: 14.62 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01001/1.889, allocations: 1.407 MB / 1.208 GB, free: 13.26 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01899/1.908, allocations: 13.67 MB / 1.221 GB, free: 14.76 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01043/1.918, allocations: 1.164 MB / 1.223 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000997/1.919, allocations: 181.5 kB / 1.223 GB, free: 13.42 MB / 0.8575 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.00248/1.922, allocations: 0.8746 MB / 1.224 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001423/1.923, allocations: 441.2 kB / 1.224 GB, free: 12.15 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02108/1.944, allocations: 5.796 MB / 1.23 GB, free: 6.344 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-05/1.944, allocations: 24 kB / 1.23 GB, free: 6.32 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.204e-06/1.944, allocations: 4 kB / 1.23 GB, free: 6.316 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.848e-05/1.944, allocations: 11.95 kB / 1.23 GB, free: 6.305 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03224/1.977, allocations: 9.893 MB / 1.239 GB, free: 12.41 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.584e-05/1.977, allocations: 4 kB / 1.239 GB, free: 12.4 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004722/1.981, allocations: 0.6686 MB / 1.24 GB, free: 11.75 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00329/1.985, allocations: 0.7609 MB / 1.241 GB, free: 10.97 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007457/1.986, allocations: 83.84 kB / 1.241 GB, free: 10.89 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01502/2.001, allocations: 11.01 MB / 1.252 GB, free: 15.18 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.152e-06/2.001, allocations: 6.531 kB / 1.252 GB, free: 15.17 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03/2.031, allocations: 8.239 MB / 1.26 GB, free: 6.859 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004719/2.035, allocations: 1.002 MB / 1.261 GB, free: 5.859 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001721/2.037, allocations: 47.98 kB / 1.261 GB, free: 5.812 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007742/2.045, allocations: 0.5207 MB / 1.261 GB, free: 5.293 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001189/2.046, allocations: 172.2 kB / 1.261 GB, free: 5.129 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008254/2.047, allocations: 111.9 kB / 1.261 GB, free: 5.02 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.008/2.055, allocations: 2.945 MB / 1.264 GB, free: 2.074 MB / 0.8887 GB Notification: Performance of sort global known variables: time 3.51e-07/2.055, allocations: 0 / 1.264 GB, free: 2.074 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.006922/2.062, allocations: 1.549 MB / 1.266 GB, free: 0.5234 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 (228): * Single equations (assignments): 215 * 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.03248/2.094, allocations: 9.673 MB / 1.275 GB, free: 7.062 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.02403/2.118, allocations: 6.2 MB / 1.281 GB, free: 0.8945 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.306e-05/2.118, allocations: 448 / 1.281 GB, free: 0.8945 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.01028/2.128, allocations: 2.942 MB / 1.284 GB, free: 13.92 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01126/2.14, allocations: 2.102 MB / 1.286 GB, free: 11.87 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1294/2.269, allocations: 39.77 MB / 1.325 GB, free: 3.488 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002238/2.271, allocations: 1.769 MB / 1.327 GB, free: 1.691 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.006339/2.278, allocations: 1.049 MB / 1.328 GB, free: 0.6484 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004338/2.282, allocations: 1.815 MB / 1.33 GB, free: 14.86 MB / 0.9669 GB Notification: Performance of SimCode: time 1.663e-06/2.282, allocations: 0 / 1.33 GB, free: 14.86 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5844/2.866, allocations: 134.2 MB / 1.461 GB, free: 0.507 GB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.53/22.39, allocations: 4.641 kB / 1.461 GB, free: 0.507 GB / 1.061 GB " [Timeout remaining time 637] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatExchangers_Validation_WetCoilEffectivenessNTU_fmu --startTime=0 --stopTime=1000 --stepSize=0.4 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatExchangers_Validation_WetCoilEffectivenessNTU.fmu > IDEAS_IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 26.338213673327118] Failed to read output from testmodel.py, exit status != 0: 22.659298145212233 22.68263799 21.09837627 Calling exit ...