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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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: translateModel(Buildings.Fluid.Geothermal.BuriedPipes.Examples.SingleBuriedPipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTemInl.T|senTemOut.T|gro.soi.T|senTemInlRev.T|senTemOutRev.T|groRev.soi.T",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.BuriedPipes.Examples.SingleBuriedPipe") translateModel(Buildings.Fluid.Geothermal.BuriedPipes.Examples.SingleBuriedPipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTemInl.T|senTemOut.T|gro.soi.T|senTemInlRev.T|senTemOutRev.T|groRev.soi.T",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.BuriedPipes.Examples.SingleBuriedPipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007007/0.007007, allocations: 103.5 kB / 15.73 MB, free: 6.492 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.001704/0.001704, allocations: 188.1 kB / 16.67 MB, free: 6.379 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.358/1.358, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.363/2.363, allocations: 390.2 MB / 0.6648 GB, free: 156 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 66.72 kB / 0.9508 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2448/0.246, allocations: 140.4 MB / 1.088 GB, free: 1.48 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.BuriedPipes.Examples.SingleBuriedPipe): time 0.1052/0.3512, allocations: 118.5 MB / 1.204 GB, free: 10.61 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.03706/0.3883, allocations: 27.89 MB / 1.231 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005599/0.394, allocations: 127.2 kB / 1.231 GB, free: 14.52 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.004909/0.3989, allocations: 1.533 MB / 1.232 GB, free: 12.97 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01429/0.4133, allocations: 4.598 MB / 1.237 GB, free: 8.355 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.009098/0.4224, allocations: 3.13 MB / 1.24 GB, free: 5.238 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01313/0.4355, allocations: 8.479 MB / 1.248 GB, free: 12.73 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005734/0.4413, allocations: 2.668 MB / 1.251 GB, free: 9.996 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008697/0.45, allocations: 3.418 MB / 1.254 GB, free: 6.574 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004533/0.4546, allocations: 2.338 MB / 1.257 GB, free: 4.227 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0009494/0.4555, allocations: 288 kB / 1.257 GB, free: 3.945 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006972/0.4625, allocations: 2.831 MB / 1.26 GB, free: 1.109 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001176/0.4637, allocations: 0.7278 MB / 1.26 GB, free: 388 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.6332/1.097, allocations: 1.69 MB / 1.262 GB, free: 24.93 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01159/1.109, allocations: 5.404 MB / 1.267 GB, free: 24.79 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/1.109, allocations: 0.7812 kB / 1.267 GB, free: 24.79 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.894e-06/1.109, allocations: 0 / 1.267 GB, free: 24.79 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0001349/1.109, allocations: 1.656 kB / 1.267 GB, free: 24.79 MB / 1.014 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.008609/1.117, allocations: 3.582 MB / 1.271 GB, free: 23.21 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/1.117, allocations: 12.84 kB / 1.271 GB, free: 23.21 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001287/1.119, allocations: 350.7 kB / 1.271 GB, free: 23.05 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005578/1.124, allocations: 2.652 MB / 1.274 GB, free: 22.44 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001716/1.124, allocations: 130.5 kB / 1.274 GB, free: 22.43 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003869/1.125, allocations: 171.6 kB / 1.274 GB, free: 22.43 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004023/1.129, allocations: 1.897 MB / 1.276 GB, free: 22.2 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.049e-05/1.129, allocations: 7.281 kB / 1.276 GB, free: 22.2 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001742/1.129, allocations: 69.56 kB / 1.276 GB, free: 22.2 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.333e-05/1.129, allocations: 46.64 kB / 1.276 GB, free: 22.2 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002602/1.132, allocations: 1.383 MB / 1.277 GB, free: 22.19 MB / 1.014 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.01323/1.145, allocations: 9.976 MB / 1.287 GB, free: 17.02 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001628/1.147, allocations: 0.917 MB / 1.288 GB, free: 16.99 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008384/1.148, allocations: 0.533 MB / 1.288 GB, free: 16.98 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001759/1.149, allocations: 3.075 MB / 1.291 GB, free: 13.5 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.333e-05/1.149, allocations: 49.08 kB / 1.291 GB, free: 13.46 MB / 1.014 GB Notification: Performance of pre-optimization done (n=120): time 3.387e-06/1.149, allocations: 0 / 1.291 GB, free: 13.46 MB / 1.014 GB Notification: Performance of matching and sorting (n=120): time 0.005785/1.155, allocations: 2.132 MB / 1.294 GB, free: 13.07 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.339e-05/1.155, allocations: 65.81 kB / 1.294 GB, free: 13.01 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003713/1.159, allocations: 2.245 MB / 1.296 GB, free: 12.78 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001767/1.159, allocations: 50.08 kB / 1.296 GB, free: 12.75 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008622/1.16, allocations: 1.176 MB / 1.297 GB, free: 12.39 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.000388/1.16, allocations: 432.6 kB / 1.297 GB, free: 12.12 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004144/1.161, allocations: 284.5 kB / 1.298 GB, free: 12.09 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 7.989e-05/1.161, allocations: 366.4 kB / 1.298 GB, free: 11.78 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007666/1.162, allocations: 456.1 kB / 1.298 GB, free: 11.76 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009808/1.163, allocations: 0.7812 MB / 1.299 GB, free: 11.4 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00183/1.165, allocations: 1.286 MB / 1.3 GB, free: 11.04 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.707e-06/1.165, allocations: 2.531 kB / 1.3 GB, free: 11.04 MB / 1.014 GB Notification: Performance of matching and sorting (n=179) (initialization): time 0.00411/1.169, allocations: 1.799 MB / 1.302 GB, free: 10.81 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.479e-05/1.169, allocations: 8.875 kB / 1.302 GB, free: 10.81 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.349e-05/1.169, allocations: 14.3 kB / 1.302 GB, free: 10.81 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001415/1.17, allocations: 313.8 kB / 1.303 GB, free: 10.78 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009084/1.171, allocations: 287.7 kB / 1.303 GB, free: 10.78 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007773/1.172, allocations: 1.3 MB / 1.304 GB, free: 9.738 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001936/1.174, allocations: 151.4 kB / 1.304 GB, free: 9.66 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001519/1.174, allocations: 74.72 kB / 1.304 GB, free: 9.66 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001616/1.176, allocations: 0.8551 MB / 1.305 GB, free: 9.57 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009525/1.177, allocations: 0.7751 MB / 1.306 GB, free: 9.211 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001827/1.178, allocations: 1.288 MB / 1.307 GB, free: 8.848 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.434e-06/1.178, allocations: 2.312 kB / 1.307 GB, free: 8.848 MB / 1.014 GB Notification: Performance of matching and sorting (n=179) (initialization_lambda0): time 0.004021/1.182, allocations: 1.791 MB / 1.309 GB, free: 8.621 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/1.182, allocations: 10.44 kB / 1.309 GB, free: 8.621 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.957e-05/1.183, allocations: 13.8 kB / 1.309 GB, free: 8.621 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001275/1.184, allocations: 307.3 kB / 1.309 GB, free: 8.59 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009285/1.185, allocations: 289.4 kB / 1.31 GB, free: 8.59 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007333/1.185, allocations: 1.303 MB / 1.311 GB, free: 7.547 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001949/1.187, allocations: 120.7 kB / 1.311 GB, free: 7.492 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001569/1.188, allocations: 74.28 kB / 1.311 GB, free: 7.492 MB / 1.014 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 (165): * Single equations (assignments): 159 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,5), (1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0005021/1.188, allocations: 264.7 kB / 1.311 GB, free: 7.305 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005435/1.189, allocations: 257.9 kB / 1.311 GB, free: 7.176 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004586/1.193, allocations: 2.327 MB / 1.314 GB, free: 6.953 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.675e-05/1.193, allocations: 26.58 kB / 1.314 GB, free: 6.953 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/1.193, allocations: 0 / 1.314 GB, free: 6.953 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002783/1.196, allocations: 1.738 MB / 1.315 GB, free: 6.625 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009513/1.206, allocations: 5.115 MB / 1.32 GB, free: 5.547 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-05/1.206, allocations: 9.516 kB / 1.32 GB, free: 5.547 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008738/1.207, allocations: 226.1 kB / 1.321 GB, free: 5.547 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001021/1.208, allocations: 226 kB / 1.321 GB, free: 5.523 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001231/1.208, allocations: 51.75 kB / 1.321 GB, free: 5.523 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008493/1.209, allocations: 1.299 MB / 1.322 GB, free: 4.48 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.125e-06/1.209, allocations: 9.062 kB / 1.322 GB, free: 4.48 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005572/1.214, allocations: 2.941 MB / 1.325 GB, free: 3.855 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001645/1.216, allocations: 0.5883 MB / 1.326 GB, free: 3.582 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004553/1.216, allocations: 39.3 kB / 1.326 GB, free: 3.582 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0013/1.218, allocations: 73.78 kB / 1.326 GB, free: 3.57 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002222/1.218, allocations: 129.6 kB / 1.326 GB, free: 3.562 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001391/1.218, allocations: 74.5 kB / 1.326 GB, free: 3.562 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.002394/1.22, allocations: 1.65 MB / 1.328 GB, free: 3.418 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.2e-07/1.22, allocations: 0 / 1.328 GB, free: 3.418 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.004209/1.225, allocations: 1.477 MB / 1.329 GB, free: 3.215 MB / 1.014 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,7), (1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002004/1.227, allocations: 0.9705 MB / 1.33 GB, free: 2.953 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.00365/1.23, allocations: 2.305 MB / 1.332 GB, free: 2.652 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 6.252e-06/1.23, allocations: 2.75 kB / 1.332 GB, free: 2.652 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001442/1.232, allocations: 0.9855 MB / 1.333 GB, free: 18.52 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006271/1.238, allocations: 1.501 MB / 1.335 GB, free: 18.25 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006253/1.244, allocations: 4.946 MB / 1.339 GB, free: 16.05 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001099/1.245, allocations: 1.706 MB / 1.341 GB, free: 15.28 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.002127/1.248, allocations: 0.6725 MB / 1.342 GB, free: 15.12 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004991/1.248, allocations: 242.7 kB / 1.342 GB, free: 15.11 MB / 1.029 GB Notification: Performance of SimCode: time 7.21e-07/1.248, allocations: 0 / 1.342 GB, free: 15.11 MB / 1.029 GB Notification: Performance of Templates: time 0.09885/1.347, allocations: 63.06 MB / 1.404 GB, free: 2.641 MB / 1.061 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.BuriedPipes.Examples.SingleBuriedPipe.makefile (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 & ./Buildings_9_Buildings.Fluid.Geothermal.BuriedPipes.Examples.SingleBuriedPipe -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.BuriedPipes.Examples.SingleBuriedPipe.pipe 2>&1)