Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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: "" <> buildModelFMU(IBPSA.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_Validation_DryCoilEffectivenessNTU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_Validation_DryCoilEffectivenessNTU",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000893/0.000893, allocations: 93.73 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009378/0.0009378, allocations: 172.8 kB / 16.91 MB, free: 6.68 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.252/1.252, allocations: 223.3 MB / 241 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6323/0.6323, allocations: 115.5 MB / 407.6 MB, free: 2.688 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003444/0.0003444, allocations: 11.98 kB / 495.9 MB, free: 6.25 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.1293, allocations: 77.53 MB / 0.56 GB, free: 8.926 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU): time 0.8393/0.9686, allocations: 348.2 MB / 0.9001 GB, free: 1.801 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.04314/1.012, allocations: 31.95 MB / 0.9313 GB, free: 1.105 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005728/1.018, allocations: 146.2 kB / 0.9314 GB, free: 1.105 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.00608/1.024, allocations: 2.366 MB / 0.9337 GB, free: 1.051 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01793/1.042, allocations: 7.674 MB / 0.9412 GB, free: 144 kB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.008347/1.05, allocations: 3.763 MB / 0.9449 GB, free: 15.38 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0158/1.066, allocations: 16.23 MB / 0.9608 GB, free: 9.613 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006133/1.072, allocations: 3.751 MB / 0.9644 GB, free: 7.543 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01288/1.085, allocations: 6.41 MB / 0.9707 GB, free: 4.422 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007126/1.092, allocations: 3.864 MB / 0.9745 GB, free: 1.129 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001181/1.093, allocations: 212 kB / 0.9747 GB, free: 0.9219 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01061/1.104, allocations: 5.988 MB / 0.9805 GB, free: 11.49 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.001681/1.105, allocations: 1.176 MB / 0.9817 GB, free: 10.35 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.004297/1.11, allocations: 2.639 MB / 0.9842 GB, free: 7.727 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.01039/1.12, allocations: 8.764 MB / 0.9928 GB, free: 15.4 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/1.12, allocations: 3.938 kB / 0.9928 GB, free: 15.4 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.242e-06/1.12, allocations: 4 kB / 0.9928 GB, free: 15.39 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 7.06e-05/1.12, allocations: 0 / 0.9928 GB, free: 15.39 MB / 0.6856 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.01168/1.132, allocations: 5.256 MB / 0.9979 GB, free: 10.14 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/1.132, allocations: 8.031 kB / 0.9979 GB, free: 10.13 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005189/1.133, allocations: 442.2 kB / 0.9984 GB, free: 9.688 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009553/1.142, allocations: 2.218 MB / 1.001 GB, free: 7.461 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005883/1.148, allocations: 3.77 MB / 1.004 GB, free: 3.734 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002863/1.151, allocations: 0.9088 MB / 1.005 GB, free: 2.82 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000495/1.151, allocations: 347.8 kB / 1.005 GB, free: 2.484 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008741/1.16, allocations: 4.9 MB / 1.01 GB, free: 13.51 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.085e-05/1.16, allocations: 4 kB / 1.01 GB, free: 13.5 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003232/1.161, allocations: 131.8 kB / 1.01 GB, free: 13.38 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001217/1.161, allocations: 154.1 kB / 1.01 GB, free: 13.23 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01182/1.172, allocations: 5.548 MB / 1.016 GB, free: 7.668 MB / 0.7012 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.02448/1.197, allocations: 19.73 MB / 1.035 GB, free: 2.805 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009719/1.207, allocations: 4.036 MB / 1.039 GB, free: 14.76 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004674/1.211, allocations: 2.118 MB / 1.041 GB, free: 12.63 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007636/1.212, allocations: 0.7044 MB / 1.042 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005161/1.217, allocations: 2.395 MB / 1.044 GB, free: 9.402 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=247): time 3.657e-06/1.217, allocations: 0 / 1.044 GB, free: 9.402 MB / 0.7325 GB Notification: Performance of matching and sorting (n=247): time 0.0146/1.232, allocations: 6.05 MB / 1.05 GB, free: 3.344 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.94e-05/1.232, allocations: 111.1 kB / 1.05 GB, free: 3.219 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003877/1.236, allocations: 3.669 MB / 1.054 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0002346/1.236, allocations: 89.7 kB / 1.054 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.001285/1.237, allocations: 1.859 MB / 1.056 GB, free: 13.59 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005746/1.238, allocations: 0.8303 MB / 1.057 GB, free: 12.77 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003468/1.238, allocations: 272 kB / 1.057 GB, free: 12.49 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 7.648e-05/1.238, allocations: 309.1 kB / 1.057 GB, free: 12.19 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004915/1.243, allocations: 2.001 MB / 1.059 GB, free: 10.18 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005432/1.249, allocations: 2.737 MB / 1.062 GB, free: 7.195 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009531/1.258, allocations: 4.263 MB / 1.066 GB, free: 2.762 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.142e-06/1.258, allocations: 0 / 1.066 GB, free: 2.762 MB / 0.7481 GB Notification: Performance of matching and sorting (n=389) (initialization): time 0.01139/1.27, allocations: 5.18 MB / 1.071 GB, free: 13.54 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002197/1.27, allocations: 443.2 kB / 1.071 GB, free: 12.95 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.457e-05/1.27, allocations: 12 kB / 1.071 GB, free: 12.94 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.758e-05/1.27, allocations: 24 kB / 1.071 GB, free: 12.91 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005822/1.276, allocations: 1.228 MB / 1.073 GB, free: 11.69 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002532/1.278, allocations: 5.97 MB / 1.078 GB, free: 5.484 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004768/1.283, allocations: 0.8461 MB / 1.079 GB, free: 4.637 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002561/1.283, allocations: 151.9 kB / 1.079 GB, free: 4.488 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 7.574e-06/1.283, allocations: 9.969 kB / 1.079 GB, free: 4.48 MB / 0.7637 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01087/1.294, allocations: 4.754 MB / 1.084 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.373e-05/1.294, allocations: 8 kB / 1.084 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.921e-05/1.294, allocations: 27.94 kB / 1.084 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004477/1.299, allocations: 1.081 MB / 1.085 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.702e-05/1.299, allocations: 31.92 kB / 1.085 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00441/1.303, allocations: 0.8062 MB / 1.086 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002582/1.304, allocations: 151.9 kB / 1.086 GB, free: 13.59 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 15 (hexPar.flowRegime_nominal,hexPar.flowRegime,hexCou.flowRegime_nominal,hexCou.flowRegime,hexCroC1Mix.flowRegime_nominal,hexCroC1Mix.flowRegime,hexCroC1Unm.flowRegime_nominal,hexCroC1Unm.flowRegime,hexCroUnm.flowRegime_nominal,hexCroUnm.flowRegime,trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (388): * Single equations (assignments): 377 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 10 * Torn equation systems: 0 * 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): 10 systems {1, 1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001497/1.305, allocations: 0.9107 MB / 1.087 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000621/1.306, allocations: 446.5 kB / 1.087 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01159/1.317, allocations: 4.834 MB / 1.092 GB, free: 7.34 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.23e-05/1.317, allocations: 28 kB / 1.092 GB, free: 7.312 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.204e-06/1.317, allocations: 4 kB / 1.092 GB, free: 7.309 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.458e-05/1.317, allocations: 15.94 kB / 1.092 GB, free: 7.293 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0167/1.334, allocations: 9.256 MB / 1.101 GB, free: 13.92 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.498e-06/1.334, allocations: 4 kB / 1.101 GB, free: 13.91 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003998/1.338, allocations: 0.8939 MB / 1.102 GB, free: 13.02 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-05/1.338, allocations: 16 kB / 1.102 GB, free: 13.01 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001803/1.338, allocations: 87.92 kB / 1.102 GB, free: 12.92 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002312/1.341, allocations: 5.931 MB / 1.108 GB, free: 6.758 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/1.341, allocations: 12.22 kB / 1.108 GB, free: 6.746 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01065/1.351, allocations: 4.754 MB / 1.113 GB, free: 1.824 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00143/1.353, allocations: 1.006 MB / 1.114 GB, free: 0.793 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004573/1.353, allocations: 48 kB / 1.114 GB, free: 0.7461 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004751/1.358, allocations: 0.7283 MB / 1.114 GB, free: 20 kB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.2359/1.594, allocations: 188.2 kB / 1.115 GB, free: 372.1 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006112/1.595, allocations: 130.7 kB / 1.115 GB, free: 372.1 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.004787/1.599, allocations: 2.432 MB / 1.117 GB, free: 371.9 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.3e-07/1.599, allocations: 0 / 1.117 GB, free: 371.9 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.005825/1.605, allocations: 2.295 MB / 1.119 GB, free: 371.9 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,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 (279): * Single equations (assignments): 265 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 10 * Torn equation systems: 0 * 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): 10 systems {1, 1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01366/1.619, allocations: 5.933 MB / 1.125 GB, free: 370.4 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.01949/1.638, allocations: 7.509 MB / 1.132 GB, free: 368.4 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 8.947e-06/1.638, allocations: 2.719 kB / 1.132 GB, free: 368.4 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.00604/1.644, allocations: 2.361 MB / 1.135 GB, free: 367.8 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0128/1.657, allocations: 2.044 MB / 1.137 GB, free: 367.5 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07193/1.729, allocations: 41.87 MB / 1.178 GB, free: 339.3 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001625/1.731, allocations: 2.391 MB / 1.18 GB, free: 336.9 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.005803/1.737, allocations: 1.234 MB / 1.181 GB, free: 335.8 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002107/1.739, allocations: 1.889 MB / 1.183 GB, free: 333.9 MB / 0.795 GB Notification: Performance of SimCode: time 7.61e-07/1.739, allocations: 0 / 1.183 GB, free: 333.9 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.14/1.879, allocations: 113.8 MB / 1.294 GB, free: 221.1 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001429/1.879, allocations: 284.3 kB / 1.294 GB, free: 220.8 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.222/7.101, allocations: 0 / 1.294 GB, free: 220.8 MB / 0.795 GB (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatExchangers_Validation_DryCoilEffectivenessNTU_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatExchangers_Validation_DryCoilEffectivenessNTU.fmu > IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe 2>&1)