Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.Geothermal.BuriedPipes.Examples.TwoPipesConduit,fileNamePrefix="Buildings_10_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoPipesConduit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoPipesConduit,fileNamePrefix="Buildings_10_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.001161/0.001161, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.006346/0.006346, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.278/1.278, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.345/2.345, allocations: 437.8 MB / 0.7121 GB, free: 7.031 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003157/0.0003159, allocations: 12 kB / 0.8729 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5483/0.5486, allocations: 153.8 MB / 1.023 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoPipesConduit): time 0.1059/0.6546, allocations: 116 MB / 1.136 GB, free: 11.59 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.03558/0.6902, allocations: 27.86 MB / 1.164 GB, free: 15.66 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004124/0.6944, allocations: 107.3 kB / 1.164 GB, free: 15.56 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.003297/0.6977, allocations: 1.243 MB / 1.165 GB, free: 14.31 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.01068/0.7084, allocations: 4.285 MB / 1.169 GB, free: 10.01 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.006875/0.7153, allocations: 2.848 MB / 1.172 GB, free: 7.172 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.01199/0.7273, allocations: 11.16 MB / 1.183 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003425/0.7307, allocations: 2.208 MB / 1.185 GB, free: 9.719 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005634/0.7364, allocations: 2.835 MB / 1.188 GB, free: 6.871 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003625/0.74, allocations: 2.294 MB / 1.19 GB, free: 4.566 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0004395/0.7405, allocations: 116 kB / 1.19 GB, free: 4.453 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009299/0.7498, allocations: 3.221 MB / 1.193 GB, free: 1.211 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0007936/0.7506, allocations: 0.5677 MB / 1.194 GB, free: 0.6406 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.00241/0.753, allocations: 1.545 MB / 1.195 GB, free: 15.08 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.02097/0.774, allocations: 18.22 MB / 1.213 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.774, allocations: 0 / 1.213 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.023e-06/0.774, allocations: 4 kB / 1.213 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 0.0001102/0.7741, allocations: 0 / 1.213 GB, free: 12.79 MB / 0.9669 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.006495/0.7807, allocations: 3.053 MB / 1.216 GB, free: 9.672 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.7807, allocations: 8.031 kB / 1.216 GB, free: 9.664 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004482/0.7812, allocations: 253.2 kB / 1.216 GB, free: 9.406 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009137/0.7821, allocations: 356 kB / 1.217 GB, free: 9.055 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004717/0.7868, allocations: 2.596 MB / 1.219 GB, free: 6.391 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.927e-05/0.7869, allocations: 143.5 kB / 1.219 GB, free: 6.25 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002839/0.7872, allocations: 183.9 kB / 1.219 GB, free: 6.07 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003388/0.7906, allocations: 1.932 MB / 1.221 GB, free: 4.07 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.33e-05/0.7907, allocations: 11.84 kB / 1.221 GB, free: 4.059 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001685/0.7909, allocations: 72 kB / 1.221 GB, free: 3.988 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.491e-05/0.7909, allocations: 48 kB / 1.221 GB, free: 3.941 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002669/0.7936, allocations: 1.434 MB / 1.223 GB, free: 2.504 MB / 0.9669 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.01205/0.8057, allocations: 9.88 MB / 1.233 GB, free: 7.938 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001859/0.8075, allocations: 1.025 MB / 1.234 GB, free: 6.902 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009057/0.8085, allocations: 0.577 MB / 1.234 GB, free: 6.324 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002246/0.8107, allocations: 3.08 MB / 1.237 GB, free: 2.562 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.769e-05/0.8108, allocations: 51.56 kB / 1.237 GB, free: 2.504 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=127): time 3.086e-06/0.8108, allocations: 0 / 1.237 GB, free: 2.504 MB / 0.9825 GB Notification: Performance of matching and sorting (n=127): time 0.003545/0.8143, allocations: 1.799 MB / 1.239 GB, free: 0.6719 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.439e-05/0.8144, allocations: 64.41 kB / 1.239 GB, free: 0.5977 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003172/0.8176, allocations: 2.185 MB / 1.241 GB, free: 14.4 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001299/0.8177, allocations: 53.7 kB / 1.241 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009308/0.8186, allocations: 1.193 MB / 1.242 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004348/0.8191, allocations: 453.4 kB / 1.243 GB, free: 12.69 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001751/0.8193, allocations: 129.6 kB / 1.243 GB, free: 12.55 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9.163e-05/0.8194, allocations: 301.1 kB / 1.243 GB, free: 12.26 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008922/0.8203, allocations: 0.5036 MB / 1.244 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001129/0.8214, allocations: 0.8687 MB / 1.244 GB, free: 10.75 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002039/0.8235, allocations: 1.395 MB / 1.246 GB, free: 9.223 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.024e-05/0.8235, allocations: 15.92 kB / 1.246 GB, free: 9.207 MB / 0.9981 GB Notification: Performance of matching and sorting (n=199) (initialization): time 0.003128/0.8266, allocations: 1.76 MB / 1.248 GB, free: 7.434 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002147/0.8268, allocations: 367.9 kB / 1.248 GB, free: 6.941 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.037e-05/0.8269, allocations: 12 kB / 1.248 GB, free: 6.93 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003028/0.8272, allocations: 64.81 kB / 1.248 GB, free: 6.863 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001211/0.8284, allocations: 343.5 kB / 1.248 GB, free: 6.527 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001289/0.8297, allocations: 1.444 MB / 1.25 GB, free: 4.953 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001931/0.8317, allocations: 250.4 kB / 1.25 GB, free: 4.707 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001422/0.8318, allocations: 79.97 kB / 1.25 GB, free: 4.629 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 6.432e-06/0.8318, allocations: 4 kB / 1.25 GB, free: 4.625 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002569/0.8344, allocations: 1.503 MB / 1.252 GB, free: 3.117 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.403e-05/0.8345, allocations: 12 kB / 1.252 GB, free: 3.105 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002391/0.8347, allocations: 69.38 kB / 1.252 GB, free: 3.035 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001164/0.8359, allocations: 347.4 kB / 1.252 GB, free: 2.695 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001107/0.837, allocations: 1.448 MB / 1.253 GB, free: 1.113 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001738/0.8387, allocations: 230.5 kB / 1.254 GB, free: 0.8867 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001271/0.8389, allocations: 83.91 kB / 1.254 GB, free: 0.8047 MB / 0.9981 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 (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 prepare postOptimizeDAE: time 0.000947/0.8398, allocations: 0.5787 MB / 1.254 GB, free: 220 kB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.4358/1.276, allocations: 255.6 kB / 1.254 GB, free: 221.3 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004862/1.281, allocations: 2.193 MB / 1.257 GB, free: 221.2 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.383e-05/1.281, allocations: 28.61 kB / 1.257 GB, free: 221.2 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.686e-06/1.281, allocations: 0.6562 kB / 1.257 GB, free: 221.2 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002553/1.283, allocations: 1.612 MB / 1.258 GB, free: 220.4 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009102/1.292, allocations: 5.029 MB / 1.263 GB, free: 218 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.971e-05/1.292, allocations: 11.16 kB / 1.263 GB, free: 218 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001086/1.293, allocations: 271.9 kB / 1.263 GB, free: 218 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002381/1.294, allocations: 58.23 kB / 1.263 GB, free: 218 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001115/1.294, allocations: 59.38 kB / 1.264 GB, free: 218 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001023/1.295, allocations: 1.428 MB / 1.265 GB, free: 216.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.988e-06/1.295, allocations: 14.78 kB / 1.265 GB, free: 216.6 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004886/1.3, allocations: 2.851 MB / 1.268 GB, free: 215.4 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001117/1.301, allocations: 0.6331 MB / 1.268 GB, free: 215 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000313/1.301, allocations: 39.55 kB / 1.268 GB, free: 215 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001526/1.303, allocations: 143.1 kB / 1.268 GB, free: 215 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002414/1.303, allocations: 141.2 kB / 1.269 GB, free: 215 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000136/1.303, allocations: 77.02 kB / 1.269 GB, free: 215 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002641/1.306, allocations: 1.591 MB / 1.27 GB, free: 214.4 MB / 0.9981 GB Notification: Performance of sort global known variables: time 5.41e-07/1.306, allocations: 0 / 1.27 GB, free: 214.4 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003868/1.31, allocations: 1.577 MB / 1.272 GB, free: 214.1 MB / 0.9981 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 (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.0105/1.32, allocations: 6.974 MB / 1.279 GB, free: 212 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003621/1.324, allocations: 2.674 MB / 1.281 GB, free: 210.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/1.324, allocations: 0 / 1.281 GB, free: 210.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001271/1.325, allocations: 1.113 MB / 1.282 GB, free: 210.3 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008732/1.334, allocations: 1.408 MB / 1.284 GB, free: 209.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02964/1.364, allocations: 21.9 MB / 1.305 GB, free: 191.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000989/1.365, allocations: 1.717 MB / 1.307 GB, free: 190.2 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.00251/1.367, allocations: 0.7085 MB / 1.307 GB, free: 189.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00119/1.368, allocations: 1.179 MB / 1.309 GB, free: 188.3 MB / 0.9981 GB Notification: Performance of SimCode: time 6.71e-07/1.368, allocations: 0 / 1.309 GB, free: 188.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.899/3.267, allocations: 84.29 MB / 1.391 GB, free: 104.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001985/3.267, allocations: 278 kB / 1.391 GB, free: 104.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.527/7.794, allocations: 0 / 1.391 GB, free: 104.6 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoPipesConduit.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoPipesConduit.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoPipesConduit.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoPipesConduit.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoPipesConduit_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoPipesConduit_fmu --startTime=0 --stopTime=6.3072e+07 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Geothermal_BuriedPipes_Examples_TwoPipesConduit.fmu > Buildings_10_Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoPipesConduit.pipe 2>&1)