Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.FixedResistances.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_latest_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.SingleBuriedPipe") translateModel(Buildings.Fluid.FixedResistances.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_latest_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.SingleBuriedPipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009447/0.009448, allocations: 98.62 kB / 15.73 MB, free: 6.035 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.002319/0.002319, allocations: 200.5 kB / 16.67 MB, free: 5.973 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.461/1.461, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.97/2.97, allocations: 461.9 MB / 0.7348 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00166/0.001661, allocations: 67.89 kB / 1.054 GB, free: 7.145 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3974/0.3991, allocations: 157.4 MB / 1.208 GB, free: 9.648 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.BuriedPipes.Examples.SingleBuriedPipe): time 1.01/1.409, allocations: 118.5 MB / 1.323 GB, free: 6.797 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.05444/1.463, allocations: 27.87 MB / 1.351 GB, free: 2.777 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009024/1.472, allocations: 127.3 kB / 1.351 GB, free: 2.73 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.007051/1.48, allocations: 1.531 MB / 1.352 GB, free: 1.773 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.01983/1.499, allocations: 4.596 MB / 1.357 GB, free: 15.06 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.01245/1.512, allocations: 3.128 MB / 1.36 GB, free: 13.31 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0179/1.53, allocations: 8.491 MB / 1.368 GB, free: 8.441 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007522/1.537, allocations: 2.671 MB / 1.371 GB, free: 6.703 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0125/1.55, allocations: 3.423 MB / 1.374 GB, free: 4.637 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007081/1.557, allocations: 2.332 MB / 1.376 GB, free: 3.207 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.002023/1.559, allocations: 289.9 kB / 1.377 GB, free: 3.207 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01258/1.572, allocations: 2.843 MB / 1.379 GB, free: 1.652 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.002243/1.574, allocations: 0.7204 MB / 1.38 GB, free: 1.07 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.006805/1.581, allocations: 1.702 MB / 1.382 GB, free: 15.93 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.01746/1.598, allocations: 5.406 MB / 1.387 GB, free: 12.36 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 7.685e-06/1.598, allocations: 0 / 1.387 GB, free: 12.36 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.535e-06/1.598, allocations: 1.656 kB / 1.387 GB, free: 12.36 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0002425/1.599, allocations: 0 / 1.387 GB, free: 12.36 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.01387/1.612, allocations: 3.578 MB / 1.391 GB, free: 9.754 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 6.346e-05/1.613, allocations: 19.59 kB / 1.391 GB, free: 9.746 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002616/1.615, allocations: 349.5 kB / 1.391 GB, free: 9.574 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009185/1.624, allocations: 2.655 MB / 1.393 GB, free: 7.59 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002224/1.625, allocations: 129.5 kB / 1.394 GB, free: 7.531 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000932/1.626, allocations: 181.2 kB / 1.394 GB, free: 7.469 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006958/1.633, allocations: 1.881 MB / 1.396 GB, free: 6.297 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001034/1.633, allocations: 7 kB / 1.396 GB, free: 6.293 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004831/1.633, allocations: 68.59 kB / 1.396 GB, free: 6.242 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001026/1.633, allocations: 61.5 kB / 1.396 GB, free: 6.227 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003949/1.637, allocations: 1.376 MB / 1.397 GB, free: 5.539 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.0203/1.658, allocations: 9.971 MB / 1.407 GB, free: 11.45 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002093/1.66, allocations: 0.9178 MB / 1.408 GB, free: 10.53 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009538/1.661, allocations: 0.5307 MB / 1.408 GB, free: 10 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002738/1.664, allocations: 3.08 MB / 1.411 GB, free: 6.238 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.499e-05/1.664, allocations: 47.56 kB / 1.411 GB, free: 6.18 MB / 1.092 GB Notification: Performance of pre-optimization done (n=120): time 3.617e-06/1.664, allocations: 0 / 1.411 GB, free: 6.18 MB / 1.092 GB Notification: Performance of matching and sorting (n=120): time 0.006629/1.67, allocations: 2.133 MB / 1.413 GB, free: 3.996 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.101e-05/1.67, allocations: 64.41 kB / 1.413 GB, free: 3.922 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005329/1.676, allocations: 2.248 MB / 1.416 GB, free: 1.664 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0002823/1.676, allocations: 49.7 kB / 1.416 GB, free: 1.609 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.001263/1.677, allocations: 1.181 MB / 1.417 GB, free: 424 kB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006767/1.678, allocations: 425.8 kB / 1.417 GB, free: 15.99 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006364/1.679, allocations: 291.3 kB / 1.417 GB, free: 15.7 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001597/1.679, allocations: 361.9 kB / 1.418 GB, free: 15.34 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009302/1.68, allocations: 456.6 kB / 1.418 GB, free: 14.89 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001315/1.681, allocations: 0.7753 MB / 1.419 GB, free: 13.98 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002285/1.683, allocations: 1.285 MB / 1.42 GB, free: 12.57 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.115e-05/1.683, allocations: 0 / 1.42 GB, free: 12.57 MB / 1.107 GB Notification: Performance of matching and sorting (n=179) (initialization): time 0.005022/1.688, allocations: 1.807 MB / 1.422 GB, free: 10.75 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 3.607e-05/1.688, allocations: 8 kB / 1.422 GB, free: 10.75 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.642e-05/1.688, allocations: 15.98 kB / 1.422 GB, free: 10.73 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001569/1.69, allocations: 321.8 kB / 1.422 GB, free: 10.41 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009781/1.691, allocations: 287.5 kB / 1.423 GB, free: 10.13 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001214/1.692, allocations: 1.3 MB / 1.424 GB, free: 8.777 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002441/1.695, allocations: 146.5 kB / 1.424 GB, free: 8.633 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000242/1.695, allocations: 71.97 kB / 1.424 GB, free: 8.562 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001973/1.697, allocations: 0.8514 MB / 1.425 GB, free: 7.707 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001272/1.698, allocations: 0.7831 MB / 1.426 GB, free: 6.793 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00226/1.701, allocations: 1.289 MB / 1.427 GB, free: 5.379 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.053e-05/1.701, allocations: 0 / 1.427 GB, free: 5.379 MB / 1.107 GB Notification: Performance of matching and sorting (n=179) (initialization_lambda0): time 0.004971/1.706, allocations: 1.792 MB / 1.429 GB, free: 3.57 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.753e-05/1.706, allocations: 15.94 kB / 1.429 GB, free: 3.555 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.61e-05/1.706, allocations: 12 kB / 1.429 GB, free: 3.543 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001488/1.707, allocations: 309.5 kB / 1.429 GB, free: 3.234 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009986/1.708, allocations: 283.5 kB / 1.429 GB, free: 2.957 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001179/1.709, allocations: 1.308 MB / 1.431 GB, free: 1.598 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002409/1.712, allocations: 127 kB / 1.431 GB, free: 1.473 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002437/1.712, allocations: 71.97 kB / 1.431 GB, free: 1.402 MB / 1.107 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.0005528/1.713, allocations: 262.5 kB / 1.431 GB, free: 1.141 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001351/1.714, allocations: 260.8 kB / 1.431 GB, free: 0.8828 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006098/1.72, allocations: 2.324 MB / 1.434 GB, free: 14.59 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.873e-05/1.72, allocations: 27.98 kB / 1.434 GB, free: 14.56 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.365e-05/1.72, allocations: 0 / 1.434 GB, free: 14.56 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00325/1.723, allocations: 1.736 MB / 1.435 GB, free: 12.77 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01227/1.736, allocations: 5.118 MB / 1.44 GB, free: 7.434 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.881e-05/1.736, allocations: 8 kB / 1.44 GB, free: 7.426 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008753/1.737, allocations: 227.7 kB / 1.441 GB, free: 7.203 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001036/1.738, allocations: 237.8 kB / 1.441 GB, free: 6.965 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001332/1.738, allocations: 47.97 kB / 1.441 GB, free: 6.918 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009955/1.739, allocations: 1.292 MB / 1.442 GB, free: 5.574 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.02e-05/1.739, allocations: 15.94 kB / 1.442 GB, free: 5.559 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005947/1.745, allocations: 2.928 MB / 1.445 GB, free: 2.535 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001956/1.747, allocations: 0.5906 MB / 1.445 GB, free: 1.922 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001016/1.748, allocations: 36 kB / 1.446 GB, free: 1.887 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00203/1.75, allocations: 67.8 kB / 1.446 GB, free: 1.82 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002581/1.75, allocations: 136.9 kB / 1.446 GB, free: 1.684 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002108/1.75, allocations: 75.95 kB / 1.446 GB, free: 1.609 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.003769/1.754, allocations: 1.651 MB / 1.447 GB, free: 15.96 MB / 1.139 GB Notification: Performance of sort global known variables: time 3.21e-07/1.754, allocations: 0 / 1.447 GB, free: 15.96 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.006585/1.761, allocations: 1.478 MB / 1.449 GB, free: 14.48 MB / 1.139 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.003152/1.764, allocations: 0.987 MB / 1.45 GB, free: 13.5 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.005196/1.769, allocations: 2.303 MB / 1.452 GB, free: 11.16 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 1.363e-05/1.769, allocations: 4 kB / 1.452 GB, free: 11.16 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.00186/1.771, allocations: 0.9792 MB / 1.453 GB, free: 10.16 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00904/1.78, allocations: 1.49 MB / 1.454 GB, free: 8.688 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01014/1.79, allocations: 4.957 MB / 1.459 GB, free: 3.617 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002046/1.792, allocations: 1.706 MB / 1.461 GB, free: 1.879 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.003259/1.796, allocations: 0.6763 MB / 1.462 GB, free: 1.25 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008293/1.796, allocations: 243.3 kB / 1.462 GB, free: 1.012 MB / 1.139 GB Notification: Performance of SimCode: time 2.634e-06/1.796, allocations: 0 / 1.462 GB, free: 1.012 MB / 1.139 GB Notification: Performance of Templates: time 0.1102/1.907, allocations: 63.22 MB / 1.524 GB, free: 2.52 MB / 1.201 GB make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.SingleBuriedPipe.makefile (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.SingleBuriedPipe.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.SingleBuriedPipe.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.SingleBuriedPipe.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.SingleBuriedPipe.sim & ./Buildings_latest_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.SingleBuriedPipe -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.SingleBuriedPipe.pipe 2>&1)