Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Fluid_HeatExchangers_Examples_WaterCooler_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T,fileNamePrefix="Buildings_10_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.001368/0.001369, allocations: 111.9 kB / 15.61 MB, free: 128 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.001455/0.001455, allocations: 196.2 kB / 16.54 MB, free: 6.668 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.307/1.307, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.38/2.38, allocations: 437 MB / 0.7104 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001239, allocations: 63.91 kB / 0.8693 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5018/0.503, allocations: 151.6 MB / 1.017 GB, free: 2.457 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T): time 0.04807/0.5511, allocations: 53.76 MB / 1.07 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.02304/0.5742, allocations: 17 MB / 1.087 GB, free: 11.47 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002589/0.5768, allocations: 87.5 kB / 1.087 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.008396/0.5852, allocations: 4.355 MB / 1.091 GB, free: 7.027 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.006424/0.5917, allocations: 2.409 MB / 1.093 GB, free: 4.613 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.005574/0.5973, allocations: 2.275 MB / 1.095 GB, free: 2.352 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.01008/0.6073, allocations: 7.418 MB / 1.103 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002686/0.6101, allocations: 1.647 MB / 1.104 GB, free: 9.234 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003789/0.6139, allocations: 1.877 MB / 1.106 GB, free: 7.355 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002109/0.616, allocations: 1.404 MB / 1.107 GB, free: 5.945 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0005275/0.6165, allocations: 172 kB / 1.108 GB, free: 5.777 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004232/0.6208, allocations: 2.001 MB / 1.11 GB, free: 3.773 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0009062/0.6217, allocations: 0.6579 MB / 1.11 GB, free: 3.113 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.001817/0.6235, allocations: 1.216 MB / 1.111 GB, free: 1.891 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.005589/0.6291, allocations: 3.832 MB / 1.115 GB, free: 14.04 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.6291, allocations: 7.984 kB / 1.115 GB, free: 14.04 MB / 0.8731 GB Notification: Performance of FrontEnd: time 3.556e-06/0.6291, allocations: 0 / 1.115 GB, free: 14.04 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 8.425e-05/0.6292, allocations: 3.938 kB / 1.115 GB, free: 14.03 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.005364/0.6346, allocations: 2.924 MB / 1.118 GB, free: 11.03 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.705e-05/0.6347, allocations: 19.98 kB / 1.118 GB, free: 11.01 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001994/0.6349, allocations: 165.1 kB / 1.118 GB, free: 10.84 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002651/0.6375, allocations: 0.5472 MB / 1.119 GB, free: 10.29 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00427/0.6418, allocations: 2.614 MB / 1.121 GB, free: 7.602 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004128/0.6422, allocations: 158.1 kB / 1.121 GB, free: 7.445 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002034/0.6424, allocations: 123.9 kB / 1.122 GB, free: 7.324 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002693/0.6451, allocations: 1.367 MB / 1.123 GB, free: 5.859 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.788e-05/0.6452, allocations: 3.938 kB / 1.123 GB, free: 5.855 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001139/0.6453, allocations: 48 kB / 1.123 GB, free: 5.809 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.286e-05/0.6454, allocations: 42.08 kB / 1.123 GB, free: 5.766 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00299/0.6483, allocations: 1.117 MB / 1.124 GB, free: 4.641 MB / 0.8731 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.009979/0.6583, allocations: 7.503 MB / 1.131 GB, free: 12.57 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002498/0.6609, allocations: 1.355 MB / 1.133 GB, free: 11.11 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009879/0.6619, allocations: 422.9 kB / 1.133 GB, free: 10.7 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004902/0.6668, allocations: 3.164 MB / 1.136 GB, free: 7.188 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001043/0.6678, allocations: 434.8 kB / 1.137 GB, free: 6.75 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=59): time 3.988e-06/0.6678, allocations: 0 / 1.137 GB, free: 6.75 MB / 0.8887 GB Notification: Performance of matching and sorting (n=59): time 0.00322/0.6711, allocations: 1.267 MB / 1.138 GB, free: 5.453 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.786e-05/0.6711, allocations: 59.97 kB / 1.138 GB, free: 5.383 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002632/0.6738, allocations: 2.11 MB / 1.14 GB, free: 3.246 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 6.974e-05/0.6738, allocations: 37.7 kB / 1.14 GB, free: 3.203 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007896/0.6746, allocations: 1.022 MB / 1.141 GB, free: 2.172 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001822/0.6748, allocations: 221 kB / 1.141 GB, free: 1.953 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000406/0.6752, allocations: 310.5 kB / 1.142 GB, free: 1.645 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 8.603e-05/0.6753, allocations: 309.1 kB / 1.142 GB, free: 1.34 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001193/0.6765, allocations: 0.5571 MB / 1.142 GB, free: 0.7812 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001485/0.678, allocations: 1.004 MB / 1.143 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002489/0.6805, allocations: 1.463 MB / 1.145 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.047e-05/0.6806, allocations: 4 kB / 1.145 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of matching and sorting (n=188) (initialization): time 0.00337/0.6839, allocations: 1.793 MB / 1.147 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 4.037e-05/0.684, allocations: 37.7 kB / 1.147 GB, free: 12.1 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.077e-05/0.684, allocations: 12 kB / 1.147 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.288e-05/0.6841, allocations: 20 kB / 1.147 GB, free: 12.07 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001145/0.6852, allocations: 316.1 kB / 1.147 GB, free: 11.76 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.606e-05/0.6852, allocations: 23.94 kB / 1.147 GB, free: 11.74 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001309/0.6866, allocations: 187 kB / 1.147 GB, free: 11.55 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001097/0.6867, allocations: 59.98 kB / 1.147 GB, free: 11.5 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001772/0.6885, allocations: 0.9795 MB / 1.148 GB, free: 10.51 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001462/0.6899, allocations: 0.996 MB / 1.149 GB, free: 9.332 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002422/0.6924, allocations: 1.458 MB / 1.151 GB, free: 7.703 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.767e-06/0.6924, allocations: 4 kB / 1.151 GB, free: 7.699 MB / 0.9044 GB Notification: Performance of matching and sorting (n=188) (initialization_lambda0): time 0.003356/0.6957, allocations: 1.777 MB / 1.152 GB, free: 5.91 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 3.443e-05/0.6958, allocations: 43.72 kB / 1.152 GB, free: 5.863 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.345e-05/0.6958, allocations: 12 kB / 1.152 GB, free: 5.852 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/0.6958, allocations: 20 kB / 1.152 GB, free: 5.832 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001102/0.6969, allocations: 315.7 kB / 1.153 GB, free: 5.523 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.304e-05/0.697, allocations: 27.92 kB / 1.153 GB, free: 5.496 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001274/0.6983, allocations: 163.2 kB / 1.153 GB, free: 5.336 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001012/0.6984, allocations: 63.98 kB / 1.153 GB, free: 5.273 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (154): * Single equations (assignments): 151 * Array equations: 1 * 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.0002767/0.6986, allocations: 255.8 kB / 1.153 GB, free: 5.016 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003009/0.699, allocations: 209.4 kB / 1.153 GB, free: 4.809 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002727/0.7017, allocations: 1.142 MB / 1.154 GB, free: 3.656 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.822e-05/0.7017, allocations: 8 kB / 1.154 GB, free: 3.648 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.7017, allocations: 7.875 kB / 1.154 GB, free: 3.641 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002029/0.7038, allocations: 0.966 MB / 1.155 GB, free: 2.621 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004979/0.7088, allocations: 2.632 MB / 1.158 GB, free: 15.91 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.7088, allocations: 0 / 1.158 GB, free: 15.91 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007711/0.7096, allocations: 147.9 kB / 1.158 GB, free: 15.77 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001538/0.7097, allocations: 32.78 kB / 1.158 GB, free: 15.73 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.904e-05/0.7098, allocations: 23.98 kB / 1.158 GB, free: 15.71 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001046/0.7108, allocations: 1.41 MB / 1.16 GB, free: 14.16 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.7109, allocations: 7.875 kB / 1.16 GB, free: 14.15 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003464/0.7143, allocations: 1.585 MB / 1.161 GB, free: 12.54 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007256/0.7151, allocations: 394.1 kB / 1.161 GB, free: 12.14 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003266/0.7154, allocations: 15.94 kB / 1.161 GB, free: 12.12 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001002/0.7164, allocations: 71.94 kB / 1.162 GB, free: 12.05 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000115/0.7165, allocations: 60.41 kB / 1.162 GB, free: 11.99 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.705e-05/0.7166, allocations: 31.97 kB / 1.162 GB, free: 11.96 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.002162/0.7188, allocations: 1.457 MB / 1.163 GB, free: 10.49 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7188, allocations: 0 / 1.163 GB, free: 10.49 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.00267/0.7215, allocations: 1.033 MB / 1.164 GB, free: 9.457 MB / 0.92 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 (69): * Single equations (assignments): 60 * 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.005661/0.7271, allocations: 2.907 MB / 1.167 GB, free: 6.645 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.004798/0.7319, allocations: 2.178 MB / 1.169 GB, free: 4.445 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.732, allocations: 0 / 1.169 GB, free: 4.445 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.001233/0.7332, allocations: 0.5496 MB / 1.17 GB, free: 3.887 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004002/0.7372, allocations: 0.9686 MB / 1.171 GB, free: 2.945 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02456/0.7618, allocations: 16.27 MB / 1.186 GB, free: 1.379 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00118/0.763, allocations: 1.542 MB / 1.188 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.002161/0.7652, allocations: 0.5201 MB / 1.188 GB, free: 15.28 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001213/0.7664, allocations: 0.8624 MB / 1.189 GB, free: 14.41 MB / 0.9512 GB Notification: Performance of SimCode: time 6.31e-07/0.7664, allocations: 0 / 1.189 GB, free: 14.41 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2718/1.038, allocations: 55.7 MB / 1.244 GB, free: 7.387 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.61/11.65, allocations: 11.05 kB / 1.244 GB, free: 7.379 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_HeatExchangers_Examples_WaterCooler_T_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-08 Buildings_10_Buildings_Fluid_HeatExchangers_Examples_WaterCooler_T.fmu > Buildings_10_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe 2>&1)