Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.SingleBuriedPipe.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.SingleBuriedPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.SingleBuriedPipe") translateModel(Buildings.Fluid.FixedResistances.BuriedPipes.Examples.SingleBuriedPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.SingleBuriedPipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001279/0.001279, allocations: 111.3 kB / 15.34 MB, free: 0.5117 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.001738/0.001738, allocations: 186 kB / 16.25 MB, free: 6.137 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.464/1.464, allocations: 222.9 MB / 239.9 MB, free: 4.496 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.898/2.898, allocations: 472.6 MB / 0.7448 GB, free: 4.898 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 66.66 kB / 0.9115 GB, free: 33.63 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3608/0.3621, allocations: 159.9 MB / 1.068 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.BuriedPipes.Examples.SingleBuriedPipe): time 0.1054/0.4676, allocations: 117.4 MB / 1.182 GB, free: 4.984 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.03944/0.5071, allocations: 27.69 MB / 1.209 GB, free: 9.223 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005816/0.513, allocations: 115.2 kB / 1.21 GB, free: 9.109 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.004916/0.5179, allocations: 1.317 MB / 1.211 GB, free: 7.785 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.01747/0.5354, allocations: 4.277 MB / 1.215 GB, free: 3.492 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.01073/0.5462, allocations: 2.867 MB / 1.218 GB, free: 0.6406 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.01444/0.5606, allocations: 8.525 MB / 1.226 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006025/0.5667, allocations: 2.644 MB / 1.229 GB, free: 5.387 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01016/0.5769, allocations: 3.349 MB / 1.232 GB, free: 2.035 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005156/0.5821, allocations: 2.412 MB / 1.234 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.00143/0.5836, allocations: 296 kB / 1.235 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01179/0.5954, allocations: 3.421 MB / 1.238 GB, free: 11.88 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.00183/0.5972, allocations: 0.7356 MB / 1.239 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.004406/0.6016, allocations: 1.707 MB / 1.24 GB, free: 9.43 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.8319/1.434, allocations: 18.4 MB / 1.258 GB, free: 36.43 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 1.023e-05/1.434, allocations: 1.188 kB / 1.258 GB, free: 36.43 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.315e-06/1.434, allocations: 0 / 1.258 GB, free: 36.43 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001507/1.434, allocations: 0 / 1.258 GB, free: 36.43 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: 435 * Number of variables: 435 Notification: Performance of Generate backend data structure: time 0.01033/1.444, allocations: 3.602 MB / 1.262 GB, free: 34.82 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.543e-05/1.444, allocations: 8.719 kB / 1.262 GB, free: 34.82 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001194/1.445, allocations: 346.9 kB / 1.262 GB, free: 34.66 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005045/1.45, allocations: 2.603 MB / 1.265 GB, free: 34.05 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.766e-05/1.451, allocations: 131.7 kB / 1.265 GB, free: 34.05 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002505/1.451, allocations: 185.4 kB / 1.265 GB, free: 34.04 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003508/1.454, allocations: 1.882 MB / 1.267 GB, free: 33.82 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.135e-05/1.454, allocations: 5.906 kB / 1.267 GB, free: 33.81 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001756/1.455, allocations: 72.75 kB / 1.267 GB, free: 33.81 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.998e-05/1.455, allocations: 50.14 kB / 1.267 GB, free: 33.81 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002594/1.457, allocations: 1.377 MB / 1.268 GB, free: 33.8 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.01311/1.47, allocations: 9.957 MB / 1.278 GB, free: 28.63 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001688/1.472, allocations: 0.9108 MB / 1.279 GB, free: 28.6 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000972/1.473, allocations: 0.5343 MB / 1.279 GB, free: 28.59 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00189/1.475, allocations: 3.08 MB / 1.282 GB, free: 25.12 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.299e-05/1.475, allocations: 47.97 kB / 1.282 GB, free: 25.08 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=120): time 4.168e-06/1.475, allocations: 0.5312 kB / 1.282 GB, free: 25.08 MB / 0.9981 GB Notification: Performance of matching and sorting (n=120): time 0.006165/1.481, allocations: 2.128 MB / 1.285 GB, free: 24.69 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.254e-05/1.481, allocations: 66.75 kB / 1.285 GB, free: 24.63 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003842/1.485, allocations: 2.22 MB / 1.287 GB, free: 24.4 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.00026/1.485, allocations: 51.73 kB / 1.287 GB, free: 24.37 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000848/1.486, allocations: 1.184 MB / 1.288 GB, free: 24.01 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004447/1.487, allocations: 430.6 kB / 1.288 GB, free: 23.73 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004359/1.487, allocations: 298.5 kB / 1.289 GB, free: 23.71 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.371e-05/1.487, allocations: 310.5 kB / 1.289 GB, free: 23.4 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008401/1.488, allocations: 486.9 kB / 1.289 GB, free: 23.39 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001118/1.489, allocations: 0.8264 MB / 1.29 GB, free: 23.01 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001932/1.491, allocations: 1.355 MB / 1.292 GB, free: 22.64 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.436e-06/1.491, allocations: 3.156 kB / 1.292 GB, free: 22.64 MB / 0.9981 GB Notification: Performance of matching and sorting (n=187) (initialization): time 0.004705/1.496, allocations: 1.862 MB / 1.293 GB, free: 22.42 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.909e-05/1.496, allocations: 13.06 kB / 1.293 GB, free: 22.42 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.971e-05/1.496, allocations: 13.48 kB / 1.293 GB, free: 22.42 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00156/1.498, allocations: 316.6 kB / 1.294 GB, free: 22.39 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009684/1.499, allocations: 289.8 kB / 1.294 GB, free: 22.39 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008259/1.499, allocations: 1.303 MB / 1.295 GB, free: 21.35 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002606/1.502, allocations: 232.3 kB / 1.296 GB, free: 21.26 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00018/1.502, allocations: 75.48 kB / 1.296 GB, free: 21.25 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001872/1.504, allocations: 0.887 MB / 1.296 GB, free: 21.17 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001078/1.505, allocations: 0.8211 MB / 1.297 GB, free: 20.79 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002056/1.507, allocations: 1.347 MB / 1.299 GB, free: 20.43 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.407e-06/1.507, allocations: 6.5 kB / 1.299 GB, free: 20.43 MB / 0.9981 GB Notification: Performance of matching and sorting (n=187) (initialization_lambda0): time 0.004534/1.512, allocations: 1.861 MB / 1.3 GB, free: 20.2 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/1.512, allocations: 9.969 kB / 1.3 GB, free: 20.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.563e-05/1.512, allocations: 13.44 kB / 1.3 GB, free: 20.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001477/1.513, allocations: 316.1 kB / 1.301 GB, free: 20.17 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009983/1.514, allocations: 287.6 kB / 1.301 GB, free: 20.17 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008193/1.515, allocations: 1.305 MB / 1.302 GB, free: 19.12 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002599/1.518, allocations: 192 kB / 1.302 GB, free: 19.06 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001674/1.518, allocations: 74.73 kB / 1.303 GB, free: 19.06 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 (169): * Single equations (assignments): 161 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,5), (1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0005297/1.518, allocations: 270.3 kB / 1.303 GB, free: 18.87 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005698/1.519, allocations: 256.9 kB / 1.303 GB, free: 18.73 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004815/1.524, allocations: 2.336 MB / 1.305 GB, free: 18.53 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.828e-05/1.524, allocations: 27.23 kB / 1.305 GB, free: 18.53 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.598e-06/1.524, allocations: 0 / 1.305 GB, free: 18.53 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003073/1.527, allocations: 1.734 MB / 1.307 GB, free: 18.2 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009923/1.537, allocations: 5.091 MB / 1.312 GB, free: 17.12 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-05/1.537, allocations: 12.75 kB / 1.312 GB, free: 17.12 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008438/1.538, allocations: 224.3 kB / 1.312 GB, free: 17.12 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009739/1.539, allocations: 236.2 kB / 1.312 GB, free: 17.1 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.828e-05/1.539, allocations: 45.8 kB / 1.312 GB, free: 17.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007065/1.54, allocations: 1.307 MB / 1.314 GB, free: 16.05 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.261e-06/1.54, allocations: 10.91 kB / 1.314 GB, free: 16.05 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004683/1.544, allocations: 2.939 MB / 1.317 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001291/1.546, allocations: 0.5921 MB / 1.317 GB, free: 15.15 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003611/1.546, allocations: 36.78 kB / 1.317 GB, free: 15.15 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001542/1.548, allocations: 132.6 kB / 1.317 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002196/1.548, allocations: 128.8 kB / 1.318 GB, free: 15.13 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001367/1.548, allocations: 76.7 kB / 1.318 GB, free: 15.13 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002448/1.55, allocations: 1.623 MB / 1.319 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.01e-07/1.55, allocations: 0 / 1.319 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00501/1.555, allocations: 1.523 MB / 1.321 GB, free: 14.79 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 12 (pip.del.x,pip.timDel.x,pip.vol_b.dynBal.U,pip.vol_a.dynBal.U,senTemInl.T,senTemOut.T,pipRev.del.x,pipRev.timDel.x,pipRev.vol_b.dynBal.U,pipRev.vol_a.dynBal.U,senTemOutRev.T,senTemInlRev.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 (142): * 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: 2 * 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): 2 systems {(1,7), (1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006908/1.562, allocations: 3.671 MB / 1.324 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.005434/1.568, allocations: 2.564 MB / 1.327 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.148e-05/1.568, allocations: 2.844 kB / 1.327 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001504/1.569, allocations: 0.9785 MB / 1.328 GB, free: 13.78 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00703/1.576, allocations: 1.513 MB / 1.329 GB, free: 13.53 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009406/1.586, allocations: 5.967 MB / 1.335 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001146/1.587, allocations: 1.705 MB / 1.337 GB, free: 9.527 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.003258/1.59, allocations: 0.6723 MB / 1.337 GB, free: 9.398 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006124/1.591, allocations: 236.9 kB / 1.338 GB, free: 9.391 MB / 0.9981 GB Notification: Performance of SimCode: time 1.854e-06/1.591, allocations: 0 / 1.338 GB, free: 9.391 MB / 0.9981 GB Notification: Performance of Templates: time 0.1079/1.699, allocations: 67.72 MB / 1.404 GB, free: 3.867 MB / 1.045 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.SingleBuriedPipe.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.SingleBuriedPipe.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.SingleBuriedPipe.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.SingleBuriedPipe.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.SingleBuriedPipe.sim & ./Buildings_3.0.0_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.SingleBuriedPipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.SingleBuriedPipe.pipe 2>&1)