Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_Validation_DryCoilEffectivenessNTU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU,fileNamePrefix="IDEAS_IDEAS_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.001156/0.001156, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.001109/0.001109, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.888/1.888, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.9666/0.9666, allocations: 132.2 MB / 423.2 MB, free: 2.18 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003669/0.000367, allocations: 15.94 kB / 0.5033 GB, free: 4.223 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6589/0.6593, allocations: 81.57 MB / 0.583 GB, free: 4.047 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU): time 1.267/1.927, allocations: 290.9 MB / 0.867 GB, free: 7.973 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.05196/1.979, allocations: 29.38 MB / 0.8957 GB, free: 7.555 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009577/1.988, allocations: 136.6 kB / 0.8959 GB, free: 7.555 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.01066/1.999, allocations: 2.296 MB / 0.8981 GB, free: 7.551 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.04676/2.046, allocations: 7.665 MB / 0.9056 GB, free: 7.457 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.01824/2.064, allocations: 3.258 MB / 0.9088 GB, free: 6.992 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.02786/2.092, allocations: 7.296 MB / 0.9159 GB, free: 6.145 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01159/2.104, allocations: 3.539 MB / 0.9193 GB, free: 20.92 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02135/2.125, allocations: 5.067 MB / 0.9243 GB, free: 20.18 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009647/2.135, allocations: 2.719 MB / 0.9269 GB, free: 19.71 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.002855/2.138, allocations: 213.6 kB / 0.9272 GB, free: 19.71 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01704/2.155, allocations: 3.12 MB / 0.9302 GB, free: 19.19 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.004896/2.16, allocations: 1.069 MB / 0.9312 GB, free: 18.93 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.005703/2.165, allocations: 1.072 MB / 0.9323 GB, free: 18.9 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01707/2.183, allocations: 6.137 MB / 0.9383 GB, free: 15.72 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/2.183, allocations: 0 / 0.9383 GB, free: 15.72 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.677e-06/2.183, allocations: 0 / 0.9383 GB, free: 15.72 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0003379/2.183, allocations: 0 / 0.9383 GB, free: 15.72 MB / 0.6544 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.02813/2.211, allocations: 5.251 MB / 0.9434 GB, free: 12.5 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 7.609e-05/2.211, allocations: 8.031 kB / 0.9434 GB, free: 12.49 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002957/2.214, allocations: 439.9 kB / 0.9438 GB, free: 12.25 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02105/2.235, allocations: 2.229 MB / 0.946 GB, free: 10.05 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01757/2.253, allocations: 3.496 MB / 0.9494 GB, free: 7.691 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.004839/2.258, allocations: 0.9214 MB / 0.9503 GB, free: 6.891 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002426/2.26, allocations: 357.1 kB / 0.9507 GB, free: 6.656 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02172/2.282, allocations: 4.86 MB / 0.9554 GB, free: 3.16 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.352e-05/2.282, allocations: 0 / 0.9554 GB, free: 3.16 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007628/2.283, allocations: 134.7 kB / 0.9555 GB, free: 3.129 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002808/2.283, allocations: 159.6 kB / 0.9557 GB, free: 2.98 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02701/2.31, allocations: 5.571 MB / 0.9611 GB, free: 15.01 MB / 0.67 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.06524/2.376, allocations: 19.86 MB / 0.9805 GB, free: 14.46 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02125/2.397, allocations: 4.125 MB / 0.9846 GB, free: 11.3 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001359/2.398, allocations: 0.5275 MB / 0.9851 GB, free: 10.71 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0118/2.41, allocations: 2.401 MB / 0.9874 GB, free: 8.867 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=251): time 8.315e-06/2.41, allocations: 0 / 0.9874 GB, free: 8.867 MB / 0.6856 GB Notification: Performance of matching and sorting (n=251): time 0.03379/2.444, allocations: 6.109 MB / 0.9934 GB, free: 4.102 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001367/2.444, allocations: 107 kB / 0.9935 GB, free: 3.977 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01058/2.455, allocations: 3.63 MB / 0.997 GB, free: 1.355 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.001494/2.456, allocations: 92.52 kB / 0.9971 GB, free: 1.305 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.003225/2.46, allocations: 1.843 MB / 0.9989 GB, free: 364 kB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.002083/2.462, allocations: 0.841 MB / 0.9997 GB, free: 15.63 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004439/2.462, allocations: 61.06 kB / 0.9998 GB, free: 15.62 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0003924/2.463, allocations: 430.6 kB / 1 GB, free: 15.24 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01007/2.473, allocations: 2.018 MB / 1.002 GB, free: 13.74 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01183/2.485, allocations: 2.807 MB / 1.005 GB, free: 11.26 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009966/2.495, allocations: 2.165 MB / 1.007 GB, free: 9.703 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.912e-05/2.495, allocations: 4 kB / 1.007 GB, free: 9.699 MB / 0.7012 GB Notification: Performance of matching and sorting (n=404) (initialization): time 0.02476/2.52, allocations: 5.244 MB / 1.012 GB, free: 5.676 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 0.003964/2.524, allocations: 5.247 MB / 1.017 GB, free: 196 kB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.239e-05/2.524, allocations: 15.98 kB / 1.017 GB, free: 180 kB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001006/2.524, allocations: 24 kB / 1.017 GB, free: 156 kB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01052/2.534, allocations: 1.248 MB / 1.019 GB, free: 14.97 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004805/2.539, allocations: 5.966 MB / 1.024 GB, free: 8.887 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01156/2.551, allocations: 0.868 MB / 1.025 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001574/2.552, allocations: 156.3 kB / 1.025 GB, free: 7.941 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.817e-05/2.553, allocations: 4 kB / 1.025 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02458/2.577, allocations: 4.849 MB / 1.03 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.548e-05/2.577, allocations: 8.781 kB / 1.03 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.736e-05/2.577, allocations: 28 kB / 1.03 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009719/2.587, allocations: 1.108 MB / 1.031 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000101/2.587, allocations: 29.25 kB / 1.031 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01147/2.599, allocations: 0.8289 MB / 1.032 GB, free: 2.5 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001757/2.601, allocations: 158.1 kB / 1.032 GB, free: 2.371 MB / 0.7169 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.005589/2.606, allocations: 0.9269 MB / 1.033 GB, free: 1.852 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002948/2.609, allocations: 434.6 kB / 1.034 GB, free: 1.422 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02655/2.636, allocations: 4.879 MB / 1.038 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.566e-05/2.636, allocations: 28 kB / 1.038 GB, free: 13.74 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.785e-05/2.636, allocations: 0 / 1.038 GB, free: 13.74 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.744e-05/2.636, allocations: 11.95 kB / 1.038 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04323/2.679, allocations: 9.32 MB / 1.047 GB, free: 6.359 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.764e-05/2.679, allocations: 4 kB / 1.047 GB, free: 6.355 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008279/2.688, allocations: 0.9091 MB / 1.048 GB, free: 5.477 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.433e-05/2.688, allocations: 16 kB / 1.048 GB, free: 5.461 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007183/2.689, allocations: 83.92 kB / 1.048 GB, free: 5.379 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00501/2.694, allocations: 5.94 MB / 1.054 GB, free: 15.22 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.338e-05/2.694, allocations: 10.81 kB / 1.054 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02454/2.718, allocations: 5.331 MB / 1.059 GB, free: 9.559 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00594/2.724, allocations: 1.014 MB / 1.06 GB, free: 8.52 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002261/2.726, allocations: 55.98 kB / 1.06 GB, free: 8.465 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01005/2.737, allocations: 0.6047 MB / 1.061 GB, free: 7.859 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001053/2.738, allocations: 195.5 kB / 1.061 GB, free: 7.672 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007749/2.738, allocations: 134 kB / 1.061 GB, free: 7.543 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.008461/2.747, allocations: 2.393 MB / 1.064 GB, free: 5.152 MB / 0.7481 GB Notification: Performance of sort global known variables: time 8.11e-07/2.747, allocations: 0 / 1.064 GB, free: 5.152 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0177/2.765, allocations: 2.304 MB / 1.066 GB, free: 2.844 MB / 0.7481 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.02942/2.794, allocations: 7.521 MB / 1.073 GB, free: 11.17 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.03976/2.834, allocations: 7.616 MB / 1.081 GB, free: 3.637 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 1.921e-05/2.834, allocations: 4 kB / 1.081 GB, free: 3.633 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0111/2.845, allocations: 2.424 MB / 1.083 GB, free: 1.266 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01751/2.863, allocations: 1.996 MB / 1.085 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04682/2.91, allocations: 19.57 MB / 1.104 GB, free: 11.18 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003691/2.913, allocations: 2.468 MB / 1.107 GB, free: 8.684 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.01426/2.928, allocations: 1.239 MB / 1.108 GB, free: 7.492 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007022/2.935, allocations: 1.889 MB / 1.11 GB, free: 5.602 MB / 0.795 GB Notification: Performance of SimCode: time 2.835e-06/2.935, allocations: 0 / 1.11 GB, free: 5.602 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8954/3.83, allocations: 117.1 MB / 1.224 GB, free: 274.6 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002635/3.831, allocations: 262 kB / 1.224 GB, free: 274.3 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.527/13.36, allocations: 0 / 1.224 GB, free: 274.3 MB / 0.795 GB (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatExchangers_Validation_DryCoilEffectivenessNTU_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatExchangers_Validation_DryCoilEffectivenessNTU.fmu > IDEAS_IDEAS.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe 2>&1) Environment - environmentSimulation: