Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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="mat",numberOfIntervals=5000,variableFilter="time|senTemInl.T|senTemOut.T|gro.soi.T|senTemInlRev.T|senTemOutRev.T|groRev.soi.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.SingleBuriedPipe") translateModel(Buildings.Fluid.FixedResistances.BuriedPipes.Examples.SingleBuriedPipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTemInl.T|senTemOut.T|gro.soi.T|senTemInlRev.T|senTemOutRev.T|groRev.soi.T",fileNamePrefix="Buildings_latest_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.007261/0.007261, allocations: 96.53 kB / 15.73 MB, free: 6.047 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.001551/0.001552, allocations: 196.8 kB / 16.67 MB, free: 5.977 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.496/1.496, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.086/3.086, allocations: 472.6 MB / 0.7453 GB, free: 4.656 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001342, allocations: 63.91 kB / 1.069 GB, free: 9.277 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4203/0.4216, allocations: 159.9 MB / 1.226 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.BuriedPipes.Examples.SingleBuriedPipe): time 0.9855/1.407, allocations: 118.5 MB / 1.341 GB, free: 3.254 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.05025/1.458, allocations: 27.88 MB / 1.369 GB, free: 15.21 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009783/1.467, allocations: 127.8 kB / 1.369 GB, free: 15.17 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.007089/1.475, allocations: 1.534 MB / 1.37 GB, free: 14.21 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.02238/1.497, allocations: 4.591 MB / 1.375 GB, free: 10.59 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.01224/1.509, allocations: 3.133 MB / 1.378 GB, free: 8.156 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01886/1.528, allocations: 8.486 MB / 1.386 GB, free: 3.152 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007156/1.535, allocations: 2.666 MB / 1.389 GB, free: 1.422 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01193/1.547, allocations: 3.343 MB / 1.392 GB, free: 15.4 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007049/1.554, allocations: 2.339 MB / 1.394 GB, free: 13.96 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.001931/1.556, allocations: 290.9 kB / 1.394 GB, free: 13.96 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01145/1.568, allocations: 2.835 MB / 1.397 GB, free: 12.42 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.002216/1.57, allocations: 0.7242 MB / 1.398 GB, free: 11.83 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.007016/1.577, allocations: 1.703 MB / 1.4 GB, free: 10.7 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.01975/1.597, allocations: 5.424 MB / 1.405 GB, free: 7.102 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 7.794e-06/1.597, allocations: 0 / 1.405 GB, free: 7.102 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.335e-06/1.597, allocations: 0 / 1.405 GB, free: 7.102 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0002306/1.597, allocations: 6.812 kB / 1.405 GB, free: 7.098 MB / 1.092 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.01247/1.61, allocations: 3.686 MB / 1.408 GB, free: 4.375 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.962e-05/1.61, allocations: 7.844 kB / 1.408 GB, free: 4.375 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00184/1.612, allocations: 367.8 kB / 1.409 GB, free: 4.129 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006614/1.618, allocations: 2.68 MB / 1.411 GB, free: 1.379 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001378/1.618, allocations: 127.4 kB / 1.412 GB, free: 1.254 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004457/1.619, allocations: 180 kB / 1.412 GB, free: 1.078 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004094/1.623, allocations: 1.891 MB / 1.414 GB, free: 15.12 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.384e-05/1.623, allocations: 0 / 1.414 GB, free: 15.12 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002041/1.623, allocations: 75.98 kB / 1.414 GB, free: 15.04 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.9e-05/1.623, allocations: 48 kB / 1.414 GB, free: 15 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003011/1.626, allocations: 1.375 MB / 1.415 GB, free: 13.62 MB / 1.107 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.01594/1.642, allocations: 9.997 MB / 1.425 GB, free: 2.867 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001802/1.644, allocations: 0.9216 MB / 1.426 GB, free: 1.941 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008956/1.645, allocations: 0.5347 MB / 1.426 GB, free: 1.406 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003026/1.648, allocations: 3.072 MB / 1.429 GB, free: 13.65 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.042e-05/1.648, allocations: 47.56 kB / 1.429 GB, free: 13.59 MB / 1.123 GB Notification: Performance of pre-optimization done (n=120): time 4.538e-06/1.648, allocations: 4 kB / 1.429 GB, free: 13.59 MB / 1.123 GB Notification: Performance of matching and sorting (n=120): time 0.006761/1.655, allocations: 2.142 MB / 1.431 GB, free: 11.4 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.868e-05/1.655, allocations: 64.41 kB / 1.431 GB, free: 11.32 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005781/1.661, allocations: 2.244 MB / 1.434 GB, free: 9.066 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0002132/1.661, allocations: 53.7 kB / 1.434 GB, free: 9.008 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.001381/1.663, allocations: 1.199 MB / 1.435 GB, free: 7.797 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005508/1.663, allocations: 452 kB / 1.435 GB, free: 7.352 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005555/1.664, allocations: 291.4 kB / 1.436 GB, free: 7.059 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001647/1.664, allocations: 357.9 kB / 1.436 GB, free: 6.703 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009529/1.665, allocations: 456.6 kB / 1.436 GB, free: 6.254 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001273/1.666, allocations: 0.7868 MB / 1.437 GB, free: 5.336 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002252/1.668, allocations: 1.292 MB / 1.438 GB, free: 3.914 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-05/1.668, allocations: 4 kB / 1.438 GB, free: 3.91 MB / 1.123 GB Notification: Performance of matching and sorting (n=179) (initialization): time 0.00474/1.673, allocations: 1.813 MB / 1.44 GB, free: 2.082 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 3.032e-05/1.673, allocations: 8 kB / 1.44 GB, free: 2.074 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.702e-05/1.673, allocations: 12 kB / 1.44 GB, free: 2.062 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00154/1.675, allocations: 297.6 kB / 1.44 GB, free: 1.766 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009883/1.676, allocations: 295.5 kB / 1.441 GB, free: 1.477 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001121/1.677, allocations: 1.304 MB / 1.442 GB, free: 124 kB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002214/1.679, allocations: 159.1 kB / 1.442 GB, free: 15.96 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002017/1.679, allocations: 71.97 kB / 1.442 GB, free: 15.89 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001819/1.681, allocations: 0.8514 MB / 1.443 GB, free: 15.04 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001209/1.682, allocations: 0.7791 MB / 1.444 GB, free: 14.12 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002065/1.684, allocations: 1.285 MB / 1.445 GB, free: 12.71 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.325e-05/1.684, allocations: 4 kB / 1.445 GB, free: 12.71 MB / 1.139 GB Notification: Performance of matching and sorting (n=179) (initialization_lambda0): time 0.00457/1.689, allocations: 1.801 MB / 1.447 GB, free: 10.89 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.634e-05/1.689, allocations: 15.94 kB / 1.447 GB, free: 10.88 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.41e-05/1.689, allocations: 15.98 kB / 1.447 GB, free: 10.86 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001397/1.691, allocations: 302 kB / 1.447 GB, free: 10.56 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009451/1.691, allocations: 283.5 kB / 1.447 GB, free: 10.29 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001066/1.693, allocations: 1.304 MB / 1.449 GB, free: 8.93 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002218/1.695, allocations: 119.3 kB / 1.449 GB, free: 8.812 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001936/1.695, allocations: 72.09 kB / 1.449 GB, free: 8.742 MB / 1.139 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 (165): * Single equations (assignments): 159 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0005028/1.696, allocations: 268.7 kB / 1.449 GB, free: 8.473 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001153/1.697, allocations: 278.3 kB / 1.449 GB, free: 8.199 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005428/1.702, allocations: 2.325 MB / 1.452 GB, free: 5.914 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-05/1.702, allocations: 27.98 kB / 1.452 GB, free: 5.887 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.621e-05/1.702, allocations: 0 / 1.452 GB, free: 5.887 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003169/1.705, allocations: 1.733 MB / 1.453 GB, free: 4.102 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01142/1.717, allocations: 5.134 MB / 1.458 GB, free: 14.75 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.288e-05/1.717, allocations: 12 kB / 1.458 GB, free: 14.74 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008878/1.718, allocations: 232.4 kB / 1.459 GB, free: 14.51 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001042/1.719, allocations: 233.5 kB / 1.459 GB, free: 14.28 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001461/1.719, allocations: 51.97 kB / 1.459 GB, free: 14.23 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001148/1.72, allocations: 1.292 MB / 1.46 GB, free: 12.88 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.037e-06/1.72, allocations: 11.94 kB / 1.46 GB, free: 12.87 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006213/1.726, allocations: 2.95 MB / 1.463 GB, free: 9.82 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002185/1.729, allocations: 0.6038 MB / 1.464 GB, free: 9.195 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001103/1.73, allocations: 39.98 kB / 1.464 GB, free: 9.156 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001962/1.732, allocations: 59.92 kB / 1.464 GB, free: 9.098 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002608/1.732, allocations: 137.1 kB / 1.464 GB, free: 8.961 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002027/1.732, allocations: 75.89 kB / 1.464 GB, free: 8.887 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.003994/1.736, allocations: 1.655 MB / 1.466 GB, free: 7.23 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.7e-07/1.736, allocations: 0 / 1.466 GB, free: 7.23 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.006538/1.743, allocations: 1.485 MB / 1.467 GB, free: 5.742 MB / 1.154 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.002961/1.746, allocations: 0.9994 MB / 1.468 GB, free: 4.754 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.005126/1.751, allocations: 2.303 MB / 1.47 GB, free: 2.41 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 1.064e-05/1.751, allocations: 0 / 1.47 GB, free: 2.41 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.001958/1.753, allocations: 0.9837 MB / 1.471 GB, free: 1.406 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009203/1.762, allocations: 1.498 MB / 1.473 GB, free: 15.94 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01015/1.772, allocations: 5.039 MB / 1.478 GB, free: 10.79 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001988/1.774, allocations: 1.706 MB / 1.479 GB, free: 9.047 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.004211/1.779, allocations: 0.6716 MB / 1.48 GB, free: 8.418 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001004/1.78, allocations: 239.3 kB / 1.48 GB, free: 8.184 MB / 1.17 GB Notification: Performance of SimCode: time 1.583e-06/1.78, allocations: 0 / 1.48 GB, free: 8.184 MB / 1.17 GB Notification: Performance of Templates: time 0.1053/1.885, allocations: 62.14 MB / 1.541 GB, free: 10.78 MB / 1.232 GB make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.SingleBuriedPipe.makefile (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.SingleBuriedPipe.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.SingleBuriedPipe.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.SingleBuriedPipe.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.SingleBuriedPipe.sim & ./Buildings_latest_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.SingleBuriedPipe -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.SingleBuriedPipe.pipe 2>&1)