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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.008905/0.008905, allocations: 97.38 kB / 15.73 MB, free: 5.949 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.001808/0.001808, allocations: 194.7 kB / 16.67 MB, free: 5.871 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.411/1.411, allocations: 222.9 MB / 240.4 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.775/2.775, allocations: 472.6 MB / 0.7453 GB, free: 500 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001434/0.001434, allocations: 63.91 kB / 1.069 GB, free: 9.57 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.139/1.141, allocations: 159.9 MB / 1.226 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoBuriedPipes): time 0.1393/1.28, allocations: 118.2 MB / 1.341 GB, free: 6.945 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.04795/1.328, allocations: 27.8 MB / 1.368 GB, free: 11.07 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008957/1.337, allocations: 127.2 kB / 1.368 GB, free: 10.95 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.006738/1.344, allocations: 1.506 MB / 1.37 GB, free: 9.434 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.01728/1.361, allocations: 4.544 MB / 1.374 GB, free: 4.871 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.0113/1.373, allocations: 3.117 MB / 1.377 GB, free: 1.766 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.0158/1.388, allocations: 8.347 MB / 1.385 GB, free: 9.395 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006243/1.395, allocations: 2.656 MB / 1.388 GB, free: 6.676 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01104/1.406, allocations: 3.293 MB / 1.391 GB, free: 3.383 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006295/1.412, allocations: 2.291 MB / 1.393 GB, free: 1.082 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.001639/1.414, allocations: 284 kB / 1.394 GB, free: 0.8047 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009597/1.423, allocations: 2.819 MB / 1.396 GB, free: 13.98 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.001949/1.425, allocations: 0.72 MB / 1.397 GB, free: 13.26 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.004828/1.43, allocations: 1.664 MB / 1.399 GB, free: 11.59 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.01547/1.446, allocations: 5.345 MB / 1.404 GB, free: 6.223 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/1.446, allocations: 0 / 1.404 GB, free: 6.223 MB / 1.123 GB Notification: Performance of FrontEnd: time 3.056e-06/1.446, allocations: 0 / 1.404 GB, free: 6.223 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.0002058/1.446, allocations: 0 / 1.404 GB, free: 6.223 MB / 1.123 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.01121/1.457, allocations: 3.639 MB / 1.408 GB, free: 2.512 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 6.864e-05/1.457, allocations: 8.031 kB / 1.408 GB, free: 2.504 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002377/1.46, allocations: 361.9 kB / 1.408 GB, free: 2.148 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007138/1.467, allocations: 2.612 MB / 1.41 GB, free: 15.47 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001293/1.467, allocations: 135.4 kB / 1.411 GB, free: 15.34 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003876/1.467, allocations: 176 kB / 1.411 GB, free: 15.16 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003655/1.471, allocations: 1.903 MB / 1.413 GB, free: 13.19 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.821e-05/1.471, allocations: 3.953 kB / 1.413 GB, free: 13.19 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001609/1.471, allocations: 71.94 kB / 1.413 GB, free: 13.12 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.944e-05/1.471, allocations: 52 kB / 1.413 GB, free: 13.07 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002574/1.474, allocations: 1.399 MB / 1.414 GB, free: 11.66 MB / 1.139 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.01406/1.488, allocations: 9.994 MB / 1.424 GB, free: 0.9219 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001639/1.49, allocations: 0.9028 MB / 1.425 GB, free: 16 kB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008542/1.491, allocations: 0.5483 MB / 1.425 GB, free: 15.46 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00236/1.493, allocations: 3.08 MB / 1.428 GB, free: 11.71 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.039e-05/1.493, allocations: 51.5 kB / 1.428 GB, free: 11.64 MB / 1.154 GB Notification: Performance of pre-optimization done (n=121): time 3.106e-06/1.493, allocations: 0 / 1.428 GB, free: 11.64 MB / 1.154 GB Notification: Performance of matching and sorting (n=121): time 0.0067/1.5, allocations: 2.249 MB / 1.431 GB, free: 9.367 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.645e-05/1.5, allocations: 64.41 kB / 1.431 GB, free: 9.293 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004212/1.504, allocations: 2.157 MB / 1.433 GB, free: 7.121 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0003002/1.504, allocations: 49.7 kB / 1.433 GB, free: 7.066 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.001062/1.505, allocations: 1.179 MB / 1.434 GB, free: 5.875 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005595/1.506, allocations: 460.1 kB / 1.434 GB, free: 5.422 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004482/1.506, allocations: 287.4 kB / 1.435 GB, free: 5.133 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001085/1.507, allocations: 301.1 kB / 1.435 GB, free: 4.836 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008754/1.507, allocations: 472.6 kB / 1.435 GB, free: 4.371 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001185/1.509, allocations: 0.7948 MB / 1.436 GB, free: 3.445 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002015/1.511, allocations: 1.316 MB / 1.437 GB, free: 2.004 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.236e-06/1.511, allocations: 0 / 1.437 GB, free: 2.004 MB / 1.154 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.004938/1.516, allocations: 1.878 MB / 1.439 GB, free: 116 kB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.842e-05/1.516, allocations: 8.562 kB / 1.439 GB, free: 108 kB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.535e-05/1.516, allocations: 12 kB / 1.439 GB, free: 96 kB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001958/1.518, allocations: 384.4 kB / 1.44 GB, free: 15.71 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001011/1.519, allocations: 295.5 kB / 1.44 GB, free: 15.43 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001181/1.52, allocations: 0.8607 MB / 1.441 GB, free: 14.54 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002024/1.522, allocations: 174.7 kB / 1.441 GB, free: 14.37 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002642/1.522, allocations: 75.97 kB / 1.441 GB, free: 14.29 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002001/1.524, allocations: 0.8562 MB / 1.442 GB, free: 13.43 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001314/1.526, allocations: 0.7949 MB / 1.443 GB, free: 12.51 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002274/1.528, allocations: 1.312 MB / 1.444 GB, free: 11.07 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.839e-06/1.528, allocations: 0 / 1.444 GB, free: 11.07 MB / 1.17 GB Notification: Performance of matching and sorting (n=181) (initialization_lambda0): time 0.005356/1.533, allocations: 1.874 MB / 1.446 GB, free: 9.184 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/1.533, allocations: 12 kB / 1.446 GB, free: 9.172 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.661e-05/1.533, allocations: 12 kB / 1.446 GB, free: 9.16 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001928/1.535, allocations: 396.9 kB / 1.446 GB, free: 8.77 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009949/1.536, allocations: 287.5 kB / 1.446 GB, free: 8.488 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00115/1.537, allocations: 0.8646 MB / 1.447 GB, free: 7.598 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002248/1.54, allocations: 123.2 kB / 1.447 GB, free: 7.477 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002728/1.54, allocations: 75.97 kB / 1.447 GB, free: 7.402 MB / 1.17 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.0005385/1.541, allocations: 263.8 kB / 1.448 GB, free: 7.137 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001161/1.542, allocations: 262.3 kB / 1.448 GB, free: 6.879 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006093/1.548, allocations: 2.377 MB / 1.45 GB, free: 4.535 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.453e-05/1.548, allocations: 23.98 kB / 1.45 GB, free: 4.512 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-05/1.548, allocations: 4 kB / 1.45 GB, free: 4.508 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003608/1.552, allocations: 1.79 MB / 1.452 GB, free: 2.668 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01311/1.565, allocations: 5.16 MB / 1.457 GB, free: 13.29 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.042e-05/1.565, allocations: 8 kB / 1.457 GB, free: 13.28 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009023/1.566, allocations: 232.5 kB / 1.457 GB, free: 13.05 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001492/1.567, allocations: 308.5 kB / 1.458 GB, free: 12.75 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001619/1.567, allocations: 51.97 kB / 1.458 GB, free: 12.7 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001148/1.568, allocations: 0.8651 MB / 1.458 GB, free: 11.81 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.157e-05/1.569, allocations: 11.94 kB / 1.458 GB, free: 11.8 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006969/1.575, allocations: 3.024 MB / 1.461 GB, free: 8.668 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001934/1.577, allocations: 0.5883 MB / 1.462 GB, free: 8.059 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009173/1.578, allocations: 43.98 kB / 1.462 GB, free: 8.016 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001977/1.58, allocations: 63.91 kB / 1.462 GB, free: 7.953 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002703/1.581, allocations: 129 kB / 1.462 GB, free: 7.828 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002083/1.581, allocations: 79.94 kB / 1.462 GB, free: 7.75 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.003783/1.585, allocations: 1.574 MB / 1.464 GB, free: 6.172 MB / 1.186 GB Notification: Performance of sort global known variables: time 5.11e-07/1.585, allocations: 0 / 1.464 GB, free: 6.172 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.005919/1.591, allocations: 1.473 MB / 1.465 GB, free: 4.695 MB / 1.186 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.002687/1.593, allocations: 0.9881 MB / 1.466 GB, free: 3.719 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.007015/1.6, allocations: 2.423 MB / 1.469 GB, free: 1.25 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 1.829e-05/1.6, allocations: 4 kB / 1.469 GB, free: 1.246 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.003279/1.604, allocations: 1.039 MB / 1.47 GB, free: 192 kB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01453/1.618, allocations: 1.468 MB / 1.471 GB, free: 14.75 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01602/1.634, allocations: 4.97 MB / 1.476 GB, free: 9.664 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00312/1.638, allocations: 1.677 MB / 1.478 GB, free: 7.953 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.005694/1.643, allocations: 0.6799 MB / 1.478 GB, free: 7.316 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001515/1.645, allocations: 239.3 kB / 1.478 GB, free: 7.082 MB / 1.201 GB Notification: Performance of SimCode: time 2.295e-06/1.645, allocations: 0 / 1.478 GB, free: 7.082 MB / 1.201 GB Notification: Performance of Templates: time 0.1786/1.823, allocations: 61.02 MB / 1.538 GB, free: 10.77 MB / 1.264 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)