Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoPipesConduit.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.TwoPipesConduit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoPipesConduit") translateModel(Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoPipesConduit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoPipesConduit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001276/0.001275, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001373/0.001373, allocations: 196 kB / 16.26 MB, free: 6.621 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.494/1.494, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.891/2.891, allocations: 472.6 MB / 0.7448 GB, free: 4.836 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0014/0.0014, allocations: 65.5 kB / 0.9115 GB, free: 33.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3496/0.351, allocations: 159.9 MB / 1.068 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoPipesConduit): time 0.1087/0.4598, allocations: 117.6 MB / 1.183 GB, free: 4.781 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.03941/0.4993, allocations: 27.88 MB / 1.21 GB, free: 8.832 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006784/0.5061, allocations: 115.3 kB / 1.21 GB, free: 8.719 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.006483/0.5127, allocations: 1.309 MB / 1.211 GB, free: 7.402 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.01455/0.5273, allocations: 4.293 MB / 1.215 GB, free: 3.094 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.009234/0.5366, allocations: 2.911 MB / 1.218 GB, free: 200 kB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.01395/0.5505, allocations: 8.634 MB / 1.227 GB, free: 7.539 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005047/0.5556, allocations: 2.684 MB / 1.229 GB, free: 4.793 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009716/0.5654, allocations: 3.398 MB / 1.233 GB, free: 1.395 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004664/0.57, allocations: 2.447 MB / 1.235 GB, free: 14.94 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0008914/0.5709, allocations: 292 kB / 1.235 GB, free: 14.65 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01001/0.581, allocations: 3.421 MB / 1.239 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0021/0.5831, allocations: 0.759 MB / 1.239 GB, free: 10.45 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.004212/0.5873, allocations: 1.726 MB / 1.241 GB, free: 8.715 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.7349/1.322, allocations: 18.43 MB / 1.259 GB, free: 36.12 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/1.322, allocations: 0 / 1.259 GB, free: 36.12 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.026e-06/1.322, allocations: 0.6875 kB / 1.259 GB, free: 36.12 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001211/1.322, allocations: 0 / 1.259 GB, free: 36.12 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 445 * Number of variables: 445 Notification: Performance of Generate backend data structure: time 0.009031/1.332, allocations: 3.645 MB / 1.263 GB, free: 34.52 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/1.332, allocations: 11.55 kB / 1.263 GB, free: 34.52 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001084/1.333, allocations: 356.6 kB / 1.263 GB, free: 34.35 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004708/1.337, allocations: 2.601 MB / 1.265 GB, free: 33.73 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.357e-05/1.338, allocations: 134.4 kB / 1.266 GB, free: 33.73 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002607/1.338, allocations: 188.4 kB / 1.266 GB, free: 33.73 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003334/1.341, allocations: 1.928 MB / 1.268 GB, free: 33.5 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.24e-05/1.341, allocations: 10.34 kB / 1.268 GB, free: 33.5 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000177/1.341, allocations: 76 kB / 1.268 GB, free: 33.5 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.562e-05/1.341, allocations: 44.53 kB / 1.268 GB, free: 33.5 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002373/1.344, allocations: 1.43 MB / 1.269 GB, free: 33.48 MB / 0.9981 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.01217/1.356, allocations: 9.828 MB / 1.279 GB, free: 28.62 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002078/1.358, allocations: 1.014 MB / 1.28 GB, free: 28.59 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001064/1.359, allocations: 0.5717 MB / 1.28 GB, free: 28.57 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001647/1.361, allocations: 3.079 MB / 1.283 GB, free: 25.1 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.759e-05/1.361, allocations: 48.53 kB / 1.283 GB, free: 25.06 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=127): time 3.607e-06/1.361, allocations: 0 / 1.283 GB, free: 25.06 MB / 0.9981 GB Notification: Performance of matching and sorting (n=127): time 0.003975/1.365, allocations: 1.778 MB / 1.285 GB, free: 24.77 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/1.365, allocations: 64.03 kB / 1.285 GB, free: 24.71 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003927/1.369, allocations: 2.19 MB / 1.287 GB, free: 24.47 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002994/1.369, allocations: 53.45 kB / 1.287 GB, free: 24.44 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008625/1.37, allocations: 1.182 MB / 1.288 GB, free: 24.08 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005212/1.371, allocations: 457.5 kB / 1.289 GB, free: 23.79 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004794/1.371, allocations: 322 kB / 1.289 GB, free: 23.75 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.957e-05/1.371, allocations: 306.2 kB / 1.29 GB, free: 23.46 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009159/1.372, allocations: 0.4995 MB / 1.29 GB, free: 23.44 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001197/1.373, allocations: 0.8698 MB / 1.291 GB, free: 23.05 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002031/1.375, allocations: 1.392 MB / 1.292 GB, free: 22.68 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.201e-05/1.375, allocations: 7.453 kB / 1.292 GB, free: 22.68 MB / 0.9981 GB Notification: Performance of matching and sorting (n=199) (initialization): time 0.00395/1.379, allocations: 1.751 MB / 1.294 GB, free: 22.48 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.312e-05/1.379, allocations: 8.312 kB / 1.294 GB, free: 22.48 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.021e-05/1.379, allocations: 17.67 kB / 1.294 GB, free: 22.48 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000365/1.38, allocations: 64.62 kB / 1.294 GB, free: 22.46 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001271/1.381, allocations: 343.4 kB / 1.294 GB, free: 22.46 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001242/1.382, allocations: 1.554 MB / 1.296 GB, free: 21.11 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002933/1.385, allocations: 250.8 kB / 1.296 GB, free: 21.02 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002335/1.385, allocations: 75.95 kB / 1.296 GB, free: 21.02 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001937/1.387, allocations: 0.9077 MB / 1.297 GB, free: 20.93 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001204/1.389, allocations: 0.8691 MB / 1.298 GB, free: 20.54 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002074/1.391, allocations: 1.385 MB / 1.299 GB, free: 20.18 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.019e-05/1.391, allocations: 9.328 kB / 1.299 GB, free: 20.18 MB / 0.9981 GB Notification: Performance of matching and sorting (n=199) (initialization_lambda0): time 0.004444/1.395, allocations: 1.745 MB / 1.301 GB, free: 19.97 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.749e-05/1.395, allocations: 9.188 kB / 1.301 GB, free: 19.97 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.034e-05/1.395, allocations: 15.25 kB / 1.301 GB, free: 19.97 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002973/1.396, allocations: 67.08 kB / 1.301 GB, free: 19.96 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001231/1.397, allocations: 343.6 kB / 1.301 GB, free: 19.96 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001129/1.398, allocations: 1.557 MB / 1.303 GB, free: 18.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00278/1.401, allocations: 210.9 kB / 1.303 GB, free: 18.54 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001892/1.401, allocations: 74.75 kB / 1.303 GB, free: 18.54 MB / 0.9981 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 (192): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004994/1.401, allocations: 273.5 kB / 1.303 GB, free: 18.35 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006902/1.402, allocations: 261.2 kB / 1.304 GB, free: 18.21 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004206/1.406, allocations: 2.202 MB / 1.306 GB, free: 18.05 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.822e-05/1.406, allocations: 23.86 kB / 1.306 GB, free: 18.05 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/1.406, allocations: 1.25 kB / 1.306 GB, free: 18.05 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002364/1.409, allocations: 1.608 MB / 1.307 GB, free: 17.73 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008975/1.418, allocations: 5.002 MB / 1.312 GB, free: 16.67 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.028e-05/1.418, allocations: 10.06 kB / 1.312 GB, free: 16.67 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00103/1.419, allocations: 266.8 kB / 1.313 GB, free: 16.67 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002363/1.419, allocations: 54.97 kB / 1.313 GB, free: 16.66 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000107/1.419, allocations: 57.52 kB / 1.313 GB, free: 16.66 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001025/1.42, allocations: 1.548 MB / 1.314 GB, free: 15.31 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.092e-06/1.42, allocations: 8.953 kB / 1.314 GB, free: 15.31 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004161/1.425, allocations: 2.84 MB / 1.317 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001332/1.426, allocations: 0.5802 MB / 1.318 GB, free: 14.42 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004384/1.426, allocations: 47.8 kB / 1.318 GB, free: 14.42 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001683/1.428, allocations: 142.4 kB / 1.318 GB, free: 14.4 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002383/1.428, allocations: 140.5 kB / 1.318 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001556/1.428, allocations: 81.55 kB / 1.318 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002374/1.431, allocations: 1.589 MB / 1.319 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of sort global known variables: time 4.01e-07/1.431, allocations: 0 / 1.319 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.005371/1.436, allocations: 1.572 MB / 1.321 GB, free: 14.05 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 14 (pipSup.del.x,pipSup.timDel.x,pipSup.vol_b.dynBal.U,pipSup.vol_a.dynBal.U,senTemInlSup.T,senTemOutSup.T,pipRet.del.x,pipRet.timDel.x,pipRet.vol_b.dynBal.U,pipRet.vol_a.dynBal.U,senTemOutRet.T,senTemInlRet.T,conAir.T,con.T[1]) * 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 (161): * Single equations (assignments): 132 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007085/1.443, allocations: 3.679 MB / 1.325 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.005996/1.449, allocations: 2.869 MB / 1.327 GB, free: 12.95 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.353e-05/1.449, allocations: 2.406 kB / 1.327 GB, free: 12.95 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001572/1.451, allocations: 1.108 MB / 1.329 GB, free: 12.7 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007014/1.458, allocations: 1.508 MB / 1.33 GB, free: 12.47 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0073/1.465, allocations: 6.16 MB / 1.336 GB, free: 9.129 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001038/1.466, allocations: 1.71 MB / 1.338 GB, free: 8.359 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.003096/1.469, allocations: 0.7094 MB / 1.338 GB, free: 8.223 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006771/1.47, allocations: 252.9 kB / 1.339 GB, free: 8.211 MB / 0.9981 GB Notification: Performance of SimCode: time 6.52e-07/1.47, allocations: 1.312 kB / 1.339 GB, free: 8.211 MB / 0.9981 GB Notification: Performance of Templates: time 0.1046/1.575, allocations: 66.32 MB / 1.403 GB, free: 3.992 MB / 1.045 GB make -j1 -f Buildings_1.6_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoPipesConduit.makefile (rm -f Buildings_1.6_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoPipesConduit.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoPipesConduit.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoPipesConduit.pipe >> ../files/Buildings_1.6_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoPipesConduit.sim & ./Buildings_1.6_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoPipesConduit -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoPipesConduit.pipe 2>&1)