Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl",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.0009461/0.0009461, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001005/0.001005, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.509/1.509, allocations: 205.4 MB / 222.1 MB, free: 5.375 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.786/1.786, allocations: 292.7 MB / 0.5499 GB, free: 14.55 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005744/0.0005744, allocations: 18.09 kB / 0.6738 GB, free: 25.97 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2832/0.2837, allocations: 116.3 MB / 0.7874 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl): time 0.7586/1.042, allocations: 192.5 MB / 0.9754 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01732/1.06, allocations: 12.45 MB / 0.9875 GB, free: 2.59 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002864/1.063, allocations: 54.53 kB / 0.9876 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002576/1.065, allocations: 0.5789 MB / 0.9882 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.006974/1.072, allocations: 1.824 MB / 0.9899 GB, free: 1.855 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.009655/1.082, allocations: 2.772 MB / 0.9927 GB, free: 1.078 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.007132/1.089, allocations: 4.045 MB / 0.9966 GB, free: 0 / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002302/1.091, allocations: 1.001 MB / 0.9976 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004472/1.096, allocations: 1.54 MB / 0.9991 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002657/1.099, allocations: 1.056 MB / 1 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0003665/1.099, allocations: 63.41 kB / 1 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006339/1.105, allocations: 2.35 MB / 1.002 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0009553/1.106, allocations: 364.2 kB / 1.003 GB, free: 13.65 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0009395/1.107, allocations: 352.5 kB / 1.003 GB, free: 13.56 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.004723/1.112, allocations: 2.388 MB / 1.005 GB, free: 12.42 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/1.112, allocations: 2.188 kB / 1.005 GB, free: 12.42 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.855e-06/1.112, allocations: 0 / 1.005 GB, free: 12.42 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.331e-05/1.112, allocations: 0 / 1.005 GB, free: 12.42 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 250 * Number of variables: 250 Notification: Performance of Generate backend data structure: time 0.005461/1.118, allocations: 2.082 MB / 1.008 GB, free: 11.03 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/1.118, allocations: 8.781 kB / 1.008 GB, free: 11.03 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000307/1.118, allocations: 157 kB / 1.008 GB, free: 10.96 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002873/1.121, allocations: 0.582 MB / 1.008 GB, free: 10.73 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003065/1.124, allocations: 1.213 MB / 1.009 GB, free: 10.09 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006182/1.125, allocations: 222.7 kB / 1.01 GB, free: 10.04 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003705/1.125, allocations: 116.3 kB / 1.01 GB, free: 10.04 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003043/1.128, allocations: 1.367 MB / 1.011 GB, free: 9.609 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.544e-05/1.128, allocations: 0 / 1.011 GB, free: 9.609 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001186/1.128, allocations: 45.92 kB / 1.011 GB, free: 9.605 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.804e-05/1.128, allocations: 47.61 kB / 1.011 GB, free: 9.598 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003189/1.131, allocations: 1.387 MB / 1.013 GB, free: 9.344 MB / 0.7325 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.009426/1.141, allocations: 5.331 MB / 1.018 GB, free: 6.219 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002666/1.144, allocations: 1.185 MB / 1.019 GB, free: 5.891 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001304/1.145, allocations: 0.5658 MB / 1.019 GB, free: 5.781 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001123/1.146, allocations: 0.7777 MB / 1.02 GB, free: 4.973 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00146/1.148, allocations: 0.6332 MB / 1.021 GB, free: 4.762 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=82): time 2.775e-06/1.148, allocations: 0 / 1.021 GB, free: 4.762 MB / 0.7325 GB Notification: Performance of matching and sorting (n=82): time 0.004267/1.152, allocations: 1.672 MB / 1.022 GB, free: 4.359 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.567e-05/1.152, allocations: 137.1 kB / 1.023 GB, free: 4.203 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002198/1.154, allocations: 1.334 MB / 1.024 GB, free: 3.816 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001793/1.154, allocations: 52.64 kB / 1.024 GB, free: 3.785 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006425/1.155, allocations: 0.6497 MB / 1.025 GB, free: 3.516 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002882/1.155, allocations: 283.9 kB / 1.025 GB, free: 3.305 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.496e-05/1.155, allocations: 22.31 kB / 1.025 GB, free: 3.305 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001976/1.156, allocations: 350.5 kB / 1.025 GB, free: 2.984 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001328/1.157, allocations: 0.5387 MB / 1.026 GB, free: 2.879 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001556/1.159, allocations: 0.8323 MB / 1.027 GB, free: 2.469 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001377/1.16, allocations: 0.6195 MB / 1.027 GB, free: 2.336 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.101e-06/1.16, allocations: 0 / 1.027 GB, free: 2.336 MB / 0.7325 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.0035/1.163, allocations: 1.558 MB / 1.029 GB, free: 1.938 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001937/1.164, allocations: 274.3 kB / 1.029 GB, free: 1.621 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.789e-05/1.164, allocations: 7.906 kB / 1.029 GB, free: 1.621 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.638e-05/1.164, allocations: 10.88 kB / 1.029 GB, free: 1.621 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00167/1.165, allocations: 353.4 kB / 1.029 GB, free: 1.531 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007278/1.166, allocations: 1.206 MB / 1.03 GB, free: 344 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0017/1.168, allocations: 237.5 kB / 1.031 GB, free: 232 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001541/1.168, allocations: 60.28 kB / 1.031 GB, free: 220 kB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 8.747e-06/1.168, allocations: 5.688 kB / 1.031 GB, free: 220 kB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002992/1.171, allocations: 1.396 MB / 1.032 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.058e-05/1.171, allocations: 5.094 kB / 1.032 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/1.171, allocations: 10.84 kB / 1.032 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001347/1.172, allocations: 320.8 kB / 1.032 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.21e-05/1.172, allocations: 19.92 kB / 1.032 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001643/1.174, allocations: 223 kB / 1.033 GB, free: 15.62 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001393/1.174, allocations: 52.22 kB / 1.033 GB, free: 15.58 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,hex.flowRegime,hex.flowRegime_nominal,P.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (135): * Single equations (assignments): 130 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008446/1.175, allocations: 436.7 kB / 1.033 GB, free: 15.26 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004317/1.176, allocations: 150.1 kB / 1.033 GB, free: 15.11 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003287/1.179, allocations: 1.381 MB / 1.035 GB, free: 13.76 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.761e-05/1.179, allocations: 11.98 kB / 1.035 GB, free: 13.75 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/1.179, allocations: 5.75 kB / 1.035 GB, free: 13.74 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.161e-05/1.179, allocations: 3.984 kB / 1.035 GB, free: 13.74 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005938/1.185, allocations: 2.914 MB / 1.037 GB, free: 10.71 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.279e-05/1.185, allocations: 4 kB / 1.037 GB, free: 10.71 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001166/1.186, allocations: 235.8 kB / 1.038 GB, free: 10.48 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-05/1.186, allocations: 8 kB / 1.038 GB, free: 10.47 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.02e-05/1.186, allocations: 33.73 kB / 1.038 GB, free: 10.44 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006894/1.187, allocations: 1.191 MB / 1.039 GB, free: 9.203 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.292e-06/1.187, allocations: 4 kB / 1.039 GB, free: 9.199 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004458/1.191, allocations: 2.128 MB / 1.041 GB, free: 7.008 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008582/1.192, allocations: 382.6 kB / 1.041 GB, free: 6.613 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003704/1.193, allocations: 23.98 kB / 1.041 GB, free: 6.59 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001329/1.194, allocations: 123.9 kB / 1.042 GB, free: 6.469 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001553/1.194, allocations: 80.45 kB / 1.042 GB, free: 6.391 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001027/1.194, allocations: 39.97 kB / 1.042 GB, free: 6.352 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.00158/1.196, allocations: 0.8869 MB / 1.042 GB, free: 5.469 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.11e-07/1.196, allocations: 0 / 1.042 GB, free: 5.469 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.002622/1.198, allocations: 0.827 MB / 1.043 GB, free: 4.641 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 4 (temSen.T,val.filter.x[1],val.filter.x[2],P.I.y) * Number of discrete variables: 4 ($whenCondition1,TSet.T_start,TSet.count,hex.flowRegime) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005904/1.204, allocations: 3.076 MB / 1.046 GB, free: 1.5 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.005385/1.21, allocations: 2.229 MB / 1.048 GB, free: 15.24 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 7.143e-06/1.21, allocations: 0.875 kB / 1.048 GB, free: 15.24 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.001631/1.211, allocations: 0.6661 MB / 1.049 GB, free: 14.57 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003747/1.215, allocations: 0.7187 MB / 1.05 GB, free: 13.86 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02136/1.237, allocations: 9.617 MB / 1.059 GB, free: 3.816 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001061/1.238, allocations: 1.239 MB / 1.06 GB, free: 2.547 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.002262/1.24, allocations: 414.6 kB / 1.061 GB, free: 2.148 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009593/1.241, allocations: 0.5813 MB / 1.061 GB, free: 1.566 MB / 0.7637 GB Notification: Performance of SimCode: time 6.21e-07/1.241, allocations: 0 / 1.061 GB, free: 1.566 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0764/1.317, allocations: 43.72 MB / 1.104 GB, free: 6.461 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002347/1.318, allocations: 276.4 kB / 1.104 GB, free: 6.102 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.96/4.278, allocations: 0 / 1.104 GB, free: 6.102 MB / 0.8106 GB (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe 2>&1) Environment - environmentSimulation: