Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.SingleBuriedPipe") translateModel(Buildings.Fluid.FixedResistances.BuriedPipes.Examples.SingleBuriedPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.00168/0.00168, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002606/0.002607, allocations: 193.8 kB / 16.14 MB, free: 6.66 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.532/1.532, allocations: 222.9 MB / 239.8 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.026/3.026, allocations: 472.6 MB / 0.7447 GB, free: 4.957 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001401/0.001401, allocations: 67.7 kB / 0.9114 GB, free: 33.53 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4074/0.4088, allocations: 159.9 MB / 1.068 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.BuriedPipes.Examples.SingleBuriedPipe): time 0.1301/0.5389, allocations: 117.7 MB / 1.182 GB, free: 4.836 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.04537/0.5844, allocations: 28 MB / 1.21 GB, free: 8.77 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006916/0.5913, allocations: 111.3 kB / 1.21 GB, free: 8.66 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.005642/0.597, allocations: 1.247 MB / 1.211 GB, free: 7.406 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.01628/0.6134, allocations: 4.258 MB / 1.215 GB, free: 3.129 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.01134/0.6247, allocations: 2.798 MB / 1.218 GB, free: 356 kB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.01941/0.6441, allocations: 11 MB / 1.229 GB, free: 5.32 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005972/0.6502, allocations: 2.228 MB / 1.231 GB, free: 3.027 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008843/0.659, allocations: 2.862 MB / 1.234 GB, free: 156 kB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00562/0.6647, allocations: 2.333 MB / 1.236 GB, free: 13.81 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001308/0.666, allocations: 144 kB / 1.236 GB, free: 13.67 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01379/0.6798, allocations: 3.252 MB / 1.239 GB, free: 10.39 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.00192/0.6818, allocations: 0.595 MB / 1.24 GB, free: 9.797 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.00521/0.687, allocations: 1.558 MB / 1.241 GB, free: 8.23 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.7771/1.464, allocations: 18.28 MB / 1.259 GB, free: 39.8 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.283e-06/1.464, allocations: 1.125 kB / 1.259 GB, free: 39.8 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.693e-06/1.464, allocations: 0 / 1.259 GB, free: 39.8 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001802/1.464, allocations: 0 / 1.259 GB, free: 39.8 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.0103/1.475, allocations: 3.598 MB / 1.263 GB, free: 38.24 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/1.475, allocations: 11.72 kB / 1.263 GB, free: 38.24 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00108/1.476, allocations: 348 kB / 1.263 GB, free: 38.08 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005107/1.481, allocations: 2.599 MB / 1.266 GB, free: 37.47 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001192/1.481, allocations: 133.9 kB / 1.266 GB, free: 37.46 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002738/1.481, allocations: 180 kB / 1.266 GB, free: 37.46 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003474/1.485, allocations: 1.885 MB / 1.268 GB, free: 37.23 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.713e-05/1.485, allocations: 12.69 kB / 1.268 GB, free: 37.23 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001905/1.485, allocations: 70.75 kB / 1.268 GB, free: 37.23 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.265e-05/1.485, allocations: 48.47 kB / 1.268 GB, free: 37.23 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002541/1.488, allocations: 1.379 MB / 1.269 GB, free: 37.21 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.01403/1.502, allocations: 9.945 MB / 1.279 GB, free: 32.06 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001791/1.504, allocations: 0.9159 MB / 1.28 GB, free: 32.03 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001115/1.505, allocations: 0.5364 MB / 1.28 GB, free: 32.02 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002003/1.507, allocations: 3.073 MB / 1.283 GB, free: 28.55 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.615e-05/1.507, allocations: 52.38 kB / 1.283 GB, free: 28.5 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=120): time 3.306e-06/1.507, allocations: 1.219 kB / 1.283 GB, free: 28.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=120): time 0.006157/1.513, allocations: 2.123 MB / 1.286 GB, free: 28.12 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.105e-05/1.513, allocations: 67.08 kB / 1.286 GB, free: 28.06 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005067/1.518, allocations: 2.223 MB / 1.288 GB, free: 27.82 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002917/1.518, allocations: 48.73 kB / 1.288 GB, free: 27.79 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001186/1.52, allocations: 1.188 MB / 1.289 GB, free: 27.43 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006926/1.52, allocations: 428.7 kB / 1.289 GB, free: 27.16 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006694/1.521, allocations: 298.3 kB / 1.29 GB, free: 27.13 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9.906e-05/1.521, allocations: 308.8 kB / 1.29 GB, free: 26.83 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001069/1.522, allocations: 484.7 kB / 1.29 GB, free: 26.82 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001362/1.524, allocations: 0.8358 MB / 1.291 GB, free: 26.43 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002204/1.526, allocations: 1.346 MB / 1.293 GB, free: 26.07 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.441e-05/1.526, allocations: 3.781 kB / 1.293 GB, free: 26.07 MB / 0.9981 GB Notification: Performance of matching and sorting (n=187) (initialization): time 0.005387/1.531, allocations: 1.874 MB / 1.294 GB, free: 25.84 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.399e-05/1.531, allocations: 10.09 kB / 1.294 GB, free: 25.84 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.686e-05/1.531, allocations: 14.91 kB / 1.294 GB, free: 25.84 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001601/1.533, allocations: 306.9 kB / 1.295 GB, free: 25.82 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001036/1.534, allocations: 291.5 kB / 1.295 GB, free: 25.82 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009482/1.535, allocations: 1.299 MB / 1.296 GB, free: 24.78 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002788/1.538, allocations: 236.9 kB / 1.296 GB, free: 24.68 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002768/1.538, allocations: 76.69 kB / 1.297 GB, free: 24.68 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002403/1.54, allocations: 0.8797 MB / 1.297 GB, free: 24.59 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001481/1.542, allocations: 0.8221 MB / 1.298 GB, free: 24.22 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002309/1.544, allocations: 1.353 MB / 1.3 GB, free: 23.86 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.581e-05/1.544, allocations: 10.62 kB / 1.3 GB, free: 23.85 MB / 0.9981 GB Notification: Performance of matching and sorting (n=187) (initialization_lambda0): time 0.005436/1.55, allocations: 1.854 MB / 1.301 GB, free: 23.63 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.36e-05/1.55, allocations: 7.969 kB / 1.301 GB, free: 23.63 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-05/1.55, allocations: 19.33 kB / 1.301 GB, free: 23.62 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001521/1.551, allocations: 310.7 kB / 1.302 GB, free: 23.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001038/1.552, allocations: 286.6 kB / 1.302 GB, free: 23.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009984/1.553, allocations: 1.307 MB / 1.303 GB, free: 22.55 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003012/1.556, allocations: 193.4 kB / 1.303 GB, free: 22.49 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003151/1.557, allocations: 70.34 kB / 1.303 GB, free: 22.49 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.0006304/1.557, allocations: 275.9 kB / 1.304 GB, free: 22.3 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001349/1.559, allocations: 253.2 kB / 1.304 GB, free: 22.17 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005766/1.565, allocations: 2.342 MB / 1.306 GB, free: 21.96 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.749e-05/1.565, allocations: 21.91 kB / 1.306 GB, free: 21.96 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.549e-05/1.565, allocations: 0 / 1.306 GB, free: 21.96 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003616/1.568, allocations: 1.738 MB / 1.308 GB, free: 21.64 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01246/1.581, allocations: 5.098 MB / 1.313 GB, free: 20.55 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.626e-05/1.581, allocations: 13.33 kB / 1.313 GB, free: 20.55 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008771/1.582, allocations: 221.6 kB / 1.313 GB, free: 20.55 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001067/1.583, allocations: 235 kB / 1.313 GB, free: 20.53 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001509/1.583, allocations: 52.28 kB / 1.313 GB, free: 20.53 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008555/1.584, allocations: 1.299 MB / 1.315 GB, free: 19.49 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.213e-06/1.584, allocations: 7.312 kB / 1.315 GB, free: 19.49 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005975/1.59, allocations: 2.948 MB / 1.318 GB, free: 18.87 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001977/1.592, allocations: 0.5921 MB / 1.318 GB, free: 18.59 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001034/1.593, allocations: 35.05 kB / 1.318 GB, free: 18.59 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00259/1.596, allocations: 133.5 kB / 1.318 GB, free: 18.57 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002924/1.596, allocations: 132.4 kB / 1.319 GB, free: 18.57 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002333/1.596, allocations: 70.42 kB / 1.319 GB, free: 18.57 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.003907/1.6, allocations: 1.626 MB / 1.32 GB, free: 18.42 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7.21e-07/1.6, allocations: 0 / 1.32 GB, free: 18.42 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.008872/1.609, allocations: 1.528 MB / 1.322 GB, free: 18.22 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.009597/1.619, allocations: 3.671 MB / 1.325 GB, free: 17.69 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.005536/1.624, allocations: 2.371 MB / 1.328 GB, free: 17.39 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 9.508e-06/1.624, allocations: 1.812 kB / 1.328 GB, free: 17.39 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001925/1.626, allocations: 0.9799 MB / 1.329 GB, free: 17.26 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008912/1.635, allocations: 1.411 MB / 1.33 GB, free: 17.14 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00975/1.645, allocations: 5.961 MB / 1.336 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001795/1.647, allocations: 1.71 MB / 1.337 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.003888/1.651, allocations: 0.6799 MB / 1.338 GB, free: 13 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001031/1.652, allocations: 237.7 kB / 1.338 GB, free: 13 MB / 0.9981 GB Notification: Performance of SimCode: time 1.012e-06/1.652, allocations: 4 kB / 1.338 GB, free: 12.99 MB / 0.9981 GB Notification: Performance of Templates: time 0.1062/1.758, allocations: 65.49 MB / 1.402 GB, free: 6.688 MB / 1.045 GB make -j1 -f Buildings_1.6_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.SingleBuriedPipe.makefile (rm -f Buildings_1.6_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.SingleBuriedPipe.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.SingleBuriedPipe.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.SingleBuriedPipe.pipe >> ../files/Buildings_1.6_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.SingleBuriedPipe.sim & ./Buildings_1.6_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.SingleBuriedPipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.SingleBuriedPipe.pipe 2>&1)