Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Geothermal.BuriedPipes.Examples.DiscretizedBuriedPipe.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.DiscretizedBuriedPipe,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.DiscretizedBuriedPipe") translateModel(Buildings.Fluid.Geothermal.BuriedPipes.Examples.DiscretizedBuriedPipe,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.DiscretizedBuriedPipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001379/0.001379, allocations: 110.7 kB / 16.42 MB, free: 6.504 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.001417/0.001417, allocations: 185.7 kB / 17.34 MB, free: 5.758 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.348/1.348, allocations: 222.9 MB / 241.1 MB, free: 15.18 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.477/2.477, allocations: 437 MB / 0.7112 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001438/0.001438, allocations: 67.89 kB / 1.019 GB, free: 9.395 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7129/0.7143, allocations: 151.6 MB / 1.167 GB, free: 3.863 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.BuriedPipes.Examples.DiscretizedBuriedPipe): time 0.1342/0.8485, allocations: 130.1 MB / 1.294 GB, free: 1.336 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.04344/0.892, allocations: 32.05 MB / 1.326 GB, free: 1.211 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004658/0.8967, allocations: 135.2 kB / 1.326 GB, free: 1.078 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.004988/0.9018, allocations: 1.759 MB / 1.327 GB, free: 15.31 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.01536/0.9171, allocations: 5.45 MB / 1.333 GB, free: 9.836 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.008687/0.9259, allocations: 3.414 MB / 1.336 GB, free: 6.438 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.05306/0.9789, allocations: 44.53 MB / 1.38 GB, free: 9.789 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0262/1.005, allocations: 19 MB / 1.398 GB, free: 6.652 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03014/1.035, allocations: 15.19 MB / 1.413 GB, free: 7.488 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02219/1.058, allocations: 12.14 MB / 1.425 GB, free: 11.3 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.00531/1.063, allocations: 1.785 MB / 1.427 GB, free: 9.516 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01416/1.077, allocations: 4.514 MB / 1.431 GB, free: 4.996 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.007062/1.084, allocations: 4.112 MB / 1.435 GB, free: 0.8711 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.01831/1.103, allocations: 9.084 MB / 1.444 GB, free: 7.75 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.03821/1.141, allocations: 27.55 MB / 1.471 GB, free: 12.11 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 7.874e-06/1.141, allocations: 0 / 1.471 GB, free: 12.11 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.573e-06/1.141, allocations: 8 kB / 1.471 GB, free: 12.1 MB / 1.201 GB Notification: Performance of Transformations before backend: time 0.0007047/1.142, allocations: 0 / 1.471 GB, free: 12.1 MB / 1.201 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2245 * Number of variables: 2245 Notification: Performance of Generate backend data structure: time 0.04333/1.185, allocations: 16.89 MB / 1.487 GB, free: 11.06 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.971e-05/1.185, allocations: 12.88 kB / 1.487 GB, free: 11.05 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008495/1.193, allocations: 1.682 MB / 1.489 GB, free: 9.359 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0331/1.227, allocations: 16.19 MB / 1.505 GB, free: 9.07 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005937/1.227, allocations: 0.6459 MB / 1.505 GB, free: 8.422 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003413/1.231, allocations: 0.8787 MB / 1.506 GB, free: 7.543 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03228/1.263, allocations: 13.7 MB / 1.52 GB, free: 9.484 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002907/1.263, allocations: 39.77 kB / 1.52 GB, free: 9.445 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001621/1.265, allocations: 376 kB / 1.52 GB, free: 9.078 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002571/1.265, allocations: 267.8 kB / 1.52 GB, free: 8.816 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02426/1.289, allocations: 11.29 MB / 1.531 GB, free: 13.51 MB / 1.264 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 1.171/2.461, allocations: 65.37 MB / 1.595 GB, free: 322.7 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008138/2.469, allocations: 5.252 MB / 1.6 GB, free: 320 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004655/2.474, allocations: 3.357 MB / 1.604 GB, free: 318.3 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001995/2.476, allocations: 3.202 MB / 1.607 GB, free: 314.6 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.689e-05/2.476, allocations: 109.2 kB / 1.607 GB, free: 314.6 MB / 1.279 GB Notification: Performance of pre-optimization done (n=512): time 7.585e-06/2.476, allocations: 0 / 1.607 GB, free: 314.6 MB / 1.279 GB Notification: Performance of matching and sorting (n=512): time 0.03186/2.508, allocations: 13.44 MB / 1.62 GB, free: 307.7 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.385e-05/2.508, allocations: 108.4 kB / 1.62 GB, free: 307.6 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02257/2.53, allocations: 14.02 MB / 1.634 GB, free: 294.4 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.001352/2.532, allocations: 125.7 kB / 1.634 GB, free: 294.2 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.005077/2.537, allocations: 6.101 MB / 1.64 GB, free: 288.6 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.002493/2.539, allocations: 1.907 MB / 1.642 GB, free: 287 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001934/2.541, allocations: 1.392 MB / 1.643 GB, free: 285.6 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 3.399e-05/2.541, allocations: 305.1 kB / 1.643 GB, free: 285.3 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004151/2.545, allocations: 3.219 MB / 1.646 GB, free: 282 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005138/2.55, allocations: 5.187 MB / 1.652 GB, free: 276 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01041/2.561, allocations: 9.044 MB / 1.66 GB, free: 266.2 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.145e-05/2.561, allocations: 20 kB / 1.66 GB, free: 266.2 MB / 1.279 GB Notification: Performance of matching and sorting (n=865) (initialization): time 0.02334/2.584, allocations: 11.69 MB / 1.672 GB, free: 254.4 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 4.946e-05/2.584, allocations: 34.66 kB / 1.672 GB, free: 254.4 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002011/2.585, allocations: 91.97 kB / 1.672 GB, free: 254.3 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008412/2.593, allocations: 2.418 MB / 1.674 GB, free: 251.8 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004846/2.598, allocations: 1.334 MB / 1.676 GB, free: 250.5 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005214/2.603, allocations: 9.045 MB / 1.684 GB, free: 241.2 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009819/2.613, allocations: 0.9442 MB / 1.685 GB, free: 240.4 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001439/2.614, allocations: 355.9 kB / 1.686 GB, free: 240 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01128/2.626, allocations: 7.781 MB / 1.693 GB, free: 232.3 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005431/2.631, allocations: 5.18 MB / 1.698 GB, free: 226.2 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01077/2.642, allocations: 9.041 MB / 1.707 GB, free: 216.3 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.156e-05/2.642, allocations: 23.94 kB / 1.707 GB, free: 216.2 MB / 1.279 GB Notification: Performance of matching and sorting (n=865) (initialization_lambda0): time 0.02317/2.665, allocations: 11.7 MB / 1.719 GB, free: 204.4 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 3.934e-05/2.665, allocations: 28 kB / 1.719 GB, free: 204.4 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002129/2.666, allocations: 91.97 kB / 1.719 GB, free: 204.3 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008316/2.674, allocations: 2.422 MB / 1.721 GB, free: 201.8 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004515/2.678, allocations: 1.326 MB / 1.722 GB, free: 200.5 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004981/2.683, allocations: 9.049 MB / 1.731 GB, free: 191.2 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009555/2.693, allocations: 0.7261 MB / 1.732 GB, free: 190.5 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001326/2.694, allocations: 355.9 kB / 1.732 GB, free: 190.2 MB / 1.279 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 274 * 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 (781): * Single equations (assignments): 745 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 24 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * 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): 12 systems {(1,5), (1,5), (1,5), (1,5), (1,5), (1,5), (1,5), (1,5), (1,5), (1,5), (1,5), (1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.001767/2.696, allocations: 0.595 MB / 1.733 GB, free: 189.6 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003927/2.7, allocations: 1.192 MB / 1.734 GB, free: 188.4 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02341/2.723, allocations: 12.71 MB / 1.746 GB, free: 175.8 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01545/2.739, allocations: 9.046 MB / 1.755 GB, free: 166.6 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001676/2.739, allocations: 31.97 kB / 1.755 GB, free: 166.6 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007639/2.747, allocations: 2.869 MB / 1.758 GB, free: 163.8 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004025/2.751, allocations: 148 kB / 1.758 GB, free: 163.7 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008838/2.76, allocations: 389.3 kB / 1.759 GB, free: 163.3 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001964/2.762, allocations: 0.7616 MB / 1.759 GB, free: 162.5 MB / 1.279 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01871/2.78, allocations: 10.35 MB / 1.769 GB, free: 152.2 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0194/2.8, allocations: 14.51 MB / 1.784 GB, free: 137.6 MB / 1.279 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004913/2.805, allocations: 4.19 MB / 1.788 GB, free: 133.4 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.018/2.823, allocations: 9.964 MB / 1.797 GB, free: 123.5 MB / 1.279 GB Notification: Performance of Backend: time 8.42e-07/2.823, allocations: 0 / 1.797 GB, free: 123.5 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.02813/2.851, allocations: 12.17 MB / 1.809 GB, free: 111.3 MB / 1.279 GB Notification: Performance of SimCode: time 0.06171/2.913, allocations: 34.28 MB / 1.843 GB, free: 76.97 MB / 1.279 GB Notification: Performance of Templates: time 1.034/3.947, allocations: 296.4 MB / 2.132 GB, free: 0.5015 GB / 1.467 GB make -j1 -f Buildings_10_Buildings.Fluid.Geothermal.BuriedPipes.Examples.DiscretizedBuriedPipe.makefile (rm -f Buildings_10_Buildings.Fluid.Geothermal.BuriedPipes.Examples.DiscretizedBuriedPipe.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.BuriedPipes.Examples.DiscretizedBuriedPipe.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.BuriedPipes.Examples.DiscretizedBuriedPipe.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.BuriedPipes.Examples.DiscretizedBuriedPipe.sim & ./Buildings_10_Buildings.Fluid.Geothermal.BuriedPipes.Examples.DiscretizedBuriedPipe -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Geothermal.BuriedPipes.Examples.DiscretizedBuriedPipe.pipe 2>&1)