Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.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/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_Examples_WaterCooler_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_Examples_WaterCooler_T",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.004828/0.004828, allocations: 101.3 kB / 15.73 MB, free: 6.039 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.001252/0.001252, allocations: 199.9 kB / 16.67 MB, free: 5.977 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.273/1.273, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.231/2.231, allocations: 390.2 MB / 0.6648 GB, free: 180 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 63.91 kB / 0.9504 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2463/0.2475, allocations: 140.4 MB / 1.088 GB, free: 1.93 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T): time 0.04862/0.2962, allocations: 53.32 MB / 1.14 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.02082/0.317, allocations: 15.21 MB / 1.154 GB, free: 13.18 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002749/0.3198, allocations: 87.5 kB / 1.155 GB, free: 13.09 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0033/0.3232, allocations: 1.106 MB / 1.156 GB, free: 11.98 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.006525/0.3297, allocations: 2.351 MB / 1.158 GB, free: 9.625 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.005839/0.3355, allocations: 2.27 MB / 1.16 GB, free: 7.371 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.006426/0.342, allocations: 4.632 MB / 1.165 GB, free: 2.727 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002735/0.3447, allocations: 1.62 MB / 1.166 GB, free: 1.078 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004321/0.3491, allocations: 1.908 MB / 1.168 GB, free: 15.17 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002357/0.3514, allocations: 1.361 MB / 1.169 GB, free: 13.8 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.000534/0.352, allocations: 168 kB / 1.17 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003966/0.356, allocations: 1.844 MB / 1.171 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0008045/0.3568, allocations: 0.5178 MB / 1.172 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.001924/0.3587, allocations: 1.038 MB / 1.173 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.005602/0.3643, allocations: 3.33 MB / 1.176 GB, free: 6.887 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.3644, allocations: 0 / 1.176 GB, free: 6.887 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.653e-06/0.3644, allocations: 0 / 1.176 GB, free: 6.887 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.556e-05/0.3645, allocations: 0 / 1.176 GB, free: 6.887 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.005267/0.3697, allocations: 2.525 MB / 1.179 GB, free: 4.293 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.3698, allocations: 8.031 kB / 1.179 GB, free: 4.285 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002734/0.3701, allocations: 169.2 kB / 1.179 GB, free: 4.109 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00272/0.3728, allocations: 0.5283 MB / 1.179 GB, free: 3.578 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003277/0.3761, allocations: 1.702 MB / 1.181 GB, free: 1.824 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.056e-05/0.3762, allocations: 90.2 kB / 1.181 GB, free: 1.734 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000189/0.3764, allocations: 123.9 kB / 1.181 GB, free: 1.613 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002535/0.3789, allocations: 1.374 MB / 1.182 GB, free: 148 kB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.92e-05/0.3789, allocations: 8 kB / 1.183 GB, free: 140 kB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001083/0.3791, allocations: 55.94 kB / 1.183 GB, free: 84 kB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-05/0.3791, allocations: 42 kB / 1.183 GB, free: 40 kB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0027/0.3818, allocations: 1.12 MB / 1.184 GB, free: 14.91 MB / 0.9512 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.008952/0.3908, allocations: 7.118 MB / 1.191 GB, free: 7.234 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002492/0.3933, allocations: 1.394 MB / 1.192 GB, free: 5.73 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001006/0.3943, allocations: 438.9 kB / 1.192 GB, free: 5.301 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005239/0.3996, allocations: 3.145 MB / 1.195 GB, free: 1.812 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001104/0.4007, allocations: 466.8 kB / 1.196 GB, free: 1.344 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=60): time 2.946e-06/0.4007, allocations: 0 / 1.196 GB, free: 1.344 MB / 0.9512 GB Notification: Performance of matching and sorting (n=60): time 0.00336/0.4041, allocations: 1.268 MB / 1.197 GB, free: 48 kB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.187e-05/0.4041, allocations: 59.97 kB / 1.197 GB, free: 15.98 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00215/0.4063, allocations: 1.533 MB / 1.199 GB, free: 14.44 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 8.492e-05/0.4064, allocations: 41.7 kB / 1.199 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007212/0.4071, allocations: 0.8839 MB / 1.2 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002088/0.4073, allocations: 213 kB / 1.2 GB, free: 13.29 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003143/0.4077, allocations: 206.4 kB / 1.2 GB, free: 13.08 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001279/0.4078, allocations: 345.9 kB / 1.2 GB, free: 12.74 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001022/0.4088, allocations: 404.6 kB / 1.201 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001292/0.4101, allocations: 0.7748 MB / 1.202 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00223/0.4124, allocations: 1.148 MB / 1.203 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.235e-05/0.4124, allocations: 7.938 kB / 1.203 GB, free: 10.08 MB / 0.9669 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002977/0.4154, allocations: 1.325 MB / 1.204 GB, free: 8.738 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 4.897e-05/0.4154, allocations: 49.77 kB / 1.204 GB, free: 8.684 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.992e-05/0.4155, allocations: 12 kB / 1.204 GB, free: 8.672 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.159e-05/0.4155, allocations: 16 kB / 1.204 GB, free: 8.656 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001043/0.4166, allocations: 259.6 kB / 1.204 GB, free: 8.402 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.845e-05/0.4166, allocations: 23.92 kB / 1.204 GB, free: 8.379 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001187/0.4178, allocations: 147.6 kB / 1.204 GB, free: 8.234 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001103/0.4179, allocations: 59.92 kB / 1.204 GB, free: 8.176 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001474/0.4194, allocations: 0.6893 MB / 1.205 GB, free: 7.48 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001218/0.4206, allocations: 0.7592 MB / 1.206 GB, free: 6.547 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002169/0.4228, allocations: 1.125 MB / 1.207 GB, free: 5.266 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.466e-06/0.4228, allocations: 4 kB / 1.207 GB, free: 5.262 MB / 0.9669 GB Notification: Performance of matching and sorting (n=122) (initialization_lambda0): time 0.002956/0.4258, allocations: 1.305 MB / 1.208 GB, free: 3.941 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 4.016e-05/0.4258, allocations: 37.69 kB / 1.208 GB, free: 3.898 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.638e-05/0.4259, allocations: 12 kB / 1.208 GB, free: 3.887 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.4259, allocations: 19.94 kB / 1.208 GB, free: 3.867 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001004/0.4269, allocations: 260.2 kB / 1.209 GB, free: 3.613 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.465e-05/0.4269, allocations: 23.92 kB / 1.209 GB, free: 3.59 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001149/0.4281, allocations: 128 kB / 1.209 GB, free: 3.465 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.989e-05/0.4282, allocations: 51.98 kB / 1.209 GB, free: 3.414 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 6 (TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,$whenCondition1,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (120): * Single equations (assignments): 118 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * 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.0002899/0.4285, allocations: 247.8 kB / 1.209 GB, free: 3.164 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003432/0.4288, allocations: 165.9 kB / 1.209 GB, free: 3 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002824/0.4317, allocations: 1.155 MB / 1.21 GB, free: 1.832 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.686e-05/0.4317, allocations: 11.98 kB / 1.21 GB, free: 1.82 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.4317, allocations: 0 / 1.21 GB, free: 1.82 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002068/0.4338, allocations: 1.002 MB / 1.211 GB, free: 0.7656 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005048/0.4388, allocations: 2.483 MB / 1.214 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/0.4389, allocations: 0 / 1.214 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007807/0.4396, allocations: 159.8 kB / 1.214 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001639/0.4398, allocations: 24.84 kB / 1.214 GB, free: 14.03 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.346e-05/0.4399, allocations: 27.98 kB / 1.214 GB, free: 14 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001077/0.441, allocations: 1.414 MB / 1.215 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.441, allocations: 3.938 kB / 1.215 GB, free: 12.44 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003466/0.4445, allocations: 1.605 MB / 1.217 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006498/0.4451, allocations: 346.5 kB / 1.217 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002828/0.4454, allocations: 19.94 kB / 1.217 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009346/0.4464, allocations: 64.06 kB / 1.217 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001253/0.4465, allocations: 56.48 kB / 1.217 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.684e-05/0.4466, allocations: 35.91 kB / 1.217 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001644/0.4482, allocations: 1.089 MB / 1.218 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of sort global known variables: time 3.91e-07/0.4482, allocations: 0 / 1.218 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.002496/0.4507, allocations: 0.8654 MB / 1.219 GB, free: 8.297 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (vol.dynBal.U,mov.filter.s[1],mov.filter.s[2],conPI.I.y,THeaOut.T,coo.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 (70): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005481/0.4562, allocations: 2.787 MB / 1.222 GB, free: 5.617 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.003857/0.4601, allocations: 1.64 MB / 1.224 GB, free: 3.957 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.4601, allocations: 0 / 1.224 GB, free: 3.957 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001288/0.4614, allocations: 0.5654 MB / 1.224 GB, free: 3.379 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003391/0.4648, allocations: 0.7658 MB / 1.225 GB, free: 2.625 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02027/0.4851, allocations: 11.84 MB / 1.236 GB, free: 6.277 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001049/0.4862, allocations: 1.356 MB / 1.238 GB, free: 4.895 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001557/0.4878, allocations: 421.9 kB / 1.238 GB, free: 4.477 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009171/0.4887, allocations: 0.7139 MB / 1.239 GB, free: 3.762 MB / 0.9981 GB Notification: Performance of SimCode: time 7.62e-07/0.4887, allocations: 0 / 1.239 GB, free: 3.762 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5851/1.074, allocations: 45.43 MB / 1.283 GB, free: 156.3 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.68/14.75, allocations: 11.16 kB / 1.283 GB, free: 156.3 MB / 1.014 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_Examples_WaterCooler_T_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-08 Buildings_9_Buildings_Fluid_HeatExchangers_Examples_WaterCooler_T.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe 2>&1)