Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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: 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_10_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_10_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.001328/0.001328, allocations: 111.2 kB / 16.42 MB, free: 6.496 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.001295/0.001295, allocations: 185.7 kB / 17.35 MB, free: 5.762 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.314/1.314, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.434/2.434, allocations: 437.1 MB / 0.7112 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001371, allocations: 67.91 kB / 1.019 GB, free: 9.414 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7342/0.7356, allocations: 151.6 MB / 1.167 GB, free: 3.875 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.BuriedPipes.Examples.SingleBuriedPipe): time 0.112/0.8476, allocations: 118.5 MB / 1.283 GB, free: 12.99 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.03992/0.8876, allocations: 27.88 MB / 1.31 GB, free: 1.043 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004309/0.892, allocations: 127.2 kB / 1.31 GB, free: 0.918 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.004581/0.8966, allocations: 1.564 MB / 1.312 GB, free: 15.34 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.01226/0.9089, allocations: 4.816 MB / 1.317 GB, free: 10.51 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.008226/0.9171, allocations: 3.161 MB / 1.32 GB, free: 7.359 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.01095/0.9281, allocations: 8.5 MB / 1.328 GB, free: 14.84 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004246/0.9324, allocations: 2.676 MB / 1.331 GB, free: 12.1 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007558/0.94, allocations: 3.418 MB / 1.334 GB, free: 8.676 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004103/0.9441, allocations: 2.334 MB / 1.336 GB, free: 6.332 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.001132/0.9452, allocations: 292 kB / 1.336 GB, free: 6.047 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007331/0.9526, allocations: 2.831 MB / 1.339 GB, free: 3.211 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.001437/0.954, allocations: 0.7317 MB / 1.34 GB, free: 2.477 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.003619/0.9577, allocations: 1.707 MB / 1.342 GB, free: 0.7617 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.01023/0.9679, allocations: 5.4 MB / 1.347 GB, free: 11.35 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.968, allocations: 0 / 1.347 GB, free: 11.35 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.032e-06/0.968, allocations: 0 / 1.347 GB, free: 11.35 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0001252/0.9681, allocations: 0 / 1.347 GB, free: 11.35 MB / 1.076 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.007946/0.9761, allocations: 3.581 MB / 1.35 GB, free: 7.699 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/0.9761, allocations: 8.922 kB / 1.35 GB, free: 7.691 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001264/0.9774, allocations: 356 kB / 1.351 GB, free: 7.34 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005292/0.9827, allocations: 2.65 MB / 1.353 GB, free: 4.617 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001017/0.9828, allocations: 131.4 kB / 1.353 GB, free: 4.488 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003271/0.9832, allocations: 179.9 kB / 1.354 GB, free: 4.312 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003599/0.9868, allocations: 1.89 MB / 1.355 GB, free: 2.355 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.878e-05/0.9868, allocations: 3.984 kB / 1.355 GB, free: 2.352 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001841/0.987, allocations: 80 kB / 1.356 GB, free: 2.273 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.658e-05/0.9871, allocations: 44 kB / 1.356 GB, free: 2.23 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002661/0.9898, allocations: 1.379 MB / 1.357 GB, free: 0.8477 MB / 1.076 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.01249/1.002, allocations: 9.963 MB / 1.367 GB, free: 6.133 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001585/1.004, allocations: 0.9217 MB / 1.368 GB, free: 5.207 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008164/1.005, allocations: 0.527 MB / 1.368 GB, free: 4.68 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002196/1.007, allocations: 3.076 MB / 1.371 GB, free: 0.9219 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.102e-05/1.007, allocations: 47.56 kB / 1.371 GB, free: 0.8633 MB / 1.092 GB Notification: Performance of pre-optimization done (n=120): time 3.687e-06/1.007, allocations: 0 / 1.371 GB, free: 0.8633 MB / 1.092 GB Notification: Performance of matching and sorting (n=120): time 0.005581/1.013, allocations: 2.137 MB / 1.373 GB, free: 14.68 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.498e-05/1.013, allocations: 64.41 kB / 1.373 GB, free: 14.6 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003849/1.016, allocations: 2.244 MB / 1.375 GB, free: 12.35 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.000205/1.017, allocations: 53.7 kB / 1.376 GB, free: 12.29 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009947/1.018, allocations: 1.174 MB / 1.377 GB, free: 11.1 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004884/1.018, allocations: 437.7 kB / 1.377 GB, free: 10.67 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000462/1.019, allocations: 287.3 kB / 1.377 GB, free: 10.38 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001384/1.019, allocations: 361.9 kB / 1.378 GB, free: 10.02 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008361/1.02, allocations: 452.6 kB / 1.378 GB, free: 9.574 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001143/1.021, allocations: 0.7946 MB / 1.379 GB, free: 8.648 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002058/1.023, allocations: 1.281 MB / 1.38 GB, free: 7.242 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.13e-05/1.023, allocations: 4 kB / 1.38 GB, free: 7.238 MB / 1.107 GB Notification: Performance of matching and sorting (n=179) (initialization): time 0.004485/1.027, allocations: 1.8 MB / 1.382 GB, free: 5.422 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.559e-05/1.027, allocations: 12 kB / 1.382 GB, free: 5.41 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.063e-05/1.027, allocations: 16.55 kB / 1.382 GB, free: 5.395 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001572/1.029, allocations: 305.5 kB / 1.382 GB, free: 5.09 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009671/1.03, allocations: 283.5 kB / 1.383 GB, free: 4.812 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001086/1.031, allocations: 1.3 MB / 1.384 GB, free: 3.461 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001648/1.033, allocations: 146.5 kB / 1.384 GB, free: 3.316 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001598/1.033, allocations: 79.95 kB / 1.384 GB, free: 3.238 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001587/1.035, allocations: 0.8514 MB / 1.385 GB, free: 2.383 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001088/1.036, allocations: 0.7793 MB / 1.386 GB, free: 1.473 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001906/1.038, allocations: 1.284 MB / 1.387 GB, free: 64 kB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.426e-06/1.038, allocations: 4 kB / 1.387 GB, free: 60 kB / 1.107 GB Notification: Performance of matching and sorting (n=179) (initialization_lambda0): time 0.00412/1.042, allocations: 1.804 MB / 1.389 GB, free: 14.24 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/1.042, allocations: 8 kB / 1.389 GB, free: 14.23 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.817e-05/1.042, allocations: 12 kB / 1.389 GB, free: 14.22 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001406/1.043, allocations: 305.8 kB / 1.389 GB, free: 13.91 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009539/1.044, allocations: 283.5 kB / 1.389 GB, free: 13.64 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009472/1.045, allocations: 1.308 MB / 1.39 GB, free: 12.28 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001718/1.047, allocations: 123.1 kB / 1.391 GB, free: 12.16 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001662/1.047, allocations: 75.97 kB / 1.391 GB, free: 12.08 MB / 1.123 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.0004053/1.047, allocations: 264.4 kB / 1.391 GB, free: 11.82 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000815/1.048, allocations: 256.8 kB / 1.391 GB, free: 11.56 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004916/1.053, allocations: 2.323 MB / 1.393 GB, free: 9.25 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003157/1.056, allocations: 1.74 MB / 1.395 GB, free: 7.457 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.532e-05/1.056, allocations: 7.984 kB / 1.395 GB, free: 7.449 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001311/1.058, allocations: 0.5518 MB / 1.396 GB, free: 6.875 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005645/1.058, allocations: 35.91 kB / 1.396 GB, free: 6.84 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001488/1.06, allocations: 51.95 kB / 1.396 GB, free: 6.789 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002272/1.06, allocations: 121.1 kB / 1.396 GB, free: 6.668 MB / 1.123 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004017/1.064, allocations: 1.893 MB / 1.398 GB, free: 4.762 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004399/1.068, allocations: 2.743 MB / 1.4 GB, free: 2.004 MB / 1.123 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001054/1.07, allocations: 0.7371 MB / 1.401 GB, free: 1.262 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.00294/1.073, allocations: 1.529 MB / 1.403 GB, free: 15.73 MB / 1.139 GB Notification: Performance of Backend: time 5.81e-07/1.073, allocations: 0 / 1.403 GB, free: 15.73 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.007004/1.08, allocations: 2.77 MB / 1.405 GB, free: 12.92 MB / 1.139 GB Notification: Performance of SimCode: time 0.01125/1.091, allocations: 6.118 MB / 1.411 GB, free: 6.738 MB / 1.139 GB Notification: Performance of Templates: time 0.09414/1.185, allocations: 61.39 MB / 1.471 GB, free: 9.859 MB / 1.201 GB make -j1 -f Buildings_10_Buildings.Fluid.Geothermal.BuriedPipes.Examples.SingleBuriedPipe.makefile (rm -f Buildings_10_Buildings.Fluid.Geothermal.BuriedPipes.Examples.SingleBuriedPipe.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.BuriedPipes.Examples.SingleBuriedPipe.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.BuriedPipes.Examples.SingleBuriedPipe.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.BuriedPipes.Examples.SingleBuriedPipe.sim & ./Buildings_10_Buildings.Fluid.Geothermal.BuriedPipes.Examples.SingleBuriedPipe -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Geothermal.BuriedPipes.Examples.SingleBuriedPipe.pipe 2>&1)