Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Examples_WaterCooler_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Examples_WaterCooler_T",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.495/1.495, allocations: 287.4 MB / 302.6 MB, free: 8.305 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009327/0.0009328, allocations: 184.6 kB / 371.1 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.229/1.229, allocations: 205.4 MB / 0.6298 GB, free: 10.55 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006795/0.0006795, allocations: 98.33 kB / 0.7431 GB, free: 6.539 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003413/0.0003413, allocations: 16.39 kB / 0.8662 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1659/0.1662, allocations: 115.3 MB / 0.9787 GB, free: 28.1 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T): time 0.03541/0.2017, allocations: 49.17 MB / 1.027 GB, free: 10.79 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.02041/0.2221, allocations: 16.63 MB / 1.043 GB, free: 10.13 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00216/0.2243, allocations: 71.5 kB / 1.043 GB, free: 10.06 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.002161/0.2265, allocations: 0.7946 MB / 1.044 GB, free: 9.266 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.004332/0.2309, allocations: 1.873 MB / 1.046 GB, free: 7.387 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.006623/0.2375, allocations: 2.732 MB / 1.048 GB, free: 4.676 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.0053/0.2428, allocations: 5.23 MB / 1.053 GB, free: 15.43 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001597/0.2444, allocations: 1.334 MB / 1.055 GB, free: 14.06 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002299/0.2467, allocations: 1.556 MB / 1.056 GB, free: 12.5 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001338/0.2481, allocations: 1.252 MB / 1.057 GB, free: 11.24 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001691/0.2483, allocations: 72 kB / 1.058 GB, free: 11.17 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002724/0.251, allocations: 1.513 MB / 1.059 GB, free: 9.656 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0004163/0.2514, allocations: 414.3 kB / 1.059 GB, free: 9.25 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0004391/0.2519, allocations: 408.6 kB / 1.06 GB, free: 8.844 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.00272/0.2546, allocations: 2.502 MB / 1.062 GB, free: 6.336 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.2546, allocations: 0 / 1.062 GB, free: 6.336 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.066e-06/0.2546, allocations: 0 / 1.062 GB, free: 6.336 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 3.65e-05/0.2547, allocations: 3.938 kB / 1.062 GB, free: 6.332 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 282 * Number of variables: 282 Notification: Performance of Generate backend data structure: time 0.003711/0.2584, allocations: 2.222 MB / 1.064 GB, free: 4.043 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.2584, allocations: 8.031 kB / 1.064 GB, free: 4.035 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001978/0.2586, allocations: 173.2 kB / 1.065 GB, free: 3.855 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001785/0.2604, allocations: 488.9 kB / 1.065 GB, free: 3.375 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002717/0.2632, allocations: 1.65 MB / 1.067 GB, free: 1.676 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003352/0.2635, allocations: 154.2 kB / 1.067 GB, free: 1.523 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001584/0.2637, allocations: 124 kB / 1.067 GB, free: 1.402 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3578/0.6215, allocations: 1.395 MB / 1.068 GB, free: 88.73 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.983e-05/0.6216, allocations: 2 kB / 1.068 GB, free: 88.73 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001351/0.6217, allocations: 45.44 kB / 1.068 GB, free: 88.73 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.913e-05/0.6218, allocations: 28.5 kB / 1.068 GB, free: 88.73 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003078/0.6249, allocations: 1.133 MB / 1.069 GB, free: 88.71 MB / 0.6823 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.008131/0.633, allocations: 7.004 MB / 1.076 GB, free: 83.76 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002375/0.6354, allocations: 1.432 MB / 1.078 GB, free: 82.86 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009367/0.6364, allocations: 438.5 kB / 1.078 GB, free: 82.73 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004199/0.6406, allocations: 3.083 MB / 1.081 GB, free: 80.33 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001058/0.6417, allocations: 466.9 kB / 1.082 GB, free: 80.17 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000403/0.6421, allocations: 86.34 kB / 1.082 GB, free: 80.14 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=60): time 2.925e-06/0.6421, allocations: 0 / 1.082 GB, free: 80.14 MB / 0.6823 GB Notification: Performance of matching and sorting (n=60): time 0.003016/0.6451, allocations: 1.298 MB / 1.083 GB, free: 79.64 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.324e-05/0.6452, allocations: 141 kB / 1.083 GB, free: 79.48 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002098/0.6473, allocations: 1.571 MB / 1.085 GB, free: 78.89 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.921e-05/0.6473, allocations: 48.84 kB / 1.085 GB, free: 78.85 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006058/0.6479, allocations: 0.8828 MB / 1.086 GB, free: 78.16 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001452/0.6481, allocations: 220.3 kB / 1.086 GB, free: 78 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.516e-05/0.6481, allocations: 20.34 kB / 1.086 GB, free: 77.98 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.482e-05/0.6482, allocations: 343.8 kB / 1.086 GB, free: 77.66 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009288/0.6492, allocations: 393.8 kB / 1.086 GB, free: 77.55 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001114/0.6503, allocations: 0.8034 MB / 1.087 GB, free: 76.93 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001908/0.6522, allocations: 1.152 MB / 1.088 GB, free: 76.17 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.075e-06/0.6522, allocations: 3.156 kB / 1.088 GB, free: 76.17 MB / 0.6823 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.00288/0.6551, allocations: 1.335 MB / 1.09 GB, free: 75.64 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002686/0.6554, allocations: 438.2 kB / 1.09 GB, free: 75.09 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.37e-05/0.6554, allocations: 16.27 kB / 1.09 GB, free: 75.09 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.067e-05/0.6555, allocations: 20.39 kB / 1.09 GB, free: 75.09 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001019/0.6565, allocations: 267.2 kB / 1.09 GB, free: 75.06 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.705e-05/0.6565, allocations: 21.45 kB / 1.09 GB, free: 75.05 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001227/0.6578, allocations: 142.2 kB / 1.091 GB, free: 75.02 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001004/0.6579, allocations: 56.41 kB / 1.091 GB, free: 75.01 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 7.113e-06/0.6579, allocations: 4.188 kB / 1.091 GB, free: 75.01 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002323/0.6602, allocations: 1.169 MB / 1.092 GB, free: 74.57 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.892e-05/0.6603, allocations: 13.77 kB / 1.092 GB, free: 74.57 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.6603, allocations: 14.81 kB / 1.092 GB, free: 74.57 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008983/0.6612, allocations: 267 kB / 1.092 GB, free: 74.55 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.737e-05/0.6612, allocations: 22.22 kB / 1.092 GB, free: 74.54 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009462/0.6622, allocations: 133 kB / 1.092 GB, free: 74.51 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.218e-05/0.6623, allocations: 55.45 kB / 1.092 GB, free: 74.5 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (122): * Single equations (assignments): 118 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006621/0.6629, allocations: 483.3 kB / 1.093 GB, free: 74.16 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001633/0.6631, allocations: 168.1 kB / 1.093 GB, free: 74.07 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00243/0.6655, allocations: 1.165 MB / 1.094 GB, free: 73.64 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.398e-05/0.6656, allocations: 10.62 kB / 1.094 GB, free: 73.64 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.6656, allocations: 2.281 kB / 1.094 GB, free: 73.64 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001872/0.6675, allocations: 1.006 MB / 1.095 GB, free: 73.14 MB / 0.6823 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.003972/0.6714, allocations: 2.445 MB / 1.097 GB, free: 72.04 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.6715, allocations: 1.094 kB / 1.097 GB, free: 72.04 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006973/0.6722, allocations: 155.2 kB / 1.098 GB, free: 72.02 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001633/0.6723, allocations: 34.69 kB / 1.098 GB, free: 72.01 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.442e-05/0.6724, allocations: 26.39 kB / 1.098 GB, free: 72 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008246/0.6732, allocations: 1.366 MB / 1.099 GB, free: 70.64 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.6732, allocations: 1.062 kB / 1.099 GB, free: 70.64 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002925/0.6762, allocations: 1.627 MB / 1.1 GB, free: 69.93 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004412/0.6766, allocations: 353.5 kB / 1.101 GB, free: 69.68 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002126/0.6769, allocations: 16.59 kB / 1.101 GB, free: 69.67 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008922/0.6777, allocations: 119.9 kB / 1.101 GB, free: 69.65 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000104/0.6779, allocations: 57.2 kB / 1.101 GB, free: 69.64 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.733e-05/0.6779, allocations: 29.55 kB / 1.101 GB, free: 69.63 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001328/0.6793, allocations: 1.112 MB / 1.102 GB, free: 69.18 MB / 0.6823 GB Notification: Performance of sort global known variables: time 9.51e-07/0.6793, allocations: 0 / 1.102 GB, free: 69.18 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002381/0.6817, allocations: 0.929 MB / 1.103 GB, free: 69.03 MB / 0.6823 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.x[1],mov.filter.x[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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004446/0.6861, allocations: 2.808 MB / 1.106 GB, free: 67.66 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003303/0.6894, allocations: 1.723 MB / 1.107 GB, free: 67.02 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.6894, allocations: 4.25 kB / 1.107 GB, free: 67.01 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001099/0.6905, allocations: 0.5747 MB / 1.108 GB, free: 66.76 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002971/0.6935, allocations: 0.7392 MB / 1.109 GB, free: 66.55 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01929/0.7128, allocations: 11.01 MB / 1.12 GB, free: 59.72 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007631/0.7136, allocations: 1.37 MB / 1.121 GB, free: 58.71 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001743/0.7154, allocations: 425.1 kB / 1.121 GB, free: 58.5 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000736/0.7161, allocations: 0.7214 MB / 1.122 GB, free: 57.89 MB / 0.6823 GB Notification: Performance of SimCode: time 7.92e-07/0.7161, allocations: 7.938 kB / 1.122 GB, free: 57.88 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.38/1.096, allocations: 47.86 MB / 1.169 GB, free: 13.9 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001203/1.096, allocations: 252 kB / 1.169 GB, free: 13.57 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.434/4.531, allocations: 0 / 1.169 GB, free: 13.57 MB / 0.6823 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Examples_WaterCooler_T_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-08 Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Examples_WaterCooler_T.fmu > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe 2>&1)