Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.BuriedPipes.Examples.SingleBuriedPipe.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.SingleBuriedPipe,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_SingleBuriedPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.BuriedPipes.Examples.SingleBuriedPipe,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_SingleBuriedPipe",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.000979/0.000979, allocations: 86.48 kB / 15.06 MB, free: 1.09 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.001337/0.001337, allocations: 168.7 kB / 15.95 MB, free: 204 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.324/1.324, allocations: 223.2 MB / 240 MB, free: 5.398 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.273/2.273, allocations: 390.4 MB / 0.6655 GB, free: 2.965 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003274/0.0003275, allocations: 12 kB / 0.8149 GB, free: 14.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6195/0.6198, allocations: 142.3 MB / 0.9539 GB, free: 8.32 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.BuriedPipes.Examples.SingleBuriedPipe): time 0.1008/0.7206, allocations: 109.4 MB / 1.061 GB, free: 2.637 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.03408/0.7547, allocations: 26.13 MB / 1.086 GB, free: 8.457 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004721/0.7595, allocations: 107.3 kB / 1.086 GB, free: 8.352 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.004019/0.7635, allocations: 1.06 MB / 1.087 GB, free: 7.285 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.01176/0.7753, allocations: 3.641 MB / 1.091 GB, free: 3.629 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.007038/0.7824, allocations: 2.218 MB / 1.093 GB, free: 1.426 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.01214/0.7945, allocations: 9.478 MB / 1.102 GB, free: 7.922 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00322/0.7978, allocations: 1.906 MB / 1.104 GB, free: 5.977 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005549/0.8034, allocations: 2.691 MB / 1.107 GB, free: 3.273 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003614/0.807, allocations: 2.127 MB / 1.109 GB, free: 1.137 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0003792/0.8074, allocations: 120 kB / 1.109 GB, free: 1.02 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007938/0.8153, allocations: 2.296 MB / 1.111 GB, free: 14.72 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0006984/0.816, allocations: 0.5249 MB / 1.112 GB, free: 14.19 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001125/0.8172, allocations: 0.629 MB / 1.112 GB, free: 13.55 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.00512/0.8223, allocations: 4.045 MB / 1.116 GB, free: 9.5 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.8223, allocations: 0 / 1.116 GB, free: 9.5 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.383e-06/0.8223, allocations: 7.938 kB / 1.116 GB, free: 9.492 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 4.616e-05/0.8224, allocations: 0 / 1.116 GB, free: 9.492 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: 435 * Number of variables: 435 Notification: Performance of Generate backend data structure: time 0.005111/0.8275, allocations: 3.052 MB / 1.119 GB, free: 6.375 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.8276, allocations: 8.031 kB / 1.119 GB, free: 6.367 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003127/0.8279, allocations: 245 kB / 1.12 GB, free: 6.117 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000655/0.8285, allocations: 348 kB / 1.12 GB, free: 5.773 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003892/0.8324, allocations: 2.508 MB / 1.122 GB, free: 3.195 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.532e-05/0.8325, allocations: 131.4 kB / 1.122 GB, free: 3.066 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002469/0.8328, allocations: 175.9 kB / 1.123 GB, free: 2.895 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002925/0.8357, allocations: 1.876 MB / 1.124 GB, free: 0.9492 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.11e-05/0.8358, allocations: 7.891 kB / 1.124 GB, free: 0.9414 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001484/0.8359, allocations: 72 kB / 1.125 GB, free: 0.8711 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-05/0.836, allocations: 51.98 kB / 1.125 GB, free: 0.8203 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002329/0.8383, allocations: 1.371 MB / 1.126 GB, free: 15.45 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.01084/0.8492, allocations: 9.987 MB / 1.136 GB, free: 4.711 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001367/0.8506, allocations: 0.9139 MB / 1.137 GB, free: 3.781 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007565/0.8513, allocations: 0.5307 MB / 1.137 GB, free: 3.25 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002202/0.8536, allocations: 3.084 MB / 1.14 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.039e-05/0.8536, allocations: 59.5 kB / 1.14 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=120): time 3.266e-06/0.8536, allocations: 0 / 1.14 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of matching and sorting (n=120): time 0.004955/0.8586, allocations: 2.122 MB / 1.142 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.157e-05/0.8587, allocations: 64.41 kB / 1.142 GB, free: 13.17 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003201/0.8619, allocations: 2.201 MB / 1.144 GB, free: 10.96 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0001323/0.862, allocations: 53.7 kB / 1.144 GB, free: 10.9 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.001002/0.863, allocations: 1.189 MB / 1.146 GB, free: 9.699 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003954/0.8634, allocations: 429.7 kB / 1.146 GB, free: 9.273 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.009e-05/0.8635, allocations: 28 kB / 1.146 GB, free: 9.246 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.8636, allocations: 361.9 kB / 1.146 GB, free: 8.887 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007682/0.8644, allocations: 475.8 kB / 1.147 GB, free: 8.422 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009953/0.8654, allocations: 0.8246 MB / 1.148 GB, free: 7.461 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009422/0.8664, allocations: 0.5959 MB / 1.148 GB, free: 6.863 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.034e-06/0.8664, allocations: 0 / 1.148 GB, free: 6.863 MB / 0.9044 GB Notification: Performance of matching and sorting (n=187) (initialization): time 0.003546/0.8699, allocations: 1.858 MB / 1.15 GB, free: 4.988 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002064/0.8702, allocations: 373.3 kB / 1.15 GB, free: 4.496 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.094e-05/0.8702, allocations: 19.97 kB / 1.15 GB, free: 4.477 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001329/0.8715, allocations: 305.5 kB / 1.151 GB, free: 4.172 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008812/0.8724, allocations: 283.5 kB / 1.151 GB, free: 3.895 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008997/0.8733, allocations: 1.3 MB / 1.152 GB, free: 2.543 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00163/0.875, allocations: 230.4 kB / 1.152 GB, free: 2.316 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001302/0.8751, allocations: 76.06 kB / 1.153 GB, free: 2.242 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 8.486e-06/0.8751, allocations: 7.938 kB / 1.153 GB, free: 2.234 MB / 0.9044 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002982/0.8781, allocations: 1.621 MB / 1.154 GB, free: 0.6055 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.427e-05/0.8782, allocations: 12 kB / 1.154 GB, free: 0.5938 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001197/0.8794, allocations: 310 kB / 1.154 GB, free: 292 kB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008535/0.8802, allocations: 291.5 kB / 1.155 GB, free: 0 / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008428/0.8811, allocations: 1.3 MB / 1.156 GB, free: 14.65 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001462/0.8826, allocations: 214.6 kB / 1.156 GB, free: 14.44 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001216/0.8827, allocations: 75.97 kB / 1.156 GB, free: 14.36 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 (169): * Single equations (assignments): 161 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 5,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0009891/0.8837, allocations: 0.5709 MB / 1.157 GB, free: 13.78 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003169/0.884, allocations: 252.9 kB / 1.157 GB, free: 13.53 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004115/0.8881, allocations: 2.331 MB / 1.159 GB, free: 11.21 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.244e-05/0.8882, allocations: 31.97 kB / 1.159 GB, free: 11.18 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.795e-06/0.8882, allocations: 4 kB / 1.159 GB, free: 11.18 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002697/0.8909, allocations: 1.725 MB / 1.161 GB, free: 9.395 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007881/0.8988, allocations: 5.103 MB / 1.166 GB, free: 4.078 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.521e-05/0.8988, allocations: 15.94 kB / 1.166 GB, free: 4.062 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008355/0.8997, allocations: 223.7 kB / 1.166 GB, free: 3.844 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000935/0.9006, allocations: 245.5 kB / 1.167 GB, free: 3.598 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.17e-05/0.9007, allocations: 51.97 kB / 1.167 GB, free: 3.547 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008489/0.9016, allocations: 1.3 MB / 1.168 GB, free: 2.195 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.472e-06/0.9016, allocations: 8 kB / 1.168 GB, free: 2.188 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004355/0.906, allocations: 2.932 MB / 1.171 GB, free: 15.15 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001024/0.907, allocations: 0.6334 MB / 1.171 GB, free: 14.5 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003021/0.9073, allocations: 32 kB / 1.171 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001291/0.9086, allocations: 135.7 kB / 1.171 GB, free: 14.33 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001904/0.9088, allocations: 137 kB / 1.172 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001297/0.909, allocations: 71.95 kB / 1.172 GB, free: 14.13 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.002307/0.9113, allocations: 1.592 MB / 1.173 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.5e-07/0.9113, allocations: 4 kB / 1.173 GB, free: 12.53 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.003451/0.9147, allocations: 1.517 MB / 1.175 GB, free: 11.01 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 12 (pip.del.x,pip.timDel.x,pip.vol_b.dynBal.U,pip.vol_a.dynBal.U,senTemInl.T,senTemOut.T,pipRev.del.x,pipRev.timDel.x,pipRev.vol_b.dynBal.U,pipRev.vol_a.dynBal.U,senTemOutRev.T,senTemInlRev.T) * 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 (142): * Single equations (assignments): 112 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 7,1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.005842/0.9206, allocations: 4.244 MB / 1.179 GB, free: 6.672 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.003727/0.9243, allocations: 2.352 MB / 1.181 GB, free: 4.277 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.698e-06/0.9243, allocations: 0 / 1.181 GB, free: 4.277 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.001387/0.9257, allocations: 0.9808 MB / 1.182 GB, free: 3.273 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005963/0.9317, allocations: 1.416 MB / 1.184 GB, free: 1.875 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03114/0.9629, allocations: 17.4 MB / 1.201 GB, free: 15.02 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001987/0.9649, allocations: 1.706 MB / 1.202 GB, free: 13.28 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.003461/0.9684, allocations: 0.6696 MB / 1.203 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001855/0.9703, allocations: 1.144 MB / 1.204 GB, free: 11.49 MB / 0.9669 GB Notification: Performance of SimCode: time 8.32e-07/0.9703, allocations: 4 kB / 1.204 GB, free: 11.49 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5895/1.56, allocations: 87.98 MB / 1.29 GB, free: 250.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001463/1.56, allocations: 275.6 kB / 1.29 GB, free: 249.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.897/5.457, allocations: 2.672 kB / 1.29 GB, free: 249.9 MB / 0.9981 GB (rm -f Buildings_9_Buildings.Fluid.Geothermal.BuriedPipes.Examples.SingleBuriedPipe.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.BuriedPipes.Examples.SingleBuriedPipe.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.BuriedPipes.Examples.SingleBuriedPipe.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.BuriedPipes.Examples.SingleBuriedPipe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Geothermal.BuriedPipes.Examples.SingleBuriedPipe_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_SingleBuriedPipe_fmu --startTime=0 --stopTime=6.3072e+07 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Geothermal_BuriedPipes_Examples_SingleBuriedPipe.fmu > Buildings_9_Buildings.Fluid.Geothermal.BuriedPipes.Examples.SingleBuriedPipe.pipe 2>&1)