Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoPipesConduit.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.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-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.Geothermal.BuriedPipes.Examples.TwoPipesConduit,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoPipesConduit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoPipesConduit,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoPipesConduit",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.0007837/0.0007837, allocations: 89.73 kB / 15.06 MB, free: 1.098 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.0008287/0.0008288, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.372/1.372, allocations: 223.3 MB / 240 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.374/2.374, allocations: 390.4 MB / 0.6655 GB, free: 2.945 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003665/0.0003666, allocations: 8 kB / 0.8149 GB, free: 14.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6346/0.635, allocations: 142.3 MB / 0.9539 GB, free: 8.086 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoPipesConduit): time 0.1075/0.7426, allocations: 109.5 MB / 1.061 GB, free: 2.348 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.03631/0.7789, allocations: 26.28 MB / 1.086 GB, free: 8.012 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004688/0.7837, allocations: 111.2 kB / 1.087 GB, free: 7.902 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.004051/0.7877, allocations: 1.067 MB / 1.088 GB, free: 6.828 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.01186/0.7996, allocations: 3.66 MB / 1.091 GB, free: 3.152 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.007573/0.8072, allocations: 2.254 MB / 1.093 GB, free: 0.9141 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.01252/0.8197, allocations: 9.585 MB / 1.103 GB, free: 7.297 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004816/0.8246, allocations: 1.941 MB / 1.105 GB, free: 5.316 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006653/0.8313, allocations: 2.714 MB / 1.107 GB, free: 2.59 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004039/0.8353, allocations: 2.17 MB / 1.109 GB, free: 420 kB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.000829/0.8362, allocations: 116 kB / 1.11 GB, free: 304 kB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008792/0.845, allocations: 2.296 MB / 1.112 GB, free: 14 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.001108/0.8461, allocations: 0.5405 MB / 1.112 GB, free: 13.45 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.00149/0.8476, allocations: 0.6368 MB / 1.113 GB, free: 12.81 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.006852/0.8545, allocations: 4.064 MB / 1.117 GB, free: 8.734 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.8545, allocations: 0 / 1.117 GB, free: 8.734 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.385e-06/0.8546, allocations: 0 / 1.117 GB, free: 8.734 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0001545/0.8547, allocations: 4 kB / 1.117 GB, free: 8.73 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: 445 * Number of variables: 445 Notification: Performance of Generate backend data structure: time 0.006237/0.861, allocations: 3.088 MB / 1.12 GB, free: 5.578 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.861, allocations: 16.03 kB / 1.12 GB, free: 5.562 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00043/0.8615, allocations: 253.2 kB / 1.12 GB, free: 5.305 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007653/0.8622, allocations: 352 kB / 1.121 GB, free: 4.957 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004317/0.8666, allocations: 2.503 MB / 1.123 GB, free: 2.391 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001004/0.8667, allocations: 131.5 kB / 1.123 GB, free: 2.262 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002619/0.8669, allocations: 191.9 kB / 1.123 GB, free: 2.074 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00318/0.8701, allocations: 1.92 MB / 1.125 GB, free: 88 kB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.627e-05/0.8702, allocations: 11.94 kB / 1.125 GB, free: 76 kB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000148/0.8703, allocations: 68 kB / 1.125 GB, free: 8 kB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.872e-05/0.8704, allocations: 52.05 kB / 1.125 GB, free: 15.95 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002445/0.8729, allocations: 1.426 MB / 1.127 GB, free: 14.53 MB / 0.8887 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.01129/0.8842, allocations: 9.869 MB / 1.136 GB, free: 3.973 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001745/0.8859, allocations: 1.014 MB / 1.137 GB, free: 2.949 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008683/0.8868, allocations: 0.5769 MB / 1.138 GB, free: 2.367 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0022/0.889, allocations: 3.08 MB / 1.141 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.934e-05/0.8891, allocations: 51.5 kB / 1.141 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=127): time 3.477e-06/0.8891, allocations: 0 / 1.141 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of matching and sorting (n=127): time 0.003391/0.8925, allocations: 1.783 MB / 1.143 GB, free: 12.74 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.959e-05/0.8926, allocations: 68.41 kB / 1.143 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003077/0.8956, allocations: 2.162 MB / 1.145 GB, free: 10.49 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0001622/0.8958, allocations: 57.69 kB / 1.145 GB, free: 10.43 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009956/0.8968, allocations: 1.185 MB / 1.146 GB, free: 9.227 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004808/0.8973, allocations: 457.4 kB / 1.146 GB, free: 8.773 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.815e-05/0.8974, allocations: 28 kB / 1.147 GB, free: 8.746 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001629/0.8976, allocations: 369.9 kB / 1.147 GB, free: 8.379 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008928/0.8985, allocations: 0.4919 MB / 1.147 GB, free: 7.887 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001104/0.8996, allocations: 0.8646 MB / 1.148 GB, free: 6.879 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001055/0.9007, allocations: 0.6271 MB / 1.149 GB, free: 6.254 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.252e-06/0.9007, allocations: 0 / 1.149 GB, free: 6.254 MB / 0.9044 GB Notification: Performance of matching and sorting (n=199) (initialization): time 0.003154/0.9038, allocations: 1.753 MB / 1.151 GB, free: 4.488 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002295/0.9041, allocations: 367.8 kB / 1.151 GB, free: 3.996 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.55e-05/0.9041, allocations: 19.98 kB / 1.151 GB, free: 3.977 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003091/0.9044, allocations: 76.7 kB / 1.151 GB, free: 3.898 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001185/0.9056, allocations: 343.5 kB / 1.151 GB, free: 3.562 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001294/0.9069, allocations: 1.436 MB / 1.153 GB, free: 1.996 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001945/0.9089, allocations: 246.2 kB / 1.153 GB, free: 1.754 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001637/0.9091, allocations: 79.97 kB / 1.153 GB, free: 1.676 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 8.857e-06/0.9091, allocations: 5.094 kB / 1.153 GB, free: 1.672 MB / 0.9044 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002698/0.9118, allocations: 1.496 MB / 1.154 GB, free: 176 kB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.268e-05/0.9118, allocations: 23.91 kB / 1.154 GB, free: 152 kB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000232/0.9121, allocations: 57.39 kB / 1.155 GB, free: 92 kB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001196/0.9133, allocations: 347.5 kB / 1.155 GB, free: 15.75 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001296/0.9146, allocations: 1.44 MB / 1.156 GB, free: 14.17 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002218/0.9168, allocations: 238.4 kB / 1.156 GB, free: 13.93 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001734/0.917, allocations: 75.97 kB / 1.157 GB, free: 13.86 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (192): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * 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%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001085/0.9181, allocations: 0.5787 MB / 1.157 GB, free: 13.27 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004341/0.9186, allocations: 260.8 kB / 1.157 GB, free: 13.01 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003846/0.9224, allocations: 2.206 MB / 1.16 GB, free: 10.82 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.542e-05/0.9225, allocations: 27.94 kB / 1.16 GB, free: 10.8 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.9225, allocations: 0 / 1.16 GB, free: 10.8 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0023/0.9248, allocations: 1.595 MB / 1.161 GB, free: 9.148 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008314/0.9331, allocations: 5.028 MB / 1.166 GB, free: 3.902 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.928e-05/0.9332, allocations: 15.98 kB / 1.166 GB, free: 3.887 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001049/0.9342, allocations: 260.3 kB / 1.166 GB, free: 3.633 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002373/0.9345, allocations: 68.75 kB / 1.166 GB, free: 3.562 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000113/0.9346, allocations: 51.97 kB / 1.166 GB, free: 3.512 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001194/0.9358, allocations: 1.429 MB / 1.168 GB, free: 1.949 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.514e-06/0.9358, allocations: 11.94 kB / 1.168 GB, free: 1.938 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004149/0.94, allocations: 2.84 MB / 1.171 GB, free: 15 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001095/0.9411, allocations: 0.6295 MB / 1.171 GB, free: 14.35 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003135/0.9414, allocations: 32 kB / 1.171 GB, free: 14.32 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001411/0.9428, allocations: 143.6 kB / 1.171 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002157/0.943, allocations: 145 kB / 1.172 GB, free: 14.04 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001352/0.9432, allocations: 75.95 kB / 1.172 GB, free: 13.96 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.002357/0.9456, allocations: 1.573 MB / 1.173 GB, free: 12.39 MB / 0.9356 GB Notification: Performance of sort global known variables: time 3.11e-07/0.9456, allocations: 0 / 1.173 GB, free: 12.39 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.003621/0.9492, allocations: 1.56 MB / 1.175 GB, free: 10.82 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 14 (pipSup.del.x,pipSup.timDel.x,pipSup.vol_b.dynBal.U,pipSup.vol_a.dynBal.U,senTemInlSup.T,senTemOutSup.T,pipRet.del.x,pipRet.timDel.x,pipRet.vol_b.dynBal.U,pipRet.vol_a.dynBal.U,senTemOutRet.T,senTemInlRet.T,conAir.T,con.T[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (161): * Single equations (assignments): 132 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 28 * When equations: 0 * 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%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005835/0.955, allocations: 4.236 MB / 1.179 GB, free: 6.492 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.004104/0.9592, allocations: 2.651 MB / 1.181 GB, free: 3.773 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 6.683e-06/0.9592, allocations: 4 kB / 1.181 GB, free: 3.77 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.00161/0.9608, allocations: 1.112 MB / 1.182 GB, free: 2.621 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005872/0.9667, allocations: 1.408 MB / 1.184 GB, free: 1.238 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03168/0.9984, allocations: 17.51 MB / 1.201 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00126/0.9997, allocations: 1.718 MB / 1.203 GB, free: 12.52 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.002676/1.002, allocations: 0.7106 MB / 1.203 GB, free: 11.83 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001455/1.004, allocations: 1.171 MB / 1.204 GB, free: 10.66 MB / 0.9669 GB Notification: Performance of SimCode: time 4.91e-07/1.004, allocations: 0 / 1.204 GB, free: 10.66 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5472/1.551, allocations: 86.85 MB / 1.289 GB, free: 277.2 MB / 1.014 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001791/1.551, allocations: 260.4 kB / 1.29 GB, free: 276.8 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.924/5.475, allocations: 0 / 1.29 GB, free: 276.8 MB / 1.014 GB (rm -f Buildings_9_Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoPipesConduit.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoPipesConduit.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoPipesConduit.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoPipesConduit.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoPipesConduit_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoPipesConduit_fmu --startTime=0 --stopTime=6.3072e+07 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoPipesConduit.fmu > Buildings_9_Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoPipesConduit.pipe 2>&1)