Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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: translateModel(BuildingSystems.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU") translateModel(BuildingSystems.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.00141/0.00141, allocations: 115.3 kB / 15.34 MB, free: 0.5078 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.00166/0.00166, allocations: 189.4 kB / 16.25 MB, free: 6.586 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.285/1.285, allocations: 222.9 MB / 239.9 MB, free: 4.48 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002009/0.00201, allocations: 290.9 kB / 290.4 MB, free: 2.094 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9225/0.9225, allocations: 169.2 MB / 0.4978 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001633/0.001633, allocations: 91.05 kB / 0.5947 GB, free: 28.33 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1564/0.158, allocations: 86.99 MB / 0.6796 GB, free: 1.066 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU): time 0.6316/0.7896, allocations: 365.6 MB / 1.037 GB, free: 9.809 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.4242/1.214, allocations: 33.12 MB / 1.069 GB, free: 45.75 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005844/1.22, allocations: 138.5 kB / 1.069 GB, free: 45.75 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.006262/1.226, allocations: 2.051 MB / 1.071 GB, free: 45.75 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.02256/1.249, allocations: 7.007 MB / 1.078 GB, free: 45.61 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.01407/1.263, allocations: 4.209 MB / 1.082 GB, free: 45.52 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.02115/1.284, allocations: 11.09 MB / 1.093 GB, free: 45.5 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007183/1.291, allocations: 3.944 MB / 1.097 GB, free: 45.09 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01754/1.309, allocations: 5.49 MB / 1.102 GB, free: 45.02 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008007/1.317, allocations: 3.57 MB / 1.106 GB, free: 44.48 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.002367/1.319, allocations: 0.5487 MB / 1.106 GB, free: 44.48 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01616/1.335, allocations: 7.012 MB / 1.113 GB, free: 44.41 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.002929/1.338, allocations: 1.481 MB / 1.114 GB, free: 44.23 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.006084/1.344, allocations: 2.848 MB / 1.117 GB, free: 43.49 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.02065/1.365, allocations: 10.03 MB / 1.127 GB, free: 42.38 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 7.233e-06/1.365, allocations: 0.9688 kB / 1.127 GB, free: 42.38 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.475e-06/1.365, allocations: 0 / 1.127 GB, free: 42.38 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 0.0002308/1.365, allocations: 3 kB / 1.127 GB, free: 42.38 MB / 0.7637 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.01695/1.382, allocations: 5.954 MB / 1.133 GB, free: 39.84 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/1.382, allocations: 7.188 kB / 1.133 GB, free: 39.84 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03075/1.413, allocations: 4.294 MB / 1.137 GB, free: 38.66 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009338/1.422, allocations: 3.603 MB / 1.141 GB, free: 37.2 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001579/1.424, allocations: 0.5167 MB / 1.141 GB, free: 37.07 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001906/1.426, allocations: 361.7 kB / 1.141 GB, free: 37.07 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01892/1.445, allocations: 5.705 MB / 1.147 GB, free: 35.46 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001384/1.445, allocations: 4 kB / 1.147 GB, free: 35.45 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001196/1.446, allocations: 135 kB / 1.147 GB, free: 35.45 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001351/1.447, allocations: 139.3 kB / 1.147 GB, free: 35.44 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02101/1.468, allocations: 6.827 MB / 1.154 GB, free: 32.08 MB / 0.7637 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.04379/1.511, allocations: 22.28 MB / 1.176 GB, free: 10.19 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01056/1.522, allocations: 4.025 MB / 1.18 GB, free: 6.195 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006152/1.528, allocations: 2.252 MB / 1.182 GB, free: 3.945 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01569/1.544, allocations: 8.177 MB / 1.19 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007479/1.551, allocations: 2.489 MB / 1.192 GB, free: 9.012 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=228): time 4.939e-06/1.551, allocations: 0 / 1.192 GB, free: 9.012 MB / 0.7794 GB Notification: Performance of matching and sorting (n=228): time 0.03473/1.586, allocations: 8.412 MB / 1.2 GB, free: 492 kB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.003e-05/1.586, allocations: 127.8 kB / 1.201 GB, free: 340 kB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009841/1.596, allocations: 4.324 MB / 1.205 GB, free: 11.99 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0008591/1.597, allocations: 73.7 kB / 1.205 GB, free: 11.91 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.002099/1.599, allocations: 1.823 MB / 1.207 GB, free: 10.09 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.001389/1.601, allocations: 0.7948 MB / 1.207 GB, free: 9.301 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003666/1.604, allocations: 0.8198 MB / 1.208 GB, free: 8.477 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001169/1.604, allocations: 309 kB / 1.208 GB, free: 8.172 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009798/1.614, allocations: 2.736 MB / 1.211 GB, free: 5.434 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01083/1.625, allocations: 3.462 MB / 1.215 GB, free: 1.734 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.02138/1.646, allocations: 5.966 MB / 1.22 GB, free: 11.61 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4e-05/1.646, allocations: 8 kB / 1.22 GB, free: 11.6 MB / 0.8106 GB Notification: Performance of matching and sorting (n=454) (initialization): time 0.03233/1.679, allocations: 7.6 MB / 1.228 GB, free: 4.031 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 5.135e-05/1.679, allocations: 8 kB / 1.228 GB, free: 4.023 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.864e-05/1.679, allocations: 16 kB / 1.228 GB, free: 4.008 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005709/1.685, allocations: 0.9662 MB / 1.229 GB, free: 3.016 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01271/1.697, allocations: 1.418 MB / 1.23 GB, free: 1.645 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02461/1.722, allocations: 14.56 MB / 1.244 GB, free: 2.094 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01506/1.737, allocations: 1.318 MB / 1.246 GB, free: 0.7734 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001557/1.739, allocations: 183.8 kB / 1.246 GB, free: 0.5938 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.003792/1.743, allocations: 0.8713 MB / 1.247 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00187/1.744, allocations: 422.8 kB / 1.247 GB, free: 15.35 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02216/1.767, allocations: 5.771 MB / 1.253 GB, free: 9.562 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.354e-05/1.767, allocations: 27.98 kB / 1.253 GB, free: 9.535 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/1.767, allocations: 4 kB / 1.253 GB, free: 9.531 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.68e-05/1.767, allocations: 11.95 kB / 1.253 GB, free: 9.52 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03185/1.799, allocations: 10.89 MB / 1.263 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.186e-05/1.799, allocations: 4 kB / 1.263 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00492/1.804, allocations: 0.6686 MB / 1.264 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003425/1.807, allocations: 0.7665 MB / 1.265 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005434/1.808, allocations: 79.91 kB / 1.265 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01399/1.822, allocations: 11.7 MB / 1.276 GB, free: 0.5156 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.03e-06/1.822, allocations: 8.062 kB / 1.276 GB, free: 0.5078 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02863/1.85, allocations: 8.169 MB / 1.284 GB, free: 8.262 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003231/1.854, allocations: 1.069 MB / 1.285 GB, free: 7.168 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001695/1.855, allocations: 48.03 kB / 1.285 GB, free: 7.121 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007393/1.863, allocations: 0.6132 MB / 1.286 GB, free: 6.508 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005327/1.863, allocations: 165 kB / 1.286 GB, free: 6.352 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004428/1.864, allocations: 111.9 kB / 1.286 GB, free: 6.242 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.007429/1.871, allocations: 2.979 MB / 1.289 GB, free: 3.262 MB / 0.8731 GB Notification: Performance of sort global known variables: time 6.91e-07/1.871, allocations: 0 / 1.289 GB, free: 3.262 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.006647/1.878, allocations: 1.558 MB / 1.291 GB, free: 1.703 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.002748/1.881, allocations: 1.037 MB / 1.292 GB, free: 0.9062 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.02706/1.908, allocations: 7.101 MB / 1.299 GB, free: 9.848 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 1.12e-05/1.908, allocations: 4 kB / 1.299 GB, free: 9.844 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.009188/1.917, allocations: 3.021 MB / 1.302 GB, free: 6.793 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01209/1.929, allocations: 2.097 MB / 1.304 GB, free: 4.777 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02949/1.959, allocations: 10.73 MB / 1.314 GB, free: 10.03 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002536/1.961, allocations: 2.305 MB / 1.316 GB, free: 7.691 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.00751/1.969, allocations: 1.047 MB / 1.317 GB, free: 6.656 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00188/1.971, allocations: 370.4 kB / 1.318 GB, free: 6.297 MB / 0.9044 GB Notification: Performance of SimCode: time 1.713e-06/1.971, allocations: 0 / 1.318 GB, free: 6.297 MB / 0.9044 GB Notification: Performance of Templates: time 0.4801/2.451, allocations: 99.86 MB / 1.415 GB, free: 376.4 MB / 0.9825 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe 2>&1)