Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Validation_DryCoilEffectivenessNTU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Validation_DryCoilEffectivenessNTU",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.379/1.379, allocations: 251.9 MB / 266.9 MB, free: 11.07 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001144/0.001144, allocations: 188.9 kB / 326.5 MB, free: 2.266 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.715/1.715, allocations: 205.4 MB / 0.5775 GB, free: 20.29 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008985/0.0008986, allocations: 95.73 kB / 0.6821 GB, free: 12.93 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003257/0.0003258, allocations: 9.156 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2155/0.2159, allocations: 106.3 MB / 0.9001 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU): time 0.8162/1.032, allocations: 291.3 MB / 1.185 GB, free: 5.316 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.04606/1.078, allocations: 29.06 MB / 1.213 GB, free: 14.09 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007826/1.086, allocations: 135 kB / 1.213 GB, free: 13.96 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.01006/1.096, allocations: 2.298 MB / 1.215 GB, free: 11.65 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.02819/1.124, allocations: 7.663 MB / 1.223 GB, free: 3.973 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.01056/1.135, allocations: 3.265 MB / 1.226 GB, free: 0.7617 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.01498/1.15, allocations: 7.253 MB / 1.233 GB, free: 9.496 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007133/1.157, allocations: 3.458 MB / 1.237 GB, free: 5.988 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01287/1.17, allocations: 4.875 MB / 1.241 GB, free: 1.098 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006914/1.177, allocations: 2.868 MB / 1.244 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.002081/1.179, allocations: 216 kB / 1.244 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01265/1.192, allocations: 3.113 MB / 1.247 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.003644/1.196, allocations: 1.074 MB / 1.248 GB, free: 9.812 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.004061/1.2, allocations: 1.065 MB / 1.249 GB, free: 8.738 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.01207/1.212, allocations: 6.123 MB / 1.255 GB, free: 2.602 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/1.212, allocations: 0 / 1.255 GB, free: 2.602 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.315e-06/1.212, allocations: 0 / 1.255 GB, free: 2.602 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0002228/1.212, allocations: 0 / 1.255 GB, free: 2.602 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: 822 * Number of variables: 822 Notification: Performance of Generate backend data structure: time 0.01586/1.228, allocations: 5.242 MB / 1.261 GB, free: 13.28 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.869e-05/1.228, allocations: 8.031 kB / 1.261 GB, free: 13.27 MB / 0.7917 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001569/1.23, allocations: 443 kB / 1.261 GB, free: 12.82 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01188/1.241, allocations: 2.23 MB / 1.263 GB, free: 10.59 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0093/1.251, allocations: 3.486 MB / 1.267 GB, free: 7.047 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003236/1.254, allocations: 0.9169 MB / 1.267 GB, free: 6.125 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001328/1.255, allocations: 356 kB / 1.268 GB, free: 5.777 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01276/1.268, allocations: 4.871 MB / 1.273 GB, free: 0.8203 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.557e-05/1.268, allocations: 3.984 kB / 1.273 GB, free: 0.8164 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004899/1.269, allocations: 128 kB / 1.273 GB, free: 0.6914 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001485/1.269, allocations: 150.1 kB / 1.273 GB, free: 0.543 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01597/1.285, allocations: 5.579 MB / 1.278 GB, free: 10.95 MB / 0.8073 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.04198/1.327, allocations: 19.86 MB / 1.298 GB, free: 5.773 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01309/1.34, allocations: 4.113 MB / 1.302 GB, free: 1.656 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009998/1.341, allocations: 0.5267 MB / 1.302 GB, free: 1.039 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00729/1.349, allocations: 2.411 MB / 1.305 GB, free: 14.61 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=251): time 8.826e-06/1.349, allocations: 3.938 kB / 1.305 GB, free: 14.61 MB / 0.8386 GB Notification: Performance of matching and sorting (n=251): time 0.02136/1.37, allocations: 6.104 MB / 1.31 GB, free: 8.496 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000105/1.37, allocations: 107.1 kB / 1.311 GB, free: 8.371 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007863/1.378, allocations: 3.632 MB / 1.314 GB, free: 4.73 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.001212/1.379, allocations: 93.7 kB / 1.314 GB, free: 4.633 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.002632/1.382, allocations: 1.836 MB / 1.316 GB, free: 2.785 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.001618/1.384, allocations: 0.8393 MB / 1.317 GB, free: 1.934 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008196/1.384, allocations: 64 kB / 1.317 GB, free: 1.871 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0003933/1.385, allocations: 428.6 kB / 1.317 GB, free: 1.445 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006497/1.391, allocations: 2.02 MB / 1.319 GB, free: 15.42 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007224/1.399, allocations: 2.768 MB / 1.322 GB, free: 12.38 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006749/1.405, allocations: 2.162 MB / 1.324 GB, free: 10.2 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.842e-05/1.405, allocations: 4 kB / 1.324 GB, free: 10.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=404) (initialization): time 0.01696/1.422, allocations: 5.239 MB / 1.329 GB, free: 4.91 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.002265/1.425, allocations: 5.25 MB / 1.334 GB, free: 15.34 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.089e-05/1.425, allocations: 12 kB / 1.334 GB, free: 15.32 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.122e-05/1.425, allocations: 31.98 kB / 1.334 GB, free: 15.29 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00754/1.432, allocations: 1.252 MB / 1.336 GB, free: 14.04 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003519/1.436, allocations: 5.962 MB / 1.341 GB, free: 7.84 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006863/1.443, allocations: 0.8436 MB / 1.342 GB, free: 6.992 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009888/1.444, allocations: 164 kB / 1.342 GB, free: 6.832 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/1.444, allocations: 4 kB / 1.342 GB, free: 6.828 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01577/1.46, allocations: 4.851 MB / 1.347 GB, free: 1.941 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.203e-05/1.46, allocations: 12.78 kB / 1.347 GB, free: 1.93 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.992e-05/1.46, allocations: 28 kB / 1.347 GB, free: 1.902 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006066/1.466, allocations: 1.104 MB / 1.348 GB, free: 0.7969 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.464e-05/1.466, allocations: 35.94 kB / 1.348 GB, free: 0.7617 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006601/1.473, allocations: 0.8012 MB / 1.349 GB, free: 15.96 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00101/1.474, allocations: 155.9 kB / 1.349 GB, free: 15.8 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 15 (hexCroUnm.flowRegime,$whenCondition1,hexPar.flowRegime,hexCou.flowRegime,hexCroC1Mix.flowRegime,hexCroC1Unm.flowRegime,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count,hexPar.flowRegime_nominal,hexCou.flowRegime_nominal,hexCroC1Mix.flowRegime_nominal,hexCroC1Unm.flowRegime_nominal,hexCroUnm.flowRegime_nominal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (403): * Single equations (assignments): 392 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003492/1.477, allocations: 0.92 MB / 1.35 GB, free: 14.88 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001936/1.479, allocations: 434.6 kB / 1.351 GB, free: 14.45 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01685/1.496, allocations: 4.888 MB / 1.355 GB, free: 9.5 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.225e-05/1.496, allocations: 28 kB / 1.355 GB, free: 9.473 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.008e-05/1.496, allocations: 0 / 1.355 GB, free: 9.473 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.489e-05/1.496, allocations: 15.89 kB / 1.355 GB, free: 9.457 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03509/1.531, allocations: 9.316 MB / 1.364 GB, free: 15.95 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.279e-05/1.531, allocations: 4 kB / 1.364 GB, free: 15.95 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006506/1.538, allocations: 0.894 MB / 1.365 GB, free: 15.05 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.945e-05/1.538, allocations: 16 kB / 1.365 GB, free: 15.04 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005345/1.539, allocations: 87.88 kB / 1.365 GB, free: 14.95 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003608/1.542, allocations: 5.939 MB / 1.371 GB, free: 8.781 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.09e-05/1.542, allocations: 12.22 kB / 1.371 GB, free: 8.77 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0214/1.564, allocations: 5.344 MB / 1.376 GB, free: 3.098 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004927/1.569, allocations: 1.014 MB / 1.377 GB, free: 2.059 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001688/1.57, allocations: 51.98 kB / 1.377 GB, free: 2.008 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00864/1.579, allocations: 0.6086 MB / 1.378 GB, free: 1.398 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008724/1.58, allocations: 197.7 kB / 1.378 GB, free: 1.203 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006472/1.581, allocations: 127.9 kB / 1.378 GB, free: 1.078 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.007001/1.588, allocations: 2.39 MB / 1.381 GB, free: 14.69 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6.61e-07/1.588, allocations: 0 / 1.381 GB, free: 14.69 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.01197/1.6, allocations: 2.304 MB / 1.383 GB, free: 12.38 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,hexPar.flowRegime,hexCou.flowRegime,hexCroC1Mix.flowRegime,hexCroC1Unm.flowRegime,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (283): * Single equations (assignments): 269 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02546/1.625, allocations: 7.521 MB / 1.39 GB, free: 4.625 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.03661/1.662, allocations: 7.617 MB / 1.398 GB, free: 12.96 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.805e-05/1.662, allocations: 8.062 kB / 1.398 GB, free: 12.95 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.01111/1.673, allocations: 2.417 MB / 1.4 GB, free: 10.53 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01662/1.69, allocations: 1.999 MB / 1.402 GB, free: 8.523 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4738/2.164, allocations: 19.45 MB / 1.421 GB, free: 358.8 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002869/2.167, allocations: 2.47 MB / 1.423 GB, free: 358 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.00815/2.175, allocations: 1.244 MB / 1.425 GB, free: 358 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004139/2.179, allocations: 1.888 MB / 1.427 GB, free: 357.9 MB / 0.9323 GB Notification: Performance of SimCode: time 1.753e-06/2.179, allocations: 0 / 1.427 GB, free: 357.9 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1707/2.35, allocations: 116.9 MB / 1.541 GB, free: 267.4 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001453/2.35, allocations: 275.2 kB / 1.541 GB, free: 267 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.241/9.591, allocations: 0 / 1.541 GB, free: 267 MB / 0.9323 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Validation_DryCoilEffectivenessNTU_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Validation_DryCoilEffectivenessNTU.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe 2>&1)