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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoBuriedPipes") translateModel(Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoBuriedPipes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",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.001514/0.001514, allocations: 101.8 kB / 16.36 MB, free: 5.824 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.001654/0.001654, allocations: 193.3 kB / 17.29 MB, free: 5.48 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.39/1.39, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.513/2.513, allocations: 442.6 MB / 0.7165 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001357, allocations: 64.03 kB / 0.8773 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4004/0.4018, allocations: 153 MB / 1.027 GB, free: 2.074 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoBuriedPipes): time 0.8421/1.244, allocations: 118.2 MB / 1.142 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.04289/1.287, allocations: 27.79 MB / 1.169 GB, free: 412 kB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007539/1.294, allocations: 123.3 kB / 1.169 GB, free: 368 kB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.00539/1.3, allocations: 1.505 MB / 1.171 GB, free: 15.41 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.01814/1.318, allocations: 4.548 MB / 1.175 GB, free: 12.04 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.01147/1.33, allocations: 3.129 MB / 1.178 GB, free: 9.617 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.01877/1.348, allocations: 8.336 MB / 1.186 GB, free: 4.703 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005762/1.354, allocations: 2.648 MB / 1.189 GB, free: 2.977 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009894/1.364, allocations: 3.283 MB / 1.192 GB, free: 1 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004986/1.369, allocations: 2.284 MB / 1.194 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0008125/1.37, allocations: 284.8 kB / 1.195 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008219/1.378, allocations: 2.829 MB / 1.198 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.001276/1.379, allocations: 0.7203 MB / 1.198 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.003304/1.383, allocations: 1.66 MB / 1.2 GB, free: 12.37 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0104/1.393, allocations: 5.319 MB / 1.205 GB, free: 8.262 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/1.393, allocations: 0 / 1.205 GB, free: 8.262 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.683e-06/1.393, allocations: 0 / 1.205 GB, free: 8.262 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 7.875e-05/1.393, allocations: 0 / 1.205 GB, free: 8.262 MB / 0.9044 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.007352/1.401, allocations: 3.547 MB / 1.209 GB, free: 4.648 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/1.401, allocations: 12.03 kB / 1.209 GB, free: 4.637 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001077/1.402, allocations: 340.1 kB / 1.209 GB, free: 4.301 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005365/1.407, allocations: 2.595 MB / 1.211 GB, free: 1.633 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001592/1.407, allocations: 127.4 kB / 1.211 GB, free: 1.508 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002851/1.408, allocations: 172 kB / 1.212 GB, free: 1.34 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003342/1.411, allocations: 1.903 MB / 1.214 GB, free: 15.36 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.523e-05/1.411, allocations: 3.906 kB / 1.214 GB, free: 15.36 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001623/1.411, allocations: 72 kB / 1.214 GB, free: 15.29 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.825e-05/1.411, allocations: 51.98 kB / 1.214 GB, free: 15.24 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002647/1.414, allocations: 1.399 MB / 1.215 GB, free: 13.84 MB / 0.92 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.01551/1.429, allocations: 9.977 MB / 1.225 GB, free: 3.109 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001943/1.431, allocations: 0.9109 MB / 1.226 GB, free: 2.188 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001029/1.433, allocations: 0.5502 MB / 1.226 GB, free: 1.637 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0031/1.436, allocations: 3.068 MB / 1.229 GB, free: 13.89 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002155/1.436, allocations: 51.56 kB / 1.229 GB, free: 13.83 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=121): time 3.456e-06/1.436, allocations: 0 / 1.229 GB, free: 13.83 MB / 0.9356 GB Notification: Performance of matching and sorting (n=121): time 0.007211/1.443, allocations: 2.241 MB / 1.231 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.597e-05/1.443, allocations: 64.41 kB / 1.231 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003644/1.447, allocations: 2.157 MB / 1.234 GB, free: 9.309 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0002066/1.447, allocations: 45.7 kB / 1.234 GB, free: 9.258 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.001144/1.448, allocations: 1.173 MB / 1.235 GB, free: 8.07 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005168/1.449, allocations: 429.7 kB / 1.235 GB, free: 7.645 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004208/1.449, allocations: 287.3 kB / 1.235 GB, free: 7.359 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001146/1.449, allocations: 305.1 kB / 1.236 GB, free: 7.059 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008261/1.45, allocations: 468.6 kB / 1.236 GB, free: 6.598 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001226/1.451, allocations: 0.7909 MB / 1.237 GB, free: 5.676 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002023/1.453, allocations: 1.323 MB / 1.238 GB, free: 4.227 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.815e-06/1.453, allocations: 3.938 kB / 1.238 GB, free: 4.223 MB / 0.9356 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.004634/1.458, allocations: 1.873 MB / 1.24 GB, free: 2.336 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.205e-05/1.458, allocations: 12.09 kB / 1.24 GB, free: 2.324 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.332e-05/1.458, allocations: 12 kB / 1.24 GB, free: 2.312 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001933/1.46, allocations: 380.4 kB / 1.24 GB, free: 1.938 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001012/1.461, allocations: 291.5 kB / 1.241 GB, free: 1.652 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001194/1.462, allocations: 0.8646 MB / 1.242 GB, free: 0.7617 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001821/1.464, allocations: 162.3 kB / 1.242 GB, free: 0.6016 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002613/1.464, allocations: 79.91 kB / 1.242 GB, free: 0.5234 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001837/1.466, allocations: 0.8593 MB / 1.243 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001122/1.467, allocations: 0.7909 MB / 1.243 GB, free: 14.74 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002234/1.47, allocations: 1.312 MB / 1.245 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.021e-06/1.47, allocations: 0 / 1.245 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of matching and sorting (n=181) (initialization_lambda0): time 0.004653/1.474, allocations: 1.853 MB / 1.247 GB, free: 11.44 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/1.474, allocations: 12 kB / 1.247 GB, free: 11.43 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.961e-05/1.474, allocations: 12.56 kB / 1.247 GB, free: 11.41 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001813/1.476, allocations: 392.4 kB / 1.247 GB, free: 11.03 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009576/1.477, allocations: 291.5 kB / 1.247 GB, free: 10.74 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001113/1.478, allocations: 0.8681 MB / 1.248 GB, free: 9.852 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001712/1.48, allocations: 118.9 kB / 1.248 GB, free: 9.734 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001704/1.48, allocations: 75.97 kB / 1.248 GB, free: 9.66 MB / 0.9512 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.0004237/1.481, allocations: 267.8 kB / 1.248 GB, free: 9.391 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007279/1.481, allocations: 249.1 kB / 1.249 GB, free: 9.145 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005268/1.487, allocations: 2.377 MB / 1.251 GB, free: 6.801 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.536e-05/1.487, allocations: 23.98 kB / 1.251 GB, free: 6.777 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.141e-05/1.487, allocations: 7.984 kB / 1.251 GB, free: 6.77 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003464/1.49, allocations: 1.802 MB / 1.253 GB, free: 4.914 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01004/1.5, allocations: 5.143 MB / 1.258 GB, free: 15.55 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.951e-05/1.5, allocations: 16.8 kB / 1.258 GB, free: 15.53 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008689/1.501, allocations: 239.6 kB / 1.258 GB, free: 15.3 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001383/1.503, allocations: 292.5 kB / 1.258 GB, free: 15.01 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001115/1.503, allocations: 55.91 kB / 1.258 GB, free: 14.95 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001089/1.504, allocations: 0.8716 MB / 1.259 GB, free: 14.06 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.506e-06/1.504, allocations: 8 kB / 1.259 GB, free: 14.05 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006293/1.51, allocations: 2.999 MB / 1.262 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001463/1.512, allocations: 0.5713 MB / 1.263 GB, free: 10.36 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004729/1.512, allocations: 43.92 kB / 1.263 GB, free: 10.32 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001295/1.513, allocations: 63.86 kB / 1.263 GB, free: 10.25 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003277/1.514, allocations: 137 kB / 1.263 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001478/1.514, allocations: 79.89 kB / 1.263 GB, free: 10.04 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.002547/1.516, allocations: 1.574 MB / 1.265 GB, free: 8.461 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.3e-07/1.516, allocations: 0 / 1.265 GB, free: 8.461 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.004454/1.521, allocations: 1.455 MB / 1.266 GB, free: 7.004 MB / 0.9669 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.00208/1.523, allocations: 0.9859 MB / 1.267 GB, free: 6.031 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.004883/1.528, allocations: 2.416 MB / 1.269 GB, free: 3.574 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.049e-05/1.528, allocations: 8.312 kB / 1.269 GB, free: 3.566 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001965/1.53, allocations: 1.031 MB / 1.27 GB, free: 2.512 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006456/1.536, allocations: 1.493 MB / 1.272 GB, free: 1.047 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007895/1.544, allocations: 4.865 MB / 1.277 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001374/1.546, allocations: 1.689 MB / 1.278 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.002603/1.548, allocations: 0.6619 MB / 1.279 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005723/1.549, allocations: 239.3 kB / 1.279 GB, free: 9.5 MB / 0.9825 GB Notification: Performance of SimCode: time 1.122e-06/1.549, allocations: 0 / 1.279 GB, free: 9.5 MB / 0.9825 GB Notification: Performance of Templates: time 0.1005/1.649, allocations: 60.49 MB / 1.338 GB, free: 13.73 MB / 1.045 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 -s cvode -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoBuriedPipes.pipe 2>&1)