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.007415/0.007415, allocations: 100.5 kB / 15.73 MB, free: 6.008 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.001443/0.001444, allocations: 190.4 kB / 16.67 MB, free: 5.949 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.533/1.533, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.818/2.818, allocations: 461.9 MB / 0.7348 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 67.84 kB / 1.054 GB, free: 7.121 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3801/0.3814, allocations: 157.4 MB / 1.208 GB, free: 9.613 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoBuriedPipes): time 0.9284/1.31, allocations: 118.1 MB / 1.323 GB, free: 6.98 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.04783/1.358, allocations: 27.79 MB / 1.35 GB, free: 3.02 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0103/1.368, allocations: 123.3 kB / 1.35 GB, free: 2.977 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.006627/1.375, allocations: 1.55 MB / 1.352 GB, free: 2.008 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.02005/1.395, allocations: 4.748 MB / 1.357 GB, free: 15.21 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.01278/1.408, allocations: 3.156 MB / 1.36 GB, free: 13.45 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.01713/1.425, allocations: 8.365 MB / 1.368 GB, free: 8.668 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006107/1.431, allocations: 2.641 MB / 1.37 GB, free: 6.949 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01189/1.443, allocations: 3.385 MB / 1.374 GB, free: 4.91 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006758/1.45, allocations: 2.289 MB / 1.376 GB, free: 3.508 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.001307/1.451, allocations: 287.2 kB / 1.376 GB, free: 3.504 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01075/1.462, allocations: 2.826 MB / 1.379 GB, free: 1.961 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.00153/1.463, allocations: 0.7221 MB / 1.38 GB, free: 1.375 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.004538/1.468, allocations: 1.657 MB / 1.381 GB, free: 284 kB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.01454/1.483, allocations: 5.326 MB / 1.386 GB, free: 12.76 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 7.965e-06/1.483, allocations: 0 / 1.386 GB, free: 12.76 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.094e-06/1.483, allocations: 0 / 1.386 GB, free: 12.76 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0001492/1.483, allocations: 0 / 1.386 GB, free: 12.76 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.01008/1.493, allocations: 3.538 MB / 1.39 GB, free: 10.19 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 6.245e-05/1.493, allocations: 12.31 kB / 1.39 GB, free: 10.19 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001923/1.495, allocations: 339.3 kB / 1.39 GB, free: 10.02 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006874/1.502, allocations: 2.591 MB / 1.393 GB, free: 8.082 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001335/1.502, allocations: 133.1 kB / 1.393 GB, free: 8.023 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003474/1.502, allocations: 177.5 kB / 1.393 GB, free: 7.961 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004456/1.507, allocations: 1.9 MB / 1.395 GB, free: 6.777 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.276e-05/1.507, allocations: 6.438 kB / 1.395 GB, free: 6.773 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001906/1.507, allocations: 72.12 kB / 1.395 GB, free: 6.719 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.327e-05/1.507, allocations: 46.19 kB / 1.395 GB, free: 6.719 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003208/1.51, allocations: 1.4 MB / 1.396 GB, free: 6.02 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.01641/1.527, allocations: 9.978 MB / 1.406 GB, free: 12.07 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001642/1.528, allocations: 0.9031 MB / 1.407 GB, free: 11.16 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008568/1.529, allocations: 0.5504 MB / 1.408 GB, free: 10.61 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002461/1.532, allocations: 3.072 MB / 1.411 GB, free: 6.855 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.45e-05/1.532, allocations: 47.56 kB / 1.411 GB, free: 6.801 MB / 1.092 GB Notification: Performance of pre-optimization done (n=121): time 3.036e-06/1.532, allocations: 4 kB / 1.411 GB, free: 6.797 MB / 1.092 GB Notification: Performance of matching and sorting (n=121): time 0.006911/1.539, allocations: 2.237 MB / 1.413 GB, free: 4.527 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.525e-05/1.539, allocations: 64.41 kB / 1.413 GB, free: 4.453 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004039/1.543, allocations: 2.153 MB / 1.415 GB, free: 2.285 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0003638/1.543, allocations: 45.7 kB / 1.415 GB, free: 2.234 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009576/1.544, allocations: 1.165 MB / 1.416 GB, free: 1.055 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006705/1.545, allocations: 433.7 kB / 1.417 GB, free: 0.625 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004504/1.545, allocations: 291.3 kB / 1.417 GB, free: 344 kB / 1.092 GB Notification: Performance of setup shared object (initialization): time 9.242e-05/1.546, allocations: 301.1 kB / 1.417 GB, free: 40 kB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008883/1.546, allocations: 468.7 kB / 1.418 GB, free: 15.57 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001212/1.548, allocations: 0.7909 MB / 1.418 GB, free: 14.65 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00209/1.55, allocations: 1.32 MB / 1.42 GB, free: 13.21 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.035e-05/1.55, allocations: 4 kB / 1.42 GB, free: 13.2 MB / 1.107 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.004895/1.555, allocations: 1.869 MB / 1.421 GB, free: 11.32 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.91e-05/1.555, allocations: 8 kB / 1.421 GB, free: 11.32 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.669e-05/1.555, allocations: 15.94 kB / 1.421 GB, free: 11.3 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001903/1.557, allocations: 376.9 kB / 1.422 GB, free: 10.93 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001001/1.558, allocations: 307.4 kB / 1.422 GB, free: 10.63 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001152/1.559, allocations: 0.8568 MB / 1.423 GB, free: 9.746 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002449/1.561, allocations: 166.4 kB / 1.423 GB, free: 9.582 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002467/1.562, allocations: 79.91 kB / 1.423 GB, free: 9.504 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001844/1.563, allocations: 0.8553 MB / 1.424 GB, free: 8.645 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001179/1.565, allocations: 0.7948 MB / 1.425 GB, free: 7.719 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001991/1.567, allocations: 1.312 MB / 1.426 GB, free: 6.281 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.889e-06/1.567, allocations: 0 / 1.426 GB, free: 6.281 MB / 1.107 GB Notification: Performance of matching and sorting (n=181) (initialization_lambda0): time 0.004824/1.571, allocations: 1.862 MB / 1.428 GB, free: 4.406 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.558e-05/1.572, allocations: 12 kB / 1.428 GB, free: 4.395 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.161e-05/1.572, allocations: 12 kB / 1.428 GB, free: 4.383 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001802/1.573, allocations: 380.5 kB / 1.428 GB, free: 4.008 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009563/1.574, allocations: 287.5 kB / 1.429 GB, free: 3.727 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001131/1.575, allocations: 0.8694 MB / 1.429 GB, free: 2.832 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00244/1.578, allocations: 126.9 kB / 1.43 GB, free: 2.707 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002015/1.578, allocations: 75.97 kB / 1.43 GB, free: 2.633 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.0004963/1.579, allocations: 267.9 kB / 1.43 GB, free: 2.363 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007791/1.579, allocations: 248.9 kB / 1.43 GB, free: 2.117 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005119/1.585, allocations: 2.39 MB / 1.432 GB, free: 15.76 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.287e-05/1.585, allocations: 19.98 kB / 1.432 GB, free: 15.74 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.746e-06/1.585, allocations: 0 / 1.432 GB, free: 15.74 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003338/1.588, allocations: 1.798 MB / 1.434 GB, free: 13.89 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01073/1.599, allocations: 5.152 MB / 1.439 GB, free: 8.52 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.832e-05/1.599, allocations: 8 kB / 1.439 GB, free: 8.512 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008406/1.6, allocations: 227.7 kB / 1.439 GB, free: 8.289 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001422/1.601, allocations: 312.6 kB / 1.44 GB, free: 7.98 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001349/1.601, allocations: 55.91 kB / 1.44 GB, free: 7.926 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001179/1.602, allocations: 0.8592 MB / 1.441 GB, free: 7.043 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.243e-06/1.602, allocations: 8 kB / 1.441 GB, free: 7.035 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006812/1.609, allocations: 3.007 MB / 1.444 GB, free: 3.93 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002342/1.612, allocations: 0.5751 MB / 1.444 GB, free: 3.332 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005403/1.612, allocations: 43.92 kB / 1.444 GB, free: 3.289 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001477/1.614, allocations: 63.95 kB / 1.444 GB, free: 3.227 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000281/1.614, allocations: 133 kB / 1.444 GB, free: 3.098 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001647/1.614, allocations: 75.94 kB / 1.444 GB, free: 3.023 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.002974/1.617, allocations: 1.578 MB / 1.446 GB, free: 1.441 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.9e-07/1.617, allocations: 3.938 kB / 1.446 GB, free: 1.438 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.006328/1.623, allocations: 1.459 MB / 1.447 GB, free: 15.97 MB / 1.139 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.003209/1.627, allocations: 0.981 MB / 1.448 GB, free: 15.01 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.00556/1.632, allocations: 2.422 MB / 1.451 GB, free: 12.54 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 1.11e-05/1.632, allocations: 4 kB / 1.451 GB, free: 12.54 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.001912/1.634, allocations: 1.032 MB / 1.452 GB, free: 11.48 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007699/1.642, allocations: 1.474 MB / 1.453 GB, free: 10.04 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008128/1.65, allocations: 4.861 MB / 1.458 GB, free: 5.059 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001276/1.651, allocations: 1.681 MB / 1.46 GB, free: 3.344 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.002932/1.654, allocations: 0.681 MB / 1.46 GB, free: 2.703 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005716/1.655, allocations: 235.3 kB / 1.461 GB, free: 2.473 MB / 1.139 GB Notification: Performance of SimCode: time 7.82e-07/1.655, allocations: 0 / 1.461 GB, free: 2.473 MB / 1.139 GB Notification: Performance of Templates: time 0.1022/1.757, allocations: 61.04 MB / 1.52 GB, free: 6.133 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)