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.001511/0.001511, allocations: 114.5 kB / 16.42 MB, free: 6.461 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.00176/0.00176, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.294/1.294, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002186/0.002186, allocations: 292.3 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9334/0.9334, allocations: 169.2 MB / 0.499 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001902/0.001902, allocations: 95.86 kB / 0.6821 GB, free: 6.953 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4049/0.4068, allocations: 86.97 MB / 0.7671 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU): time 0.7161/1.123, allocations: 369.7 MB / 1.128 GB, free: 6.684 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.04703/1.17, allocations: 33.33 MB / 1.161 GB, free: 5.652 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006382/1.176, allocations: 151.1 kB / 1.161 GB, free: 5.504 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.006437/1.183, allocations: 2.45 MB / 1.163 GB, free: 3.039 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.02233/1.205, allocations: 7.834 MB / 1.171 GB, free: 11.17 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.01167/1.217, allocations: 4.602 MB / 1.175 GB, free: 6.598 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.015/1.232, allocations: 11.11 MB / 1.186 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006714/1.239, allocations: 3.984 MB / 1.19 GB, free: 7.402 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01354/1.252, allocations: 5.576 MB / 1.196 GB, free: 1.871 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006165/1.258, allocations: 3.462 MB / 1.199 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.001935/1.26, allocations: 0.5508 MB / 1.199 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01488/1.275, allocations: 6.818 MB / 1.206 GB, free: 7.027 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.002508/1.278, allocations: 1.476 MB / 1.208 GB, free: 5.547 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.005642/1.283, allocations: 2.839 MB / 1.21 GB, free: 2.695 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.01751/1.301, allocations: 9.801 MB / 1.22 GB, free: 8.867 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/1.301, allocations: 0 / 1.22 GB, free: 8.867 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.914e-06/1.301, allocations: 0 / 1.22 GB, free: 8.867 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0002249/1.301, allocations: 4 kB / 1.22 GB, free: 8.863 MB / 0.8575 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.01559/1.317, allocations: 5.966 MB / 1.226 GB, free: 2.793 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/1.317, allocations: 12.03 kB / 1.226 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03219/1.349, allocations: 4.282 MB / 1.23 GB, free: 14.49 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008459/1.358, allocations: 3.705 MB / 1.234 GB, free: 10.72 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002736/1.358, allocations: 305.3 kB / 1.234 GB, free: 10.41 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007764/1.359, allocations: 359.9 kB / 1.234 GB, free: 10.06 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01519/1.374, allocations: 5.693 MB / 1.24 GB, free: 4.281 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.569e-05/1.374, allocations: 3.938 kB / 1.24 GB, free: 4.277 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004595/1.374, allocations: 132 kB / 1.24 GB, free: 4.148 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001209/1.375, allocations: 134.5 kB / 1.24 GB, free: 4.016 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02108/1.396, allocations: 6.794 MB / 1.247 GB, free: 13.21 MB / 0.8887 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.04102/1.437, allocations: 22.18 MB / 1.268 GB, free: 5.895 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01169/1.448, allocations: 4.042 MB / 1.272 GB, free: 1.855 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006882/1.455, allocations: 2.254 MB / 1.274 GB, free: 15.6 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01448/1.47, allocations: 8.172 MB / 1.282 GB, free: 7.059 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007662/1.478, allocations: 2.489 MB / 1.285 GB, free: 4.547 MB / 0.92 GB Notification: Performance of pre-optimization done (n=228): time 7.574e-06/1.478, allocations: 0 / 1.285 GB, free: 4.547 MB / 0.92 GB Notification: Performance of matching and sorting (n=228): time 0.03408/1.512, allocations: 8.422 MB / 1.293 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.393e-05/1.512, allocations: 124.8 kB / 1.293 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008982/1.521, allocations: 4.31 MB / 1.297 GB, free: 7.512 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0005669/1.521, allocations: 89.64 kB / 1.298 GB, free: 7.418 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.001855/1.523, allocations: 1.818 MB / 1.299 GB, free: 5.582 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.001061/1.524, allocations: 0.7934 MB / 1.3 GB, free: 4.777 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002385/1.527, allocations: 0.8198 MB / 1.301 GB, free: 3.949 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.198e-05/1.527, allocations: 305.1 kB / 1.301 GB, free: 3.648 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009298/1.536, allocations: 2.72 MB / 1.304 GB, free: 0.9258 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009962/1.546, allocations: 3.444 MB / 1.307 GB, free: 13.23 MB / 0.9512 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.01911/1.565, allocations: 5.93 MB / 1.313 GB, free: 7.07 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.957e-05/1.565, allocations: 8 kB / 1.313 GB, free: 7.062 MB / 0.9512 GB Notification: Performance of matching and sorting (n=454) (initialization): time 0.3674/1.933, allocations: 7.558 MB / 1.32 GB, free: 402 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 4.18e-05/1.933, allocations: 11.25 kB / 1.32 GB, free: 402 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.963e-05/1.933, allocations: 17.69 kB / 1.32 GB, free: 402 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00452/1.937, allocations: 0.9744 MB / 1.321 GB, free: 401.9 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009467/1.947, allocations: 1.407 MB / 1.323 GB, free: 401.9 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01504/1.962, allocations: 14.46 MB / 1.337 GB, free: 389.9 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01083/1.973, allocations: 1.188 MB / 1.338 GB, free: 389.9 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008621/1.974, allocations: 186.9 kB / 1.338 GB, free: 389.9 MB / 0.9512 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.002013/1.976, allocations: 0.8795 MB / 1.339 GB, free: 389.3 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00119/1.977, allocations: 417.1 kB / 1.339 GB, free: 389.3 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0195/1.996, allocations: 5.771 MB / 1.345 GB, free: 387.5 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.398e-05/1.996, allocations: 14.56 kB / 1.345 GB, free: 387.5 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.783e-06/1.996, allocations: 1.859 kB / 1.345 GB, free: 387.5 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002351/1.999, allocations: 1.06 MB / 1.346 GB, free: 387 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009378/2, allocations: 39.91 kB / 1.346 GB, free: 387 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005861/2.006, allocations: 0.5398 MB / 1.347 GB, free: 386.9 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003433/2.006, allocations: 160.6 kB / 1.347 GB, free: 386.9 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01924/2.025, allocations: 5.267 MB / 1.352 GB, free: 385.4 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01995/2.045, allocations: 7.319 MB / 1.359 GB, free: 382.7 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005856/2.051, allocations: 2.113 MB / 1.361 GB, free: 381.8 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.005292/2.056, allocations: 2.961 MB / 1.364 GB, free: 380.2 MB / 0.9512 GB Notification: Performance of Backend: time 5.11e-07/2.056, allocations: 4 kB / 1.364 GB, free: 380.2 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0201/2.077, allocations: 6.467 MB / 1.37 GB, free: 375.6 MB / 0.9512 GB Notification: Performance of SimCode: time 0.01563/2.092, allocations: 8.673 MB / 1.379 GB, free: 366.9 MB / 0.9512 GB Notification: Performance of Templates: time 0.1419/2.234, allocations: 118.3 MB / 1.494 GB, free: 249.5 MB / 0.9512 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)