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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.00685/0.00685, allocations: 99.73 kB / 15.73 MB, free: 5.594 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.00123/0.00123, allocations: 195.1 kB / 16.67 MB, free: 5.527 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.492/1.492, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.594/2.594, allocations: 461.9 MB / 0.7348 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 75.83 kB / 1.054 GB, free: 7.703 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.101/1.102, allocations: 157.4 MB / 1.208 GB, free: 13.67 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.BuriedPipes.Examples.SingleBuriedPipe): time 0.1156/1.218, allocations: 118.5 MB / 1.323 GB, free: 6.809 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.03948/1.257, allocations: 27.87 MB / 1.351 GB, free: 10.87 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006046/1.263, allocations: 127.2 kB / 1.351 GB, free: 10.75 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.004776/1.268, allocations: 1.568 MB / 1.352 GB, free: 9.168 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.01537/1.284, allocations: 4.813 MB / 1.357 GB, free: 4.336 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.008493/1.292, allocations: 3.16 MB / 1.36 GB, free: 1.188 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01291/1.305, allocations: 8.498 MB / 1.368 GB, free: 8.668 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007003/1.312, allocations: 2.672 MB / 1.371 GB, free: 5.93 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0102/1.322, allocations: 3.416 MB / 1.374 GB, free: 2.512 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004985/1.327, allocations: 2.337 MB / 1.377 GB, free: 168 kB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.001275/1.329, allocations: 292 kB / 1.377 GB, free: 15.88 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00836/1.337, allocations: 2.831 MB / 1.38 GB, free: 13.04 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.001627/1.339, allocations: 0.7317 MB / 1.38 GB, free: 12.31 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.003749/1.342, allocations: 1.699 MB / 1.382 GB, free: 10.6 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0135/1.356, allocations: 5.408 MB / 1.387 GB, free: 5.18 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 9.508e-06/1.356, allocations: 7.938 kB / 1.387 GB, free: 5.172 MB / 1.107 GB Notification: Performance of FrontEnd: time 3.156e-06/1.356, allocations: 0 / 1.387 GB, free: 5.172 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0001092/1.356, allocations: 4 kB / 1.387 GB, free: 5.168 MB / 1.107 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.008708/1.365, allocations: 3.573 MB / 1.391 GB, free: 1.527 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 6.251e-05/1.365, allocations: 8.031 kB / 1.391 GB, free: 1.52 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00125/1.366, allocations: 352 kB / 1.391 GB, free: 1.172 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0051/1.371, allocations: 2.657 MB / 1.394 GB, free: 14.45 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001011/1.371, allocations: 131.4 kB / 1.394 GB, free: 14.32 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000283/1.372, allocations: 179.9 kB / 1.394 GB, free: 14.14 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003462/1.375, allocations: 1.887 MB / 1.396 GB, free: 12.18 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.865e-05/1.375, allocations: 4 kB / 1.396 GB, free: 12.18 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001706/1.375, allocations: 71.98 kB / 1.396 GB, free: 12.11 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.69e-05/1.376, allocations: 51.98 kB / 1.396 GB, free: 12.06 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002445/1.378, allocations: 1.379 MB / 1.397 GB, free: 10.68 MB / 1.123 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.01273/1.391, allocations: 9.979 MB / 1.407 GB, free: 15.94 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001555/1.392, allocations: 0.9077 MB / 1.408 GB, free: 15.03 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008338/1.393, allocations: 0.5385 MB / 1.409 GB, free: 14.49 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002374/1.396, allocations: 3.072 MB / 1.412 GB, free: 10.74 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.464e-05/1.396, allocations: 55.55 kB / 1.412 GB, free: 10.68 MB / 1.139 GB Notification: Performance of pre-optimization done (n=120): time 3.417e-06/1.396, allocations: 4 kB / 1.412 GB, free: 10.67 MB / 1.139 GB Notification: Performance of matching and sorting (n=120): time 0.005695/1.401, allocations: 2.125 MB / 1.414 GB, free: 8.496 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.982e-05/1.401, allocations: 64.41 kB / 1.414 GB, free: 8.418 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003511/1.405, allocations: 2.252 MB / 1.416 GB, free: 6.156 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0001805/1.405, allocations: 53.7 kB / 1.416 GB, free: 6.098 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.001016/1.406, allocations: 1.174 MB / 1.417 GB, free: 4.91 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004474/1.407, allocations: 433.7 kB / 1.418 GB, free: 4.48 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003927/1.407, allocations: 287.3 kB / 1.418 GB, free: 4.195 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001363/1.407, allocations: 369.8 kB / 1.418 GB, free: 3.828 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007676/1.408, allocations: 452.6 kB / 1.419 GB, free: 3.383 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001041/1.409, allocations: 0.7791 MB / 1.419 GB, free: 2.473 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001863/1.411, allocations: 1.285 MB / 1.421 GB, free: 1.062 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.454e-06/1.411, allocations: 4 kB / 1.421 GB, free: 1.059 MB / 1.139 GB Notification: Performance of matching and sorting (n=179) (initialization): time 0.003906/1.415, allocations: 1.812 MB / 1.422 GB, free: 15.23 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/1.415, allocations: 8 kB / 1.422 GB, free: 15.22 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.064e-05/1.415, allocations: 12 kB / 1.422 GB, free: 15.21 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001427/1.416, allocations: 301.6 kB / 1.423 GB, free: 14.91 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000925/1.417, allocations: 291.5 kB / 1.423 GB, free: 14.62 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009839/1.418, allocations: 1.3 MB / 1.424 GB, free: 13.27 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001549/1.42, allocations: 154.7 kB / 1.424 GB, free: 13.12 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000132/1.42, allocations: 79.91 kB / 1.424 GB, free: 13.04 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001508/1.421, allocations: 0.8514 MB / 1.425 GB, free: 12.19 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00105/1.423, allocations: 0.7752 MB / 1.426 GB, free: 11.28 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001891/1.424, allocations: 1.285 MB / 1.427 GB, free: 9.871 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.412e-06/1.424, allocations: 4 kB / 1.427 GB, free: 9.867 MB / 1.154 GB Notification: Performance of matching and sorting (n=179) (initialization_lambda0): time 0.003945/1.428, allocations: 1.796 MB / 1.429 GB, free: 8.055 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/1.428, allocations: 8 kB / 1.429 GB, free: 8.047 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.903e-05/1.428, allocations: 16 kB / 1.429 GB, free: 8.031 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001297/1.43, allocations: 306 kB / 1.429 GB, free: 7.727 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008984/1.431, allocations: 283.5 kB / 1.43 GB, free: 7.449 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009554/1.432, allocations: 1.304 MB / 1.431 GB, free: 6.094 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001733/1.433, allocations: 118.9 kB / 1.431 GB, free: 5.977 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001429/1.434, allocations: 79.91 kB / 1.431 GB, free: 5.898 MB / 1.154 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.0005136/1.434, allocations: 264.4 kB / 1.431 GB, free: 5.633 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005293/1.435, allocations: 260.9 kB / 1.432 GB, free: 5.375 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004647/1.439, allocations: 2.323 MB / 1.434 GB, free: 3.082 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.595e-05/1.439, allocations: 19.98 kB / 1.434 GB, free: 3.062 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.458e-05/1.439, allocations: 3.984 kB / 1.434 GB, free: 3.059 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002943/1.442, allocations: 1.74 MB / 1.436 GB, free: 1.27 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00899/1.451, allocations: 5.117 MB / 1.441 GB, free: 11.93 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.794e-05/1.451, allocations: 11.98 kB / 1.441 GB, free: 11.91 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008258/1.452, allocations: 228.4 kB / 1.441 GB, free: 11.69 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009166/1.453, allocations: 229.5 kB / 1.441 GB, free: 11.46 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.233e-05/1.453, allocations: 55.97 kB / 1.441 GB, free: 11.41 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009032/1.454, allocations: 1.292 MB / 1.442 GB, free: 10.06 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.572e-06/1.454, allocations: 7.938 kB / 1.442 GB, free: 10.05 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005943/1.46, allocations: 2.948 MB / 1.445 GB, free: 7.008 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001586/1.462, allocations: 0.5867 MB / 1.446 GB, free: 6.398 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004168/1.462, allocations: 32.11 kB / 1.446 GB, free: 6.367 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001328/1.463, allocations: 67.8 kB / 1.446 GB, free: 6.301 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002775/1.464, allocations: 129 kB / 1.446 GB, free: 6.172 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001483/1.464, allocations: 79.94 kB / 1.446 GB, free: 6.094 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.003112/1.467, allocations: 1.659 MB / 1.448 GB, free: 4.434 MB / 1.17 GB Notification: Performance of sort global known variables: time 2.2e-07/1.467, allocations: 0 / 1.448 GB, free: 4.434 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.004337/1.471, allocations: 1.47 MB / 1.449 GB, free: 2.961 MB / 1.17 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.001854/1.473, allocations: 0.9932 MB / 1.45 GB, free: 1.984 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.00423/1.477, allocations: 2.303 MB / 1.452 GB, free: 15.64 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/1.477, allocations: 0 / 1.452 GB, free: 15.64 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001605/1.479, allocations: 0.9798 MB / 1.453 GB, free: 14.64 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006357/1.485, allocations: 1.492 MB / 1.455 GB, free: 13.17 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007292/1.493, allocations: 4.95 MB / 1.46 GB, free: 8.109 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001223/1.494, allocations: 1.71 MB / 1.461 GB, free: 6.367 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.002244/1.496, allocations: 0.6742 MB / 1.462 GB, free: 5.734 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005009/1.497, allocations: 239.3 kB / 1.462 GB, free: 5.5 MB / 1.186 GB Notification: Performance of SimCode: time 7.52e-07/1.497, allocations: 0 / 1.462 GB, free: 5.5 MB / 1.186 GB Notification: Performance of Templates: time 0.09395/1.591, allocations: 62.13 MB / 1.523 GB, free: 8.129 MB / 1.248 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)