Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.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.AirHeater_T,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Examples_AirHeater_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Examples_AirHeater_T",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.457/1.457, allocations: 252 MB / 267.3 MB, free: 10.85 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.001049/0.001049, allocations: 177.3 kB / 327 MB, free: 2.094 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.058/2.058, allocations: 205.4 MB / 0.578 GB, free: 20.43 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.0009723/0.0009724, allocations: 81.58 kB / 0.6826 GB, free: 13.21 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003719/0.000372, allocations: 9 kB / 0.7971 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2668/0.2672, allocations: 106.4 MB / 0.9009 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T): time 0.8663/1.134, allocations: 231 MB / 1.126 GB, free: 1 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.02934/1.163, allocations: 18.64 MB / 1.145 GB, free: 0.5273 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005477/1.169, allocations: 71.5 kB / 1.145 GB, free: 0.5273 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.004798/1.173, allocations: 1.181 MB / 1.146 GB, free: 496 kB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.01237/1.186, allocations: 3.24 MB / 1.149 GB, free: 324 kB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.01261/1.198, allocations: 3.315 MB / 1.152 GB, free: 208 kB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.01175/1.21, allocations: 6.69 MB / 1.159 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003711/1.214, allocations: 1.608 MB / 1.16 GB, free: 14.22 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006865/1.221, allocations: 2.319 MB / 1.163 GB, free: 13.42 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00477/1.226, allocations: 1.608 MB / 1.164 GB, free: 12.69 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.000792/1.226, allocations: 81.38 kB / 1.164 GB, free: 12.69 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01017/1.237, allocations: 3.861 MB / 1.168 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.001596/1.238, allocations: 0.6462 MB / 1.169 GB, free: 10.69 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.002306/1.241, allocations: 1.101 MB / 1.17 GB, free: 9.988 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.01009/1.251, allocations: 4.478 MB / 1.174 GB, free: 7.406 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.792e-06/1.251, allocations: 0 / 1.174 GB, free: 7.406 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.535e-06/1.251, allocations: 0.875 kB / 1.174 GB, free: 7.406 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001077/1.251, allocations: 4 kB / 1.174 GB, free: 7.402 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 336 * Number of variables: 336 Notification: Performance of Generate backend data structure: time 0.006327/1.257, allocations: 2.479 MB / 1.177 GB, free: 5.602 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.829e-05/1.257, allocations: 7.875 kB / 1.177 GB, free: 5.602 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003816/1.258, allocations: 196.7 kB / 1.177 GB, free: 5.445 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004861/1.263, allocations: 0.8072 MB / 1.178 GB, free: 5.09 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003497/1.266, allocations: 1.655 MB / 1.179 GB, free: 3.934 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003766/1.266, allocations: 182.5 kB / 1.179 GB, free: 3.855 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002244/1.267, allocations: 144.3 kB / 1.18 GB, free: 3.809 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003306/1.27, allocations: 1.722 MB / 1.181 GB, free: 2.746 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.808e-05/1.27, allocations: 0 / 1.181 GB, free: 2.746 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001384/1.27, allocations: 53.38 kB / 1.181 GB, free: 2.707 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.491e-05/1.27, allocations: 52.75 kB / 1.181 GB, free: 2.656 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003392/1.274, allocations: 1.503 MB / 1.183 GB, free: 1.16 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.01306/1.287, allocations: 7.643 MB / 1.19 GB, free: 9.102 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002939/1.29, allocations: 1.647 MB / 1.192 GB, free: 7.324 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001161/1.291, allocations: 0.5387 MB / 1.192 GB, free: 6.789 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001399/1.292, allocations: 0.8061 MB / 1.193 GB, free: 5.836 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001389/1.294, allocations: 0.5941 MB / 1.194 GB, free: 5.234 MB / 0.7292 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001432/1.295, allocations: 127.2 kB / 1.194 GB, free: 5.109 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=84): time 4.208e-06/1.295, allocations: 0 / 1.194 GB, free: 5.109 MB / 0.7292 GB Notification: Performance of matching and sorting (n=84): time 0.004022/1.299, allocations: 1.659 MB / 1.195 GB, free: 3.426 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.071e-05/1.299, allocations: 137.5 kB / 1.196 GB, free: 3.258 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002288/1.302, allocations: 1.64 MB / 1.197 GB, free: 1.57 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.432e-05/1.302, allocations: 49.7 kB / 1.197 GB, free: 1.516 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008575/1.303, allocations: 0.9346 MB / 1.198 GB, free: 0.5781 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002785/1.303, allocations: 301.5 kB / 1.198 GB, free: 292 kB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.961e-05/1.303, allocations: 20 kB / 1.198 GB, free: 272 kB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001743/1.303, allocations: 345.9 kB / 1.199 GB, free: 15.92 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001058/1.304, allocations: 490.3 kB / 1.199 GB, free: 15.44 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001314/1.306, allocations: 0.8453 MB / 1.2 GB, free: 14.45 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002396/1.308, allocations: 1.293 MB / 1.201 GB, free: 13.07 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.014e-05/1.308, allocations: 4 kB / 1.201 GB, free: 13.06 MB / 0.7448 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.003598/1.312, allocations: 1.515 MB / 1.203 GB, free: 11.58 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003215/1.312, allocations: 368.6 kB / 1.203 GB, free: 11.1 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.553e-05/1.312, allocations: 23.98 kB / 1.203 GB, free: 11.08 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.589e-05/1.312, allocations: 12 kB / 1.203 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001179/1.313, allocations: 278.2 kB / 1.203 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.608e-05/1.313, allocations: 17.25 kB / 1.204 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002172/1.315, allocations: 164.5 kB / 1.204 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001157/1.316, allocations: 47.98 kB / 1.204 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/1.316, allocations: 5.719 kB / 1.204 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002728/1.318, allocations: 1.306 MB / 1.205 GB, free: 9.328 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.177e-05/1.318, allocations: 15.98 kB / 1.205 GB, free: 9.312 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/1.318, allocations: 12 kB / 1.205 GB, free: 9.301 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001104/1.319, allocations: 280 kB / 1.205 GB, free: 9.043 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.185e-05/1.319, allocations: 14.62 kB / 1.205 GB, free: 9.031 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002079/1.322, allocations: 172.3 kB / 1.205 GB, free: 8.863 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000103/1.322, allocations: 55.92 kB / 1.206 GB, free: 8.809 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (134): * Single equations (assignments): 130 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001262/1.323, allocations: 0.5365 MB / 1.206 GB, free: 8.277 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000264/1.323, allocations: 189.6 kB / 1.206 GB, free: 8.09 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00267/1.326, allocations: 1.215 MB / 1.207 GB, free: 6.863 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.104e-05/1.326, allocations: 8 kB / 1.207 GB, free: 6.855 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.151e-05/1.326, allocations: 4 kB / 1.207 GB, free: 6.852 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002238/1.328, allocations: 1.286 MB / 1.209 GB, free: 5.48 MB / 0.7448 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 postOpt removeSimpleEquations (simulation): time 0.005588/1.334, allocations: 2.959 MB / 1.212 GB, free: 2.441 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/1.334, allocations: 0 / 1.212 GB, free: 2.441 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001008/1.335, allocations: 210 kB / 1.212 GB, free: 2.242 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002504/1.335, allocations: 47.83 kB / 1.212 GB, free: 2.195 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.207e-05/1.335, allocations: 23.98 kB / 1.212 GB, free: 2.172 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001473/1.337, allocations: 1.43 MB / 1.213 GB, free: 0.6172 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/1.337, allocations: 4.031 kB / 1.213 GB, free: 0.6133 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004073/1.341, allocations: 1.852 MB / 1.215 GB, free: 14.73 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00111/1.342, allocations: 350.7 kB / 1.215 GB, free: 14.37 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001903/1.342, allocations: 16 kB / 1.215 GB, free: 14.35 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001279/1.343, allocations: 173.7 kB / 1.216 GB, free: 14.18 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001772/1.344, allocations: 60.52 kB / 1.216 GB, free: 14.12 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.711e-05/1.344, allocations: 31.97 kB / 1.216 GB, free: 14.09 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.001703/1.345, allocations: 1.105 MB / 1.217 GB, free: 12.96 MB / 0.7605 GB Notification: Performance of sort global known variables: time 2.81e-07/1.345, allocations: 0 / 1.217 GB, free: 12.96 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.003145/1.349, allocations: 1.005 MB / 1.218 GB, free: 11.96 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 8 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],mov.filter.x[1],mov.filter.x[2],conPI.I.y,THeaOut.T,hea.outCon.T) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005563/1.354, allocations: 2.94 MB / 1.221 GB, free: 9.125 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.004148/1.358, allocations: 1.957 MB / 1.222 GB, free: 7.137 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/1.358, allocations: 0 / 1.222 GB, free: 7.137 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.001391/1.36, allocations: 0.6442 MB / 1.223 GB, free: 6.484 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004692/1.364, allocations: 0.8129 MB / 1.224 GB, free: 5.676 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03053/1.395, allocations: 15.28 MB / 1.239 GB, free: 5.418 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001283/1.396, allocations: 1.503 MB / 1.24 GB, free: 3.883 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.00227/1.399, allocations: 446.8 kB / 1.241 GB, free: 3.441 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001151/1.4, allocations: 0.7843 MB / 1.241 GB, free: 2.656 MB / 0.7761 GB Notification: Performance of SimCode: time 1.172e-06/1.4, allocations: 0 / 1.241 GB, free: 2.656 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08742/1.487, allocations: 46.11 MB / 1.287 GB, free: 4.988 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002999/1.488, allocations: 283.2 kB / 1.287 GB, free: 4.613 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.287/5.774, allocations: 0 / 1.287 GB, free: 4.613 MB / 0.823 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Examples_AirHeater_T_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-08 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Examples_AirHeater_T.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe 2>&1)