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.000995/0.0009949, allocations: 89.66 kB / 15.36 MB, free: 0.7383 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.006443/0.006443, allocations: 173.8 kB / 16.27 MB, free: 6.613 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.166/1.166, allocations: 223.2 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6738/0.6738, allocations: 132.3 MB / 423.8 MB, free: 1.965 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002749/0.0002748, allocations: 8 kB / 0.5041 GB, free: 3.82 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3263/0.3266, allocations: 81.57 MB / 0.5837 GB, free: 4.055 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU): time 0.5526/0.8792, allocations: 348.2 MB / 0.9238 GB, free: 1.355 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02924/0.9085, allocations: 31.88 MB / 0.9549 GB, free: 12.66 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004314/0.9128, allocations: 144.2 kB / 0.9551 GB, free: 12.66 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.004739/0.9176, allocations: 2.367 MB / 0.9574 GB, free: 11.49 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.01517/0.9328, allocations: 7.606 MB / 0.9648 GB, free: 8.07 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.007194/0.94, allocations: 3.748 MB / 0.9685 GB, free: 5.785 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.01464/0.9546, allocations: 16.21 MB / 0.9843 GB, free: 8.191 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004969/0.9596, allocations: 3.758 MB / 0.988 GB, free: 4.508 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01223/0.9718, allocations: 6.44 MB / 0.9943 GB, free: 14.54 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006603/0.9785, allocations: 3.842 MB / 0.998 GB, free: 10.98 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.000962/0.9794, allocations: 212 kB / 0.9982 GB, free: 10.77 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01022/0.9897, allocations: 5.971 MB / 1.004 GB, free: 5.34 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001506/0.9912, allocations: 1.185 MB / 1.005 GB, free: 4.188 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.003767/0.995, allocations: 2.633 MB / 1.008 GB, free: 1.57 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01011/1.005, allocations: 8.753 MB / 1.016 GB, free: 9.25 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/1.005, allocations: 0 / 1.016 GB, free: 9.25 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.192e-06/1.005, allocations: 0 / 1.016 GB, free: 9.25 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 6.42e-05/1.005, allocations: 0 / 1.016 GB, free: 9.25 MB / 0.7012 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.01133/1.017, allocations: 5.272 MB / 1.021 GB, free: 3.977 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.395e-05/1.017, allocations: 8.031 kB / 1.021 GB, free: 3.969 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005347/1.017, allocations: 446.9 kB / 1.022 GB, free: 3.523 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009808/1.027, allocations: 2.21 MB / 1.024 GB, free: 1.305 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005825/1.033, allocations: 3.748 MB / 1.028 GB, free: 13.6 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002825/1.036, allocations: 0.9117 MB / 1.029 GB, free: 12.69 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004897/1.036, allocations: 355.8 kB / 1.029 GB, free: 12.34 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008717/1.045, allocations: 4.909 MB / 1.034 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.656e-05/1.045, allocations: 8 kB / 1.034 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003172/1.045, allocations: 135.9 kB / 1.034 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001168/1.045, allocations: 154.1 kB / 1.034 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01182/1.057, allocations: 5.595 MB / 1.039 GB, free: 1.461 MB / 0.7169 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.02482/1.082, allocations: 19.77 MB / 1.059 GB, free: 12.56 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00975/1.092, allocations: 4.118 MB / 1.063 GB, free: 8.445 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004674/1.096, allocations: 2.157 MB / 1.065 GB, free: 6.285 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007634/1.097, allocations: 0.6978 MB / 1.066 GB, free: 5.473 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005292/1.102, allocations: 2.415 MB / 1.068 GB, free: 3.039 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=251): time 3.476e-06/1.103, allocations: 0 / 1.068 GB, free: 3.039 MB / 0.7481 GB Notification: Performance of matching and sorting (n=251): time 0.01543/1.118, allocations: 6.128 MB / 1.074 GB, free: 12.9 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.03e-05/1.118, allocations: 115 kB / 1.074 GB, free: 12.77 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004289/1.122, allocations: 3.647 MB / 1.078 GB, free: 9.117 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0004179/1.123, allocations: 85.7 kB / 1.078 GB, free: 9.027 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.001339/1.124, allocations: 1.851 MB / 1.079 GB, free: 7.176 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006601/1.125, allocations: 0.8364 MB / 1.08 GB, free: 6.344 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003695/1.125, allocations: 284.3 kB / 1.081 GB, free: 6.059 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 7.386e-05/1.125, allocations: 305.1 kB / 1.081 GB, free: 5.758 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005074/1.13, allocations: 2.048 MB / 1.083 GB, free: 3.707 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005494/1.136, allocations: 2.843 MB / 1.086 GB, free: 0.5781 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009742/1.146, allocations: 4.366 MB / 1.09 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.305e-06/1.146, allocations: 4 kB / 1.09 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of matching and sorting (n=404) (initialization): time 0.01173/1.157, allocations: 5.293 MB / 1.095 GB, free: 6.68 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.000238/1.158, allocations: 483.9 kB / 1.096 GB, free: 6.035 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.76e-05/1.158, allocations: 16 kB / 1.096 GB, free: 6.02 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.596e-05/1.158, allocations: 28 kB / 1.096 GB, free: 5.992 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005815/1.163, allocations: 1.251 MB / 1.097 GB, free: 4.742 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002541/1.166, allocations: 5.974 MB / 1.103 GB, free: 14.54 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005235/1.171, allocations: 0.8476 MB / 1.103 GB, free: 13.68 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002865/1.172, allocations: 167.8 kB / 1.104 GB, free: 13.52 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 8.486e-06/1.172, allocations: 4 kB / 1.104 GB, free: 13.52 MB / 0.795 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01112/1.183, allocations: 4.875 MB / 1.108 GB, free: 8.605 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.551e-05/1.183, allocations: 12 kB / 1.108 GB, free: 8.594 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.372e-05/1.183, allocations: 28 kB / 1.108 GB, free: 8.566 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004498/1.187, allocations: 1.105 MB / 1.11 GB, free: 7.461 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.983e-05/1.187, allocations: 35.92 kB / 1.11 GB, free: 7.426 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004613/1.192, allocations: 0.8191 MB / 1.11 GB, free: 6.609 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002583/1.192, allocations: 155.9 kB / 1.111 GB, free: 6.457 MB / 0.795 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,hexCroUnm.flowRegime_nominal,hexCroC1Unm.flowRegime_nominal,hexCroC1Mix.flowRegime_nominal,hexCou.flowRegime_nominal,hexPar.flowRegime_nominal,trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.T_start,hexCroC1Unm.flowRegime,hexCroC1Mix.flowRegime,hexCou.flowRegime,hexPar.flowRegime,$whenCondition1) * 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 (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.001673/1.194, allocations: 0.9196 MB / 1.111 GB, free: 5.527 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006805/1.195, allocations: 442.6 kB / 1.112 GB, free: 5.09 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01125/1.206, allocations: 4.886 MB / 1.117 GB, free: 172 kB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.301e-05/1.206, allocations: 31.98 kB / 1.117 GB, free: 140 kB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/1.206, allocations: 0 / 1.117 GB, free: 140 kB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.1e-05/1.206, allocations: 11.95 kB / 1.117 GB, free: 128 kB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2317/1.438, allocations: 9.275 MB / 1.126 GB, free: 356.7 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.169e-05/1.438, allocations: 3.844 kB / 1.126 GB, free: 356.7 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003764/1.441, allocations: 0.8899 MB / 1.127 GB, free: 356.6 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-05/1.441, allocations: 14.53 kB / 1.127 GB, free: 356.6 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001741/1.442, allocations: 83.56 kB / 1.127 GB, free: 356.6 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00141/1.443, allocations: 5.946 MB / 1.132 GB, free: 350.7 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/1.443, allocations: 5.25 kB / 1.132 GB, free: 350.7 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01054/1.454, allocations: 4.801 MB / 1.137 GB, free: 349.1 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001616/1.455, allocations: 0.9884 MB / 1.138 GB, free: 348.8 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004575/1.456, allocations: 54.78 kB / 1.138 GB, free: 348.8 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003873/1.46, allocations: 0.6018 MB / 1.139 GB, free: 348.7 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003155/1.46, allocations: 206.8 kB / 1.139 GB, free: 348.7 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002242/1.46, allocations: 127.3 kB / 1.139 GB, free: 348.7 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.00289/1.463, allocations: 2.403 MB / 1.141 GB, free: 347.8 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/1.463, allocations: 4.594 kB / 1.141 GB, free: 347.8 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.004327/1.467, allocations: 2.296 MB / 1.144 GB, free: 347.5 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: 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 (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.0104/1.478, allocations: 5.979 MB / 1.15 GB, free: 345.2 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.01622/1.494, allocations: 7.663 MB / 1.157 GB, free: 342.6 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 7.284e-06/1.494, allocations: 1.938 kB / 1.157 GB, free: 342.6 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.00526/1.499, allocations: 2.439 MB / 1.159 GB, free: 341.6 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01157/1.511, allocations: 2.017 MB / 1.161 GB, free: 340.6 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06321/1.574, allocations: 42.19 MB / 1.203 GB, free: 296.8 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001217/1.575, allocations: 2.376 MB / 1.205 GB, free: 294.3 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.005196/1.581, allocations: 1.247 MB / 1.206 GB, free: 293.2 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001966/1.583, allocations: 1.889 MB / 1.208 GB, free: 291.3 MB / 0.795 GB Notification: Performance of SimCode: time 7.41e-07/1.583, allocations: 0 / 1.208 GB, free: 291.3 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5007/2.083, allocations: 112.8 MB / 1.318 GB, free: 179.7 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002558/2.084, allocations: 276.4 kB / 1.318 GB, free: 179.3 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.399/8.483, allocations: 0 / 1.318 GB, free: 179.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/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)