Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow") translateModel(Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.601/1.601, allocations: 288.4 MB / 304.3 MB, free: 8.059 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009404/0.0009404, allocations: 183.5 kB / 372.9 MB, free: 10.15 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.376/1.376, allocations: 205.4 MB / 0.6316 GB, free: 9.93 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006932/0.0006932, allocations: 94.36 kB / 0.745 GB, free: 5.809 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003846/0.0003847, allocations: 16.58 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.19/0.1904, allocations: 115.3 MB / 0.9807 GB, free: 27.34 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow): time 0.677/0.8675, allocations: 229.1 MB / 1.204 GB, free: 15.92 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.02646/0.894, allocations: 17.89 MB / 1.222 GB, free: 1.391 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004067/0.8981, allocations: 62.94 kB / 1.222 GB, free: 1.363 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.003697/0.9018, allocations: 0.842 MB / 1.223 GB, free: 0.6797 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0119/0.9137, allocations: 3.353 MB / 1.226 GB, free: 14.12 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.007023/0.9208, allocations: 1.785 MB / 1.228 GB, free: 12.89 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.009139/0.9299, allocations: 5.709 MB / 1.233 GB, free: 7.98 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003848/0.9338, allocations: 1.522 MB / 1.235 GB, free: 6.426 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008083/0.9419, allocations: 1.929 MB / 1.237 GB, free: 4.496 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003963/0.946, allocations: 1.492 MB / 1.238 GB, free: 3 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0009574/0.9469, allocations: 88 kB / 1.238 GB, free: 2.914 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01107/0.958, allocations: 4.498 MB / 1.243 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.001302/0.9594, allocations: 0.5212 MB / 1.243 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.003302/0.9627, allocations: 1.16 MB / 1.244 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.007791/0.9705, allocations: 3.94 MB / 1.248 GB, free: 8.762 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 9.127e-06/0.9706, allocations: 0 / 1.248 GB, free: 8.762 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.804e-06/0.9706, allocations: 0 / 1.248 GB, free: 8.762 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0001598/0.9707, allocations: 0 / 1.248 GB, free: 8.762 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 421 * Number of variables: 421 Notification: Performance of Generate backend data structure: time 0.007995/0.9787, allocations: 2.797 MB / 1.251 GB, free: 5.879 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.915e-05/0.9788, allocations: 8.031 kB / 1.251 GB, free: 5.871 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01491/0.9937, allocations: 2.26 MB / 1.253 GB, free: 3.605 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004412/0.9982, allocations: 1.893 MB / 1.255 GB, free: 1.66 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007351/0.999, allocations: 267.5 kB / 1.255 GB, free: 1.398 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005903/0.9996, allocations: 179.9 kB / 1.255 GB, free: 1.223 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007968/1.008, allocations: 2.911 MB / 1.258 GB, free: 14.27 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.517e-05/1.008, allocations: 0 / 1.258 GB, free: 14.27 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002348/1.008, allocations: 67.98 kB / 1.258 GB, free: 14.2 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.696e-05/1.008, allocations: 67.19 kB / 1.258 GB, free: 14.14 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01031/1.018, allocations: 3.498 MB / 1.262 GB, free: 10.63 MB / 0.7917 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.01555/1.034, allocations: 9.114 MB / 1.271 GB, free: 1.07 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007229/1.041, allocations: 2.557 MB / 1.273 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004549/1.046, allocations: 1.57 MB / 1.275 GB, free: 12.93 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009862/1.056, allocations: 5.267 MB / 1.28 GB, free: 7.34 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004514/1.06, allocations: 1.753 MB / 1.282 GB, free: 5.555 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=149): time 4.378e-06/1.06, allocations: 4 kB / 1.282 GB, free: 5.551 MB / 0.8073 GB Notification: Performance of matching and sorting (n=149): time 0.01564/1.076, allocations: 4.752 MB / 1.286 GB, free: 0.7578 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.535e-05/1.076, allocations: 153.8 kB / 1.286 GB, free: 0.5781 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002728/1.079, allocations: 1.637 MB / 1.288 GB, free: 14.94 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003421/1.079, allocations: 53.7 kB / 1.288 GB, free: 14.88 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007855/1.08, allocations: 0.8346 MB / 1.289 GB, free: 14.04 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005918/1.08, allocations: 0.4929 MB / 1.289 GB, free: 13.54 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001514/1.081, allocations: 36 kB / 1.289 GB, free: 13.5 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001663/1.081, allocations: 369.9 kB / 1.29 GB, free: 13.13 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004632/1.085, allocations: 1.468 MB / 1.291 GB, free: 11.66 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004839/1.09, allocations: 1.795 MB / 1.293 GB, free: 9.758 MB / 0.823 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.01095/1.101, allocations: 3.682 MB / 1.296 GB, free: 5.953 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.33e-05/1.101, allocations: 7.938 kB / 1.296 GB, free: 5.945 MB / 0.823 GB Notification: Performance of matching and sorting (n=233) (initialization): time 0.01245/1.114, allocations: 3.831 MB / 1.3 GB, free: 2.082 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002586/1.114, allocations: 339.7 kB / 1.301 GB, free: 1.648 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.706e-05/1.114, allocations: 8 kB / 1.301 GB, free: 1.641 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000863/1.115, allocations: 202.4 kB / 1.301 GB, free: 1.434 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004997/1.12, allocations: 0.788 MB / 1.302 GB, free: 0.6445 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003542/1.124, allocations: 3.885 MB / 1.305 GB, free: 12.44 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004793/1.128, allocations: 0.5203 MB / 1.306 GB, free: 11.92 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005126/1.129, allocations: 95.92 kB / 1.306 GB, free: 11.82 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/1.129, allocations: 4 kB / 1.306 GB, free: 11.82 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01197/1.141, allocations: 3.703 MB / 1.31 GB, free: 8.098 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.599e-05/1.141, allocations: 4 kB / 1.31 GB, free: 8.094 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007764/1.142, allocations: 202.5 kB / 1.31 GB, free: 7.887 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00482/1.147, allocations: 0.7997 MB / 1.311 GB, free: 7.086 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003227/1.15, allocations: 3.886 MB / 1.314 GB, free: 2.883 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004395/1.154, allocations: 490.1 kB / 1.315 GB, free: 2.402 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003943/1.155, allocations: 95.92 kB / 1.315 GB, free: 2.309 MB / 0.8386 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: hex.UAFroRated.TWatIn = 293.15 hex.UAFroRated.hAirIn = 45300.945. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 18 (hex.UAFroRated.isFulDry,hex.UAFroRated.isFulWet,hex.flowRegime_nominal,$whenCondition1,$whenCondition2,mWatGai.a,mWatGai.b,mWatGai.last,$PRE.mWatGai.nextEvent,mWatGai.nextEvent,mWatGai.nextEventScaled,mAirGai.a,mAirGai.b,mAirGai.last,$PRE.mAirGai.nextEvent,mAirGai.nextEvent,mAirGai.nextEventScaled,hex.flowRegime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (215): * Single equations (assignments): 207 * Array equations: 2 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 1,1 3,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.00146/1.156, allocations: 0.649 MB / 1.316 GB, free: 1.637 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006054/1.157, allocations: 197.7 kB / 1.316 GB, free: 1.441 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01171/1.169, allocations: 3.688 MB / 1.319 GB, free: 13.72 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.198e-05/1.169, allocations: 7.922 kB / 1.319 GB, free: 13.71 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/1.169, allocations: 0 / 1.319 GB, free: 13.71 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001571/1.17, allocations: 0.6112 MB / 1.32 GB, free: 13.08 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003785/1.171, allocations: 32 kB / 1.32 GB, free: 13.05 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003117/1.174, allocations: 367.5 kB / 1.32 GB, free: 12.69 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002254/1.174, allocations: 97.11 kB / 1.32 GB, free: 12.59 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01223/1.186, allocations: 3.683 MB / 1.324 GB, free: 8.859 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01412/1.2, allocations: 5.093 MB / 1.329 GB, free: 3.73 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004417/1.205, allocations: 1.533 MB / 1.33 GB, free: 2.195 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001904/1.207, allocations: 1.107 MB / 1.332 GB, free: 1.098 MB / 0.8542 GB Notification: Performance of Backend: time 9.82e-07/1.207, allocations: 0 / 1.332 GB, free: 1.098 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.01774/1.225, allocations: 5.623 MB / 1.337 GB, free: 11.41 MB / 0.8698 GB Notification: Performance of SimCode: time 0.008771/1.233, allocations: 4.99 MB / 1.342 GB, free: 6.355 MB / 0.8698 GB Notification: Performance of Templates: time 0.1086/1.342, allocations: 68.33 MB / 1.409 GB, free: 2.246 MB / 0.9323 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow.pipe 2>&1)