Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoBuriedPipes.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.TwoBuriedPipes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTemChWIn.T|senTemChWOut.T|senTemHotWIn.T|senTemHotWOut.T|gro.soi.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoBuriedPipes") translateModel(Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoBuriedPipes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTemChWIn.T|senTemChWOut.T|senTemHotWIn.T|senTemHotWOut.T|gro.soi.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoBuriedPipes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006035/0.006035, allocations: 107.2 kB / 15.74 MB, free: 6.449 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.001296/0.001296, allocations: 197 kB / 16.67 MB, free: 6.355 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.394/1.394, allocations: 222.9 MB / 240.4 MB, free: 4.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.905/2.905, allocations: 461.9 MB / 0.7347 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001337/0.001337, allocations: 64.12 kB / 1.054 GB, free: 7.145 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4023/0.4036, allocations: 157.4 MB / 1.208 GB, free: 9.648 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoBuriedPipes): time 0.9995/1.403, allocations: 118.1 MB / 1.323 GB, free: 7.055 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.04548/1.449, allocations: 27.79 MB / 1.35 GB, free: 3.09 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01052/1.459, allocations: 127.8 kB / 1.35 GB, free: 3.043 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.006308/1.466, allocations: 1.512 MB / 1.352 GB, free: 2.094 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.01682/1.482, allocations: 4.541 MB / 1.356 GB, free: 15.41 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.01055/1.493, allocations: 3.121 MB / 1.359 GB, free: 13.67 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.01639/1.509, allocations: 8.344 MB / 1.367 GB, free: 8.906 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005481/1.515, allocations: 2.645 MB / 1.37 GB, free: 7.184 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01049/1.525, allocations: 3.381 MB / 1.373 GB, free: 5.145 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006726/1.532, allocations: 2.282 MB / 1.376 GB, free: 3.75 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.001156/1.533, allocations: 287.5 kB / 1.376 GB, free: 3.746 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009309/1.543, allocations: 2.826 MB / 1.379 GB, free: 2.203 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.001259/1.544, allocations: 0.7152 MB / 1.379 GB, free: 1.625 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.004738/1.549, allocations: 1.663 MB / 1.381 GB, free: 0.5195 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.01645/1.565, allocations: 5.318 MB / 1.386 GB, free: 13.01 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 9.859e-06/1.565, allocations: 1.844 kB / 1.386 GB, free: 13.01 MB / 1.076 GB Notification: Performance of FrontEnd: time 7.284e-06/1.565, allocations: 0 / 1.386 GB, free: 13.01 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0002047/1.566, allocations: 11.88 kB / 1.386 GB, free: 13 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.01249/1.578, allocations: 3.525 MB / 1.39 GB, free: 10.44 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.021e-05/1.578, allocations: 15.08 kB / 1.39 GB, free: 10.44 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002123/1.58, allocations: 332.9 kB / 1.39 GB, free: 10.28 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006404/1.587, allocations: 2.601 MB / 1.392 GB, free: 8.328 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001276/1.587, allocations: 130.4 kB / 1.393 GB, free: 8.27 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003555/1.587, allocations: 174.4 kB / 1.393 GB, free: 8.211 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003685/1.591, allocations: 1.91 MB / 1.395 GB, free: 7.02 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.475e-05/1.591, allocations: 3.938 kB / 1.395 GB, free: 7.016 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001555/1.591, allocations: 69.38 kB / 1.395 GB, free: 6.965 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.633e-05/1.591, allocations: 49.25 kB / 1.395 GB, free: 6.961 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002591/1.594, allocations: 1.4 MB / 1.396 GB, free: 6.262 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.01507/1.609, allocations: 9.976 MB / 1.406 GB, free: 12.45 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001622/1.611, allocations: 0.907 MB / 1.407 GB, free: 11.54 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008124/1.611, allocations: 0.5503 MB / 1.407 GB, free: 10.98 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002631/1.614, allocations: 3.076 MB / 1.41 GB, free: 7.227 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.285e-05/1.614, allocations: 51.56 kB / 1.41 GB, free: 7.168 MB / 1.092 GB Notification: Performance of pre-optimization done (n=121): time 3.717e-06/1.614, allocations: 0 / 1.41 GB, free: 7.168 MB / 1.092 GB Notification: Performance of matching and sorting (n=121): time 0.006967/1.621, allocations: 2.244 MB / 1.413 GB, free: 4.891 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.533e-05/1.621, allocations: 64.41 kB / 1.413 GB, free: 4.816 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003684/1.625, allocations: 2.149 MB / 1.415 GB, free: 2.652 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0002529/1.625, allocations: 53.7 kB / 1.415 GB, free: 2.594 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009416/1.626, allocations: 1.169 MB / 1.416 GB, free: 1.41 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005181/1.627, allocations: 429.7 kB / 1.416 GB, free: 0.9844 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004107/1.627, allocations: 287.3 kB / 1.417 GB, free: 0.6992 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001014/1.627, allocations: 301.1 kB / 1.417 GB, free: 412 kB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008469/1.628, allocations: 464.7 kB / 1.417 GB, free: 15.94 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00125/1.629, allocations: 0.7948 MB / 1.418 GB, free: 15.02 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002036/1.631, allocations: 1.32 MB / 1.419 GB, free: 13.57 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.205e-06/1.631, allocations: 4 kB / 1.419 GB, free: 13.57 MB / 1.107 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.005604/1.637, allocations: 1.857 MB / 1.421 GB, free: 11.7 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 4.266e-05/1.637, allocations: 11.98 kB / 1.421 GB, free: 11.69 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-05/1.637, allocations: 16 kB / 1.421 GB, free: 11.67 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001878/1.639, allocations: 380.9 kB / 1.422 GB, free: 11.3 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009605/1.64, allocations: 291.6 kB / 1.422 GB, free: 11.01 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001193/1.641, allocations: 0.8605 MB / 1.423 GB, free: 10.12 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002816/1.644, allocations: 170.4 kB / 1.423 GB, free: 9.957 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003335/1.644, allocations: 79.91 kB / 1.423 GB, free: 9.879 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001977/1.646, allocations: 0.8514 MB / 1.424 GB, free: 9.023 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001213/1.647, allocations: 0.7987 MB / 1.425 GB, free: 8.094 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002038/1.65, allocations: 1.312 MB / 1.426 GB, free: 6.656 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.282e-06/1.65, allocations: 4 kB / 1.426 GB, free: 6.652 MB / 1.107 GB Notification: Performance of matching and sorting (n=181) (initialization_lambda0): time 0.004855/1.654, allocations: 1.858 MB / 1.428 GB, free: 4.781 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/1.654, allocations: 8 kB / 1.428 GB, free: 4.773 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.97e-05/1.654, allocations: 12 kB / 1.428 GB, free: 4.762 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001733/1.656, allocations: 376.7 kB / 1.428 GB, free: 4.391 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009023/1.657, allocations: 299.5 kB / 1.428 GB, free: 4.098 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001049/1.658, allocations: 0.8645 MB / 1.429 GB, free: 3.207 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002114/1.66, allocations: 130.9 kB / 1.429 GB, free: 3.078 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000175/1.66, allocations: 76.03 kB / 1.429 GB, free: 3.004 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 (166): * Single equations (assignments): 161 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0004878/1.661, allocations: 266.1 kB / 1.43 GB, free: 2.738 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006577/1.662, allocations: 252.9 kB / 1.43 GB, free: 2.488 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005161/1.667, allocations: 2.375 MB / 1.432 GB, free: 148 kB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.553e-05/1.667, allocations: 23.98 kB / 1.432 GB, free: 124 kB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.939e-06/1.667, allocations: 4 kB / 1.432 GB, free: 120 kB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003287/1.67, allocations: 1.798 MB / 1.434 GB, free: 14.27 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01156/1.682, allocations: 5.156 MB / 1.439 GB, free: 8.895 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.96e-05/1.682, allocations: 8 kB / 1.439 GB, free: 8.887 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008389/1.683, allocations: 227.7 kB / 1.439 GB, free: 8.664 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001367/1.684, allocations: 304.8 kB / 1.439 GB, free: 8.363 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001136/1.684, allocations: 59.91 kB / 1.44 GB, free: 8.305 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001038/1.685, allocations: 0.8567 MB / 1.44 GB, free: 7.422 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.746e-06/1.685, allocations: 12.06 kB / 1.44 GB, free: 7.41 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00577/1.691, allocations: 3.007 MB / 1.443 GB, free: 4.305 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001927/1.693, allocations: 0.5712 MB / 1.444 GB, free: 3.711 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005441/1.694, allocations: 43.92 kB / 1.444 GB, free: 3.668 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001329/1.695, allocations: 63.94 kB / 1.444 GB, free: 3.605 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002284/1.695, allocations: 129 kB / 1.444 GB, free: 3.48 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001473/1.695, allocations: 75.95 kB / 1.444 GB, free: 3.406 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.002601/1.698, allocations: 1.582 MB / 1.446 GB, free: 1.82 MB / 1.123 GB Notification: Performance of sort global known variables: time 3.31e-07/1.698, allocations: 0 / 1.446 GB, free: 1.82 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.005262/1.703, allocations: 1.462 MB / 1.447 GB, free: 364 kB / 1.123 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 12 (pipChW.del.x,pipChW.timDel.x,pipChW.vol_b.dynBal.U,pipChW.vol_a.dynBal.U,senTemChWIn.T,senTemChWOut.T,pipHotW.del.x,pipHotW.timDel.x,pipHotW.vol_b.dynBal.U,pipHotW.vol_a.dynBal.U,senTemHotWIn.T,senTemHotWOut.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 (141): * 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: 1 * 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): 1 system {(2,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002468/1.706, allocations: 0.9747 MB / 1.448 GB, free: 15.39 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.00494/1.711, allocations: 2.43 MB / 1.45 GB, free: 12.91 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 1.235e-05/1.711, allocations: 0 / 1.45 GB, free: 12.91 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.002419/1.713, allocations: 1.036 MB / 1.451 GB, free: 11.86 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008797/1.722, allocations: 1.468 MB / 1.453 GB, free: 10.42 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009648/1.732, allocations: 4.88 MB / 1.458 GB, free: 5.43 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001387/1.733, allocations: 1.677 MB / 1.459 GB, free: 3.719 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.003056/1.736, allocations: 0.6727 MB / 1.46 GB, free: 3.086 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005705/1.737, allocations: 239.3 kB / 1.46 GB, free: 2.852 MB / 1.139 GB Notification: Performance of SimCode: time 7.82e-07/1.737, allocations: 0 / 1.46 GB, free: 2.852 MB / 1.139 GB Notification: Performance of Templates: time 0.1119/1.849, allocations: 62.1 MB / 1.521 GB, free: 5.441 MB / 1.201 GB make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoBuriedPipes.makefile (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoBuriedPipes.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoBuriedPipes.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoBuriedPipes.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoBuriedPipes.sim & ./Buildings_latest_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoBuriedPipes -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoBuriedPipes.pipe 2>&1)