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.000708/0.000708, allocations: 92.23 kB / 15.7 MB, free: 472 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.0007213/0.0007217, allocations: 171.8 kB / 16.58 MB, free: 6.848 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.167/1.167, allocations: 223.3 MB / 240.6 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6158/0.6158, allocations: 113.7 MB / 405.4 MB, free: 4.562 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002511/0.0002511, allocations: 16.83 kB / 493.1 MB, free: 8.57 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1172, allocations: 77.12 MB / 0.5569 GB, free: 11.66 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU): time 0.7671/0.8844, allocations: 325.6 MB / 0.8749 GB, free: 8.594 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02895/0.9134, allocations: 29.99 MB / 0.9042 GB, free: 7.988 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005129/0.9185, allocations: 146.7 kB / 0.9043 GB, free: 7.988 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.004892/0.9234, allocations: 1.815 MB / 0.9061 GB, free: 7.961 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.01522/0.9387, allocations: 6.101 MB / 0.912 GB, free: 7.695 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.007303/0.946, allocations: 3.042 MB / 0.915 GB, free: 7.102 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.01318/0.9592, allocations: 13.98 MB / 0.9287 GB, free: 4.664 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004291/0.9635, allocations: 3.358 MB / 0.932 GB, free: 19.45 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009808/0.9733, allocations: 5.654 MB / 0.9375 GB, free: 18.47 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004602/0.9779, allocations: 3.678 MB / 0.9411 GB, free: 17.07 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0004865/0.9784, allocations: 213.7 kB / 0.9413 GB, free: 17.07 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006904/0.9854, allocations: 3.41 MB / 0.9446 GB, free: 15.27 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001039/0.9864, allocations: 1.151 MB / 0.9457 GB, free: 14.42 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.00143/0.9878, allocations: 1.065 MB / 0.9468 GB, free: 13.71 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.006178/0.994, allocations: 6.371 MB / 0.953 GB, free: 8.414 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.994, allocations: 0 / 0.953 GB, free: 8.414 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.533e-06/0.9941, allocations: 7.938 kB / 0.953 GB, free: 8.406 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 7.209e-05/0.9941, allocations: 0 / 0.953 GB, free: 8.406 MB / 0.6387 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.01082/1.005, allocations: 5.306 MB / 0.9582 GB, free: 3.492 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/1.005, allocations: 12.03 kB / 0.9582 GB, free: 3.48 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000488/1.005, allocations: 434.3 kB / 0.9586 GB, free: 3.242 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008903/1.014, allocations: 2.221 MB / 0.9608 GB, free: 1.059 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00608/1.021, allocations: 3.61 MB / 0.9643 GB, free: 14.52 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002402/1.023, allocations: 0.9131 MB / 0.9652 GB, free: 13.73 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004936/1.023, allocations: 357.5 kB / 0.9655 GB, free: 13.49 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008645/1.032, allocations: 4.871 MB / 0.9703 GB, free: 9.973 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.921e-05/1.032, allocations: 7.922 kB / 0.9703 GB, free: 9.965 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003058/1.032, allocations: 135.4 kB / 0.9704 GB, free: 9.934 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001285/1.033, allocations: 152.6 kB / 0.9706 GB, free: 9.793 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01125/1.044, allocations: 5.519 MB / 0.976 GB, free: 5.855 MB / 0.6544 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.02576/1.07, allocations: 19.72 MB / 0.9952 GB, free: 5.23 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008592/1.078, allocations: 4.027 MB / 0.9991 GB, free: 2.148 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00415/1.082, allocations: 2.114 MB / 1.001 GB, free: 0.6055 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007915/1.083, allocations: 0.7031 MB / 1.002 GB, free: 15.81 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004736/1.088, allocations: 2.379 MB / 1.004 GB, free: 13.97 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=247): time 3.607e-06/1.088, allocations: 0 / 1.004 GB, free: 13.97 MB / 0.6856 GB Notification: Performance of matching and sorting (n=247): time 0.01377/1.102, allocations: 6.04 MB / 1.01 GB, free: 9.27 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.102e-05/1.102, allocations: 103.1 kB / 1.01 GB, free: 9.148 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004512/1.106, allocations: 3.632 MB / 1.014 GB, free: 6.012 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.00038/1.107, allocations: 89.7 kB / 1.014 GB, free: 5.918 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001446/1.108, allocations: 1.845 MB / 1.016 GB, free: 4.07 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006621/1.109, allocations: 0.8313 MB / 1.016 GB, free: 3.246 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001981/1.109, allocations: 60 kB / 1.017 GB, free: 3.188 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001698/1.109, allocations: 424.3 kB / 1.017 GB, free: 2.766 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004499/1.114, allocations: 1.977 MB / 1.019 GB, free: 0.7852 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005016/1.119, allocations: 2.711 MB / 1.022 GB, free: 13.82 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004594/1.123, allocations: 2.117 MB / 1.024 GB, free: 11.68 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.688e-06/1.123, allocations: 4 kB / 1.024 GB, free: 11.68 MB / 0.7012 GB Notification: Performance of matching and sorting (n=389) (initialization): time 0.0112/1.135, allocations: 5.129 MB / 1.029 GB, free: 6.504 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003283/1.135, allocations: 455.4 kB / 1.029 GB, free: 5.906 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.895e-05/1.135, allocations: 12 kB / 1.029 GB, free: 5.895 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.679e-05/1.135, allocations: 24 kB / 1.029 GB, free: 5.871 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00551/1.141, allocations: 1.228 MB / 1.03 GB, free: 4.645 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002696/1.143, allocations: 5.966 MB / 1.036 GB, free: 14.45 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004992/1.148, allocations: 0.8471 MB / 1.037 GB, free: 13.6 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002966/1.149, allocations: 151.9 kB / 1.037 GB, free: 13.45 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/1.149, allocations: 13.98 kB / 1.037 GB, free: 13.44 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01031/1.159, allocations: 4.727 MB / 1.042 GB, free: 8.676 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.878e-05/1.159, allocations: 12 kB / 1.042 GB, free: 8.664 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.407e-05/1.159, allocations: 24 kB / 1.042 GB, free: 8.641 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004346/1.163, allocations: 1.081 MB / 1.043 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.617e-05/1.163, allocations: 31.88 kB / 1.043 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004697/1.168, allocations: 0.8108 MB / 1.044 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002846/1.168, allocations: 151.9 kB / 1.044 GB, free: 6.57 MB / 0.7169 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 ($whenCondition1,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count,hexCroUnm.flowRegime,hexCroUnm.flowRegime_nominal,hexCroC1Unm.flowRegime,hexCroC1Unm.flowRegime_nominal,hexCroC1Mix.flowRegime,hexCroC1Mix.flowRegime_nominal,hexCou.flowRegime,hexCou.flowRegime_nominal,hexPar.flowRegime,hexPar.flowRegime_nominal) * 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 (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.00188/1.17, allocations: 0.9108 MB / 1.045 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008588/1.171, allocations: 442.5 kB / 1.045 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01051/1.182, allocations: 4.828 MB / 1.05 GB, free: 344 kB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.568e-05/1.182, allocations: 28 kB / 1.05 GB, free: 316 kB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.488e-05/1.182, allocations: 4 kB / 1.05 GB, free: 312 kB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.272e-05/1.182, allocations: 15.89 kB / 1.05 GB, free: 296 kB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0165/1.198, allocations: 9.236 MB / 1.059 GB, free: 6.945 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.246e-05/1.198, allocations: 4 kB / 1.059 GB, free: 6.941 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003766/1.202, allocations: 0.9014 MB / 1.06 GB, free: 6.039 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.13e-05/1.202, allocations: 16 kB / 1.06 GB, free: 6.023 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000193/1.202, allocations: 95.88 kB / 1.06 GB, free: 5.93 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002388/1.205, allocations: 5.923 MB / 1.066 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.449e-06/1.205, allocations: 8 kB / 1.066 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01019/1.215, allocations: 4.746 MB / 1.07 GB, free: 10.85 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002009/1.217, allocations: 0.9944 MB / 1.071 GB, free: 9.832 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000498/1.217, allocations: 55.98 kB / 1.071 GB, free: 9.777 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004134/1.222, allocations: 0.7245 MB / 1.072 GB, free: 9.055 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003014/1.222, allocations: 201.7 kB / 1.072 GB, free: 8.855 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002472/1.222, allocations: 126.6 kB / 1.072 GB, free: 8.734 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.003124/1.225, allocations: 2.401 MB / 1.075 GB, free: 6.336 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/1.225, allocations: 0 / 1.075 GB, free: 6.336 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.004502/1.23, allocations: 2.289 MB / 1.077 GB, free: 4.043 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: 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 (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.01094/1.241, allocations: 5.916 MB / 1.083 GB, free: 14.01 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.01666/1.257, allocations: 7.469 MB / 1.09 GB, free: 6.496 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/1.257, allocations: 448 / 1.09 GB, free: 6.496 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.005068/1.263, allocations: 2.359 MB / 1.092 GB, free: 4.133 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008047/1.271, allocations: 2.066 MB / 1.094 GB, free: 2.082 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2917/1.562, allocations: 32.42 MB / 1.126 GB, free: 326.6 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002035/1.564, allocations: 2.384 MB / 1.128 GB, free: 325.8 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.006172/1.571, allocations: 1.237 MB / 1.129 GB, free: 325.8 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00248/1.573, allocations: 1.895 MB / 1.131 GB, free: 324.3 MB / 0.7637 GB Notification: Performance of SimCode: time 8.92e-07/1.573, allocations: 5.219 kB / 1.131 GB, free: 324.3 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1336/1.707, allocations: 119.8 MB / 1.248 GB, free: 220.4 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001322/1.707, allocations: 264.7 kB / 1.249 GB, free: 220 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.414/6.121, allocations: 0 / 1.249 GB, free: 220 MB / 0.7637 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/linux/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) Environment - environmentSimulation: