Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.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_11_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_11_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.007369/0.007369, allocations: 98.06 kB / 15.73 MB, free: 6.012 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.001597/0.001597, allocations: 194.9 kB / 16.67 MB, free: 5.926 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.48/1.48, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.775/2.775, allocations: 469.8 MB / 0.7425 GB, free: 3.324 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001443/0.001443, allocations: 71.92 kB / 1.065 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.022/1.024, allocations: 159.1 MB / 1.221 GB, free: 2.094 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoBuriedPipes): time 0.1145/1.138, allocations: 118.4 MB / 1.336 GB, free: 11.33 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0442/1.182, allocations: 27.82 MB / 1.363 GB, free: 15.44 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006752/1.189, allocations: 123.3 kB / 1.363 GB, free: 15.32 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.005717/1.195, allocations: 1.568 MB / 1.365 GB, free: 13.74 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.01547/1.21, allocations: 4.761 MB / 1.37 GB, free: 8.957 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.00957/1.22, allocations: 3.151 MB / 1.373 GB, free: 5.82 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.01374/1.234, allocations: 8.347 MB / 1.381 GB, free: 13.45 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004224/1.238, allocations: 2.156 MB / 1.383 GB, free: 11.23 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008841/1.247, allocations: 3.388 MB / 1.386 GB, free: 7.84 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004874/1.252, allocations: 2.283 MB / 1.389 GB, free: 5.547 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0009353/1.253, allocations: 284 kB / 1.389 GB, free: 5.27 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007881/1.26, allocations: 2.831 MB / 1.392 GB, free: 2.434 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.00138/1.262, allocations: 0.7508 MB / 1.392 GB, free: 1.68 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.003962/1.266, allocations: 1.66 MB / 1.394 GB, free: 12 kB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.01124/1.277, allocations: 5.338 MB / 1.399 GB, free: 10.66 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 8.316e-06/1.277, allocations: 3.938 kB / 1.399 GB, free: 10.65 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.074e-06/1.277, allocations: 0 / 1.399 GB, free: 10.65 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.0001204/1.277, allocations: 4 kB / 1.399 GB, free: 10.65 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.007305/1.284, allocations: 3.633 MB / 1.403 GB, free: 6.945 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.929e-05/1.284, allocations: 19.95 kB / 1.403 GB, free: 6.926 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001133/1.286, allocations: 349.9 kB / 1.403 GB, free: 6.582 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004917/1.291, allocations: 2.624 MB / 1.406 GB, free: 3.891 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.731e-05/1.291, allocations: 131.4 kB / 1.406 GB, free: 3.762 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002439/1.291, allocations: 172 kB / 1.406 GB, free: 3.594 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003176/1.294, allocations: 1.903 MB / 1.408 GB, free: 1.621 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.92e-05/1.294, allocations: 11.95 kB / 1.408 GB, free: 1.609 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001628/1.294, allocations: 68 kB / 1.408 GB, free: 1.543 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.685e-05/1.294, allocations: 44 kB / 1.408 GB, free: 1.5 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002423/1.297, allocations: 1.402 MB / 1.409 GB, free: 96 kB / 1.123 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.01297/1.31, allocations: 10 MB / 1.419 GB, free: 5.34 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00157/1.311, allocations: 0.8368 MB / 1.42 GB, free: 4.496 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007774/1.312, allocations: 0.4956 MB / 1.42 GB, free: 4 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002509/1.315, allocations: 3.076 MB / 1.423 GB, free: 244 kB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.397e-05/1.315, allocations: 47.56 kB / 1.423 GB, free: 188 kB / 1.139 GB Notification: Performance of pre-optimization done (n=121): time 3.146e-06/1.315, allocations: 4 kB / 1.423 GB, free: 184 kB / 1.139 GB Notification: Performance of matching and sorting (n=121): time 0.006479/1.321, allocations: 2.245 MB / 1.426 GB, free: 13.91 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.661e-05/1.321, allocations: 64.41 kB / 1.426 GB, free: 13.83 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003366/1.324, allocations: 2.153 MB / 1.428 GB, free: 11.66 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0001801/1.325, allocations: 49.7 kB / 1.428 GB, free: 11.61 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009709/1.326, allocations: 1.183 MB / 1.429 GB, free: 10.41 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004734/1.326, allocations: 452.1 kB / 1.429 GB, free: 9.969 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004055/1.327, allocations: 291.4 kB / 1.43 GB, free: 9.676 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 9.157e-05/1.327, allocations: 301.1 kB / 1.43 GB, free: 9.379 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007782/1.327, allocations: 468.6 kB / 1.43 GB, free: 8.918 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001094/1.328, allocations: 0.7947 MB / 1.431 GB, free: 7.992 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001931/1.33, allocations: 1.32 MB / 1.432 GB, free: 6.547 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-06/1.33, allocations: 0 / 1.432 GB, free: 6.547 MB / 1.154 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.004649/1.335, allocations: 1.878 MB / 1.434 GB, free: 4.656 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.858e-05/1.335, allocations: 19.92 kB / 1.434 GB, free: 4.637 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.316e-05/1.335, allocations: 12 kB / 1.434 GB, free: 4.625 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001854/1.337, allocations: 372.9 kB / 1.435 GB, free: 4.258 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009597/1.338, allocations: 299.5 kB / 1.435 GB, free: 3.965 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001122/1.339, allocations: 0.8607 MB / 1.436 GB, free: 3.078 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002007/1.341, allocations: 178.8 kB / 1.436 GB, free: 2.902 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001558/1.341, allocations: 71.97 kB / 1.436 GB, free: 2.832 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001714/1.343, allocations: 0.8553 MB / 1.437 GB, free: 1.973 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001122/1.344, allocations: 0.7986 MB / 1.438 GB, free: 1.043 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002137/1.346, allocations: 1.312 MB / 1.439 GB, free: 15.6 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.09e-05/1.346, allocations: 4 kB / 1.439 GB, free: 15.6 MB / 1.17 GB Notification: Performance of matching and sorting (n=181) (initialization_lambda0): time 0.004797/1.351, allocations: 1.859 MB / 1.441 GB, free: 13.73 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/1.351, allocations: 10.03 kB / 1.441 GB, free: 13.72 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.263e-05/1.351, allocations: 23.88 kB / 1.441 GB, free: 13.7 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001839/1.353, allocations: 376.5 kB / 1.441 GB, free: 13.32 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009265/1.354, allocations: 291.5 kB / 1.441 GB, free: 13.04 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001088/1.355, allocations: 0.8646 MB / 1.442 GB, free: 12.15 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001815/1.357, allocations: 127.2 kB / 1.442 GB, free: 12.02 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001776/1.357, allocations: 75.97 kB / 1.442 GB, free: 11.95 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.0004725/1.357, allocations: 270.1 kB / 1.443 GB, free: 11.68 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008254/1.358, allocations: 262.3 kB / 1.443 GB, free: 11.42 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005399/1.364, allocations: 2.373 MB / 1.445 GB, free: 9.082 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.863e-05/1.364, allocations: 23.98 kB / 1.445 GB, free: 9.059 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.365e-05/1.364, allocations: 0 / 1.445 GB, free: 9.059 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003562/1.367, allocations: 1.786 MB / 1.447 GB, free: 7.227 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01109/1.378, allocations: 5.164 MB / 1.452 GB, free: 1.844 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.465e-05/1.378, allocations: 8 kB / 1.452 GB, free: 1.836 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008756/1.379, allocations: 231.6 kB / 1.452 GB, free: 1.609 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001388/1.381, allocations: 300.6 kB / 1.453 GB, free: 1.312 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001343/1.381, allocations: 51.97 kB / 1.453 GB, free: 1.262 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001014/1.382, allocations: 0.8606 MB / 1.453 GB, free: 384 kB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.997e-06/1.382, allocations: 11.94 kB / 1.453 GB, free: 372 kB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005857/1.388, allocations: 3.013 MB / 1.456 GB, free: 13.24 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001443/1.389, allocations: 0.5883 MB / 1.457 GB, free: 12.63 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008836/1.39, allocations: 39.98 kB / 1.457 GB, free: 12.59 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002197/1.392, allocations: 71.89 kB / 1.457 GB, free: 12.52 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003051/1.392, allocations: 133 kB / 1.457 GB, free: 12.39 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002296/1.393, allocations: 75.95 kB / 1.457 GB, free: 12.32 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.004046/1.397, allocations: 1.582 MB / 1.459 GB, free: 10.73 MB / 1.186 GB Notification: Performance of sort global known variables: time 9e-08/1.397, allocations: 0 / 1.459 GB, free: 10.73 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.005919/1.403, allocations: 1.473 MB / 1.46 GB, free: 9.254 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.00281/1.405, allocations: 0.988 MB / 1.461 GB, free: 8.281 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.005477/1.411, allocations: 2.301 MB / 1.464 GB, free: 5.938 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 1.213e-05/1.411, allocations: 4 kB / 1.464 GB, free: 5.934 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.002119/1.413, allocations: 0.9768 MB / 1.464 GB, free: 4.934 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008223/1.421, allocations: 1.479 MB / 1.466 GB, free: 3.488 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01257/1.434, allocations: 4.959 MB / 1.471 GB, free: 14.41 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00254/1.436, allocations: 1.681 MB / 1.472 GB, free: 12.7 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.003292/1.44, allocations: 0.6723 MB / 1.473 GB, free: 12.07 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008613/1.441, allocations: 239.3 kB / 1.473 GB, free: 11.83 MB / 1.201 GB Notification: Performance of SimCode: time 1.012e-06/1.441, allocations: 0 / 1.473 GB, free: 11.83 MB / 1.201 GB Notification: Performance of Templates: time 0.1078/1.548, allocations: 61.32 MB / 1.533 GB, free: 15.18 MB / 1.264 GB make -j1 -f Buildings_11_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoBuriedPipes.makefile (rm -f Buildings_11_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoBuriedPipes.pipe ; mkfifo Buildings_11_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoBuriedPipes.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoBuriedPipes.pipe >> ../files/Buildings_11_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoBuriedPipes.sim & ./Buildings_11_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoBuriedPipes -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoBuriedPipes.pipe 2>&1)