Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.423/1.423, allocations: 251.9 MB / 266.9 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001244/0.001244, allocations: 184.2 kB / 326.5 MB, free: 2.25 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.922/1.922, allocations: 205.4 MB / 0.5775 GB, free: 20.52 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00101/0.001011, allocations: 87.98 kB / 0.6821 GB, free: 13.36 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005389/0.0005393, allocations: 8.75 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3044/0.3049, allocations: 106.3 MB / 0.9001 GB, free: 64.36 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl): time 0.8563/1.161, allocations: 176 MB / 1.072 GB, free: 3.863 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0243/1.186, allocations: 12.26 MB / 1.084 GB, free: 3.703 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003218/1.189, allocations: 54.59 kB / 1.084 GB, free: 3.699 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.003786/1.193, allocations: 0.7587 MB / 1.085 GB, free: 3.699 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.01023/1.203, allocations: 2.257 MB / 1.087 GB, free: 3.672 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.01232/1.215, allocations: 2.861 MB / 1.09 GB, free: 3.598 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.006346/1.222, allocations: 2.227 MB / 1.092 GB, free: 3.586 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002572/1.224, allocations: 1.024 MB / 1.093 GB, free: 3.453 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004761/1.229, allocations: 1.449 MB / 1.094 GB, free: 3.445 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002721/1.232, allocations: 0.8386 MB / 1.095 GB, free: 3.441 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0006083/1.233, allocations: 61.81 kB / 1.095 GB, free: 3.441 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006861/1.239, allocations: 2.095 MB / 1.097 GB, free: 3.441 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001038/1.241, allocations: 346.5 kB / 1.098 GB, free: 3.441 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001109/1.242, allocations: 349.1 kB / 1.098 GB, free: 3.41 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.005539/1.247, allocations: 2.27 MB / 1.1 GB, free: 3.23 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/1.247, allocations: 0 / 1.1 GB, free: 3.23 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.629e-06/1.247, allocations: 0 / 1.1 GB, free: 3.23 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.755e-05/1.247, allocations: 2.906 kB / 1.1 GB, free: 3.23 MB / 0.698 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.006823/1.254, allocations: 2.048 MB / 1.102 GB, free: 18.1 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.056e-05/1.254, allocations: 9.5 kB / 1.102 GB, free: 18.1 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006547/1.255, allocations: 153.3 kB / 1.102 GB, free: 18.06 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00363/1.259, allocations: 0.5887 MB / 1.103 GB, free: 17.94 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003832/1.262, allocations: 1.189 MB / 1.104 GB, free: 17.57 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007141/1.263, allocations: 216.7 kB / 1.104 GB, free: 17.56 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005233/1.264, allocations: 111.6 kB / 1.104 GB, free: 17.56 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00362/1.267, allocations: 1.368 MB / 1.106 GB, free: 17.39 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.278e-05/1.267, allocations: 6.844 kB / 1.106 GB, free: 17.39 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001988/1.268, allocations: 36.31 kB / 1.106 GB, free: 17.39 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.85e-05/1.268, allocations: 51.36 kB / 1.106 GB, free: 17.38 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003604/1.271, allocations: 1.386 MB / 1.107 GB, free: 17.35 MB / 0.7136 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.0117/1.283, allocations: 5.353 MB / 1.112 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002951/1.286, allocations: 1.183 MB / 1.114 GB, free: 15.06 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001022/1.287, allocations: 0.6023 MB / 1.114 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00169/1.289, allocations: 0.6335 MB / 1.115 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=82): time 4.258e-06/1.289, allocations: 0 / 1.115 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of matching and sorting (n=82): time 0.00475/1.294, allocations: 1.668 MB / 1.116 GB, free: 14.26 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001038/1.294, allocations: 137.3 kB / 1.117 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002498/1.296, allocations: 1.341 MB / 1.118 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0002954/1.297, allocations: 53.05 kB / 1.118 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006852/1.297, allocations: 0.6516 MB / 1.119 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003408/1.298, allocations: 282.4 kB / 1.119 GB, free: 13.44 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001139/1.298, allocations: 26.16 kB / 1.119 GB, free: 13.44 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000175/1.298, allocations: 348.7 kB / 1.119 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001517/1.3, allocations: 0.5342 MB / 1.12 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001688/1.301, allocations: 0.8257 MB / 1.12 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001594/1.303, allocations: 0.6272 MB / 1.121 GB, free: 12.49 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-05/1.303, allocations: 3.219 kB / 1.121 GB, free: 12.49 MB / 0.7136 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.00446/1.307, allocations: 1.556 MB / 1.123 GB, free: 12.13 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.001036/1.308, allocations: 1.995 MB / 1.125 GB, free: 10.08 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.469e-05/1.308, allocations: 10.53 kB / 1.125 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.486e-05/1.309, allocations: 11.86 kB / 1.125 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002227/1.311, allocations: 348.3 kB / 1.125 GB, free: 10 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009828/1.312, allocations: 1.198 MB / 1.126 GB, free: 8.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002315/1.314, allocations: 233.2 kB / 1.126 GB, free: 8.711 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003167/1.314, allocations: 55.16 kB / 1.126 GB, free: 8.703 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/1.314, allocations: 3.406 kB / 1.126 GB, free: 8.703 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004331/1.319, allocations: 1.394 MB / 1.128 GB, free: 8.445 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.219e-05/1.319, allocations: 12.55 kB / 1.128 GB, free: 8.441 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.546e-05/1.319, allocations: 13.77 kB / 1.128 GB, free: 8.438 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00152/1.32, allocations: 321.1 kB / 1.128 GB, free: 8.375 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.847e-05/1.32, allocations: 11.88 kB / 1.128 GB, free: 8.375 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002086/1.323, allocations: 221.9 kB / 1.128 GB, free: 8.273 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002152/1.323, allocations: 56.19 kB / 1.128 GB, free: 8.266 MB / 0.7136 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.001204/1.324, allocations: 426.9 kB / 1.129 GB, free: 8.055 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007999/1.325, allocations: 156.3 kB / 1.129 GB, free: 7.973 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004274/1.329, allocations: 1.383 MB / 1.13 GB, free: 7.613 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.198e-05/1.329, allocations: 8.156 kB / 1.13 GB, free: 7.613 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.236e-05/1.329, allocations: 0 / 1.13 GB, free: 7.613 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.776e-05/1.329, allocations: 6.828 kB / 1.13 GB, free: 7.609 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007587/1.337, allocations: 2.911 MB / 1.133 GB, free: 6.512 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-05/1.337, allocations: 1.656 kB / 1.133 GB, free: 6.512 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001284/1.338, allocations: 250 kB / 1.133 GB, free: 6.457 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.317e-05/1.338, allocations: 7.938 kB / 1.133 GB, free: 6.457 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001002/1.338, allocations: 28.48 kB / 1.133 GB, free: 6.453 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007388/1.339, allocations: 1.193 MB / 1.135 GB, free: 5.266 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.845e-06/1.339, allocations: 8.688 kB / 1.135 GB, free: 5.266 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005148/1.344, allocations: 2.359 MB / 1.137 GB, free: 4.281 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00112/1.345, allocations: 376.3 kB / 1.137 GB, free: 4.031 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005126/1.346, allocations: 24.97 kB / 1.137 GB, free: 4.027 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001605/1.348, allocations: 130.7 kB / 1.137 GB, free: 3.988 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001715/1.348, allocations: 77.77 kB / 1.137 GB, free: 3.957 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001177/1.348, allocations: 38.78 kB / 1.137 GB, free: 3.949 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001776/1.35, allocations: 0.8938 MB / 1.138 GB, free: 3.699 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.91e-07/1.35, allocations: 0 / 1.138 GB, free: 3.699 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.003538/1.353, allocations: 0.8275 MB / 1.139 GB, free: 3.598 MB / 0.7136 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.007448/1.361, allocations: 4.293 MB / 1.143 GB, free: 1.023 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.006127/1.367, allocations: 2.229 MB / 1.145 GB, free: 480 kB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.167e-05/1.367, allocations: 1.969 kB / 1.145 GB, free: 480 kB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001857/1.369, allocations: 0.6621 MB / 1.146 GB, free: 372 kB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004074/1.373, allocations: 0.6941 MB / 1.147 GB, free: 128 kB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01148/1.384, allocations: 7.284 MB / 1.154 GB, free: 10.46 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001302/1.386, allocations: 1.27 MB / 1.155 GB, free: 9.5 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.002985/1.389, allocations: 418.4 kB / 1.156 GB, free: 9.297 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00134/1.39, allocations: 0.5821 MB / 1.156 GB, free: 9.234 MB / 0.7292 GB Notification: Performance of SimCode: time 1.383e-06/1.39, allocations: 0 / 1.156 GB, free: 9.234 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09042/1.481, allocations: 42.9 MB / 1.198 GB, free: 296 kB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002982/1.481, allocations: 274.2 kB / 1.198 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.682/5.163, allocations: 4 kB / 1.198 GB, free: 15.93 MB / 0.7761 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe 2>&1)