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.001561/0.001561, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002483/0.002483, allocations: 193.3 kB / 16.53 MB, free: 6.391 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.452/1.452, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.127/3.127, allocations: 472.6 MB / 0.7451 GB, free: 4.664 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 63.02 kB / 0.912 GB, free: 33.33 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.382/0.3832, allocations: 159.9 MB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.BuriedPipes.Examples.SingleBuriedPipe): time 0.1087/0.492, allocations: 118.5 MB / 1.184 GB, free: 3.547 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.03717/0.5292, allocations: 27.88 MB / 1.211 GB, free: 7.594 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005412/0.5347, allocations: 127.2 kB / 1.211 GB, free: 7.469 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.00491/0.5396, allocations: 1.517 MB / 1.213 GB, free: 5.941 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.01383/0.5535, allocations: 4.609 MB / 1.217 GB, free: 1.312 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.01064/0.5642, allocations: 3.117 MB / 1.22 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.01479/0.579, allocations: 8.462 MB / 1.229 GB, free: 5.727 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00617/0.5852, allocations: 2.668 MB / 1.231 GB, free: 2.996 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01071/0.5959, allocations: 3.315 MB / 1.234 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006969/0.6029, allocations: 2.338 MB / 1.237 GB, free: 13.33 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.002173/0.6051, allocations: 296 kB / 1.237 GB, free: 13.04 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01081/0.616, allocations: 2.823 MB / 1.24 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.00221/0.6182, allocations: 0.7278 MB / 1.24 GB, free: 9.484 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.005894/0.6241, allocations: 1.703 MB / 1.242 GB, free: 7.773 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01698/0.6411, allocations: 5.352 MB / 1.247 GB, free: 2.406 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 9.167e-06/0.6412, allocations: 0 / 1.247 GB, free: 2.406 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.655e-06/0.6412, allocations: 0 / 1.247 GB, free: 2.406 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0002273/0.6415, allocations: 0 / 1.247 GB, free: 2.406 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.7711/1.413, allocations: 3.579 MB / 1.251 GB, free: 177.6 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.821e-05/1.413, allocations: 9.75 kB / 1.251 GB, free: 177.6 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001492/1.414, allocations: 347.3 kB / 1.251 GB, free: 177.4 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006067/1.42, allocations: 2.536 MB / 1.254 GB, free: 176.8 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000136/1.42, allocations: 129.1 kB / 1.254 GB, free: 176.8 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003529/1.421, allocations: 183.6 kB / 1.254 GB, free: 176.8 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003827/1.425, allocations: 1.893 MB / 1.256 GB, free: 176.5 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.503e-05/1.425, allocations: 1.969 kB / 1.256 GB, free: 176.5 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001666/1.425, allocations: 68.03 kB / 1.256 GB, free: 176.5 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.323e-05/1.425, allocations: 56.3 kB / 1.256 GB, free: 176.5 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002598/1.428, allocations: 1.379 MB / 1.257 GB, free: 176.3 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.01353/1.441, allocations: 10.04 MB / 1.267 GB, free: 169 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001614/1.443, allocations: 0.9149 MB / 1.268 GB, free: 168.7 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008492/1.444, allocations: 0.5319 MB / 1.268 GB, free: 168.5 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001982/1.446, allocations: 3.081 MB / 1.271 GB, free: 165 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.994e-05/1.446, allocations: 47.06 kB / 1.271 GB, free: 164.9 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=120): time 3.807e-06/1.446, allocations: 0 / 1.271 GB, free: 164.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=120): time 0.006015/1.452, allocations: 2.127 MB / 1.274 GB, free: 164 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.601e-05/1.452, allocations: 63.12 kB / 1.274 GB, free: 164 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004664/1.456, allocations: 2.245 MB / 1.276 GB, free: 163.1 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002635/1.457, allocations: 52.3 kB / 1.276 GB, free: 163.1 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0011/1.458, allocations: 1.179 MB / 1.277 GB, free: 162.2 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005765/1.458, allocations: 438.5 kB / 1.277 GB, free: 161.8 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005267/1.459, allocations: 284.6 kB / 1.278 GB, free: 161.7 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001386/1.459, allocations: 356.1 kB / 1.278 GB, free: 161.4 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009112/1.46, allocations: 459.3 kB / 1.278 GB, free: 161.2 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001206/1.461, allocations: 0.7876 MB / 1.279 GB, free: 160.6 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002476/1.464, allocations: 1.288 MB / 1.28 GB, free: 159.8 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.347e-05/1.464, allocations: 6.469 kB / 1.281 GB, free: 159.8 MB / 0.9981 GB Notification: Performance of matching and sorting (n=179) (initialization): time 0.004625/1.468, allocations: 1.797 MB / 1.282 GB, free: 159.1 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.668e-05/1.468, allocations: 9.969 kB / 1.282 GB, free: 159.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.112e-05/1.468, allocations: 14.14 kB / 1.282 GB, free: 159.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001451/1.47, allocations: 319.1 kB / 1.283 GB, free: 159 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009101/1.471, allocations: 285 kB / 1.283 GB, free: 159 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000885/1.472, allocations: 1.301 MB / 1.284 GB, free: 157.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002115/1.474, allocations: 154.2 kB / 1.284 GB, free: 157.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001736/1.474, allocations: 79.39 kB / 1.284 GB, free: 157.8 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001762/1.476, allocations: 0.8464 MB / 1.285 GB, free: 157.3 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001108/1.477, allocations: 0.7804 MB / 1.286 GB, free: 156.8 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001856/1.479, allocations: 1.283 MB / 1.287 GB, free: 156 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.895e-06/1.479, allocations: 5.531 kB / 1.287 GB, free: 156 MB / 0.9981 GB Notification: Performance of matching and sorting (n=179) (initialization_lambda0): time 0.005847/1.485, allocations: 1.79 MB / 1.289 GB, free: 155.3 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.047e-05/1.485, allocations: 11.59 kB / 1.289 GB, free: 155.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.83e-05/1.485, allocations: 15.75 kB / 1.289 GB, free: 155.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001695/1.486, allocations: 308.7 kB / 1.289 GB, free: 155.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001215/1.488, allocations: 291.1 kB / 1.29 GB, free: 155.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001201/1.489, allocations: 1.298 MB / 1.291 GB, free: 154 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002765/1.492, allocations: 120.2 kB / 1.291 GB, free: 153.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002607/1.492, allocations: 70.08 kB / 1.291 GB, free: 153.9 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 (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.0005783/1.493, allocations: 272.1 kB / 1.291 GB, free: 153.7 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00089/1.493, allocations: 261.1 kB / 1.292 GB, free: 153.5 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005166/1.499, allocations: 2.33 MB / 1.294 GB, free: 152.7 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.922e-05/1.499, allocations: 26.05 kB / 1.294 GB, free: 152.7 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-05/1.499, allocations: 0 / 1.294 GB, free: 152.7 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003082/1.502, allocations: 1.737 MB / 1.295 GB, free: 151.9 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01089/1.513, allocations: 5.116 MB / 1.3 GB, free: 148.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.618e-05/1.513, allocations: 13.89 kB / 1.301 GB, free: 148.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000847/1.514, allocations: 232.5 kB / 1.301 GB, free: 148.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009655/1.515, allocations: 232.4 kB / 1.301 GB, free: 148.8 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.752e-05/1.515, allocations: 46.2 kB / 1.301 GB, free: 148.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007701/1.516, allocations: 1.301 MB / 1.302 GB, free: 147.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.133e-06/1.516, allocations: 10.69 kB / 1.302 GB, free: 147.6 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005713/1.521, allocations: 2.951 MB / 1.305 GB, free: 145.9 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001682/1.523, allocations: 0.582 MB / 1.306 GB, free: 145.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004218/1.523, allocations: 44.84 kB / 1.306 GB, free: 145.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001268/1.525, allocations: 61.02 kB / 1.306 GB, free: 145.3 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002351/1.525, allocations: 138.5 kB / 1.306 GB, free: 145.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001197/1.525, allocations: 75.2 kB / 1.306 GB, free: 145.2 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002832/1.528, allocations: 1.652 MB / 1.308 GB, free: 144.3 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.6e-07/1.528, allocations: 0 / 1.308 GB, free: 144.3 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00485/1.533, allocations: 1.47 MB / 1.309 GB, free: 144.1 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.00202/1.535, allocations: 0.9852 MB / 1.31 GB, free: 143.7 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.005325/1.54, allocations: 2.464 MB / 1.312 GB, free: 142.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 9.838e-06/1.54, allocations: 3.938 kB / 1.312 GB, free: 142.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001269/1.541, allocations: 0.9849 MB / 1.313 GB, free: 142 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005762/1.547, allocations: 1.498 MB / 1.315 GB, free: 141.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006165/1.553, allocations: 5.019 MB / 1.32 GB, free: 136.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008484/1.554, allocations: 1.702 MB / 1.321 GB, free: 135 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002242/1.556, allocations: 0.677 MB / 1.322 GB, free: 134.3 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004202/1.557, allocations: 243.3 kB / 1.322 GB, free: 134.1 MB / 0.9981 GB Notification: Performance of SimCode: time 7.21e-07/1.557, allocations: 0 / 1.322 GB, free: 134.1 MB / 0.9981 GB Notification: Performance of Templates: time 0.09198/1.649, allocations: 64.32 MB / 1.385 GB, free: 70.65 MB / 0.9981 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)