Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.DiscretizedBuriedPipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "[:1:22-1:33:writable] Warning: Modelica only supports 32-bit signed integers! Transforming: 13743895347 into a real Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0002469/0.0002469, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0002688/0.0002688, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.1064/0.1064, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 0.2511/0.2511, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: simulate(Buildings.Fluid.FixedResistances.BuriedPipes.Examples.DiscretizedBuriedPipe,startTime=0,stopTime=6.3072e+07,tolerance=1e-06,numberOfIntervals=2500,outputFormat="mat",variableFilter="time|senTemInl.T|senTemOut.T|gro.soi.T|senTemInlRev.T|senTemOutRev.T|groRev.soi.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.DiscretizedBuriedPipe",simflags="-abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") simulate(Buildings.Fluid.FixedResistances.BuriedPipes.Examples.DiscretizedBuriedPipe,startTime=0,stopTime=6.3072e+07,tolerance=1e-06,numberOfIntervals=2500,outputFormat="mat",variableFilter="time|senTemInl.T|senTemOut.T|gro.soi.T|senTemInlRev.T|senTemOutRev.T|groRev.soi.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.DiscretizedBuriedPipe",simflags="-abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") [Timeout 540] "Notification: Performance of FrontEnd - loaded program: time 1.452e-06/1.452e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 1.622e-05/1.767e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.BuriedPipes.Examples.DiscretizedBuriedPipe): time 0.03228/0.03229, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.03228/0.06457, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.006179/0.07075, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.004352/0.0751, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.01221/0.08731, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.007086/0.0944, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.03668/0.1311, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.01923/0.1503, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.04635/0.1967, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.0319/0.2286, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 0.007122/0.2357, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.01367/0.2494, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.02452/0.2739, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.03375/0.3076, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.05567/0.3633, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 0.011/0.3743, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 2.966e-06/0.3743, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 0.00103/0.3753, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2245 * Number of variables: 2245 Notification: Performance of Generate backend data structure: time 0.05229/0.4276, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 0.001597/0.4292, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02056/0.4498, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.05354/0.5033, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001733/0.505, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.007153/0.5122, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.04441/0.5566, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 0.000467/0.5571, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003958/0.561, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005322/0.5616, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01813/0.5797, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07369/0.6534, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.006539/0.6599, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.0028/0.6627, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 0.0007581/0.6635, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001854/0.6637, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=512): time 2.946e-05/0.6637, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=512): time 0.01609/0.6798, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001062/0.6799, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0251/0.705, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 0.002278/0.7073, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.005708/0.713, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.003549/0.7165, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.003474/0.72, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 7.14e-05/0.7201, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.002385/0.7225, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.003156/0.7256, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.006758/0.7324, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001091/0.7325, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=883) (initialization): time 0.01604/0.7485, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001725/0.7487, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004145/0.7491, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 0.01111/0.7602, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005697/0.7659, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003963/0.7699, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00828/0.7782, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002766/0.7809, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01034/0.7913, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004281/0.7955, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007682/0.8032, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001208/0.8033, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=883) (initialization_lambda0): time 0.02146/0.8248, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001288/0.8249, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005103/0.8255, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 0.0072/0.8327, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005689/0.8383, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004144/0.8425, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008629/0.8511, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002749/0.8539, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 292 * 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 (799): * Single equations (assignments): 763 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 24 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * 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): 12 systems {(2,4), (2,4), (2,4), (2,4), (2,4), (2,4), (2,4), (2,4), (2,4), (2,4), (2,4), (2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.006751/0.8606, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003745/0.8644, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02058/0.8849, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001818/0.8851, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 1.8e-05/0.8851, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008067/0.8932, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03639/0.9296, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002272/0.9298, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003049/0.9329, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 0.007734/0.9406, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001432/0.942, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002739/0.9448, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-05/0.9448, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01329/0.9581, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.005439/0.9635, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004444/0.968, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004988/0.973, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002006/0.975, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001013/0.976, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.00833/0.9843, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 0.0008953/0.9852, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.01935/1.005, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 55 * Number of states: 52 (pip.pipSeg[1].del.x,pip.pipSeg[1].timDel.x,pip.pipSeg[1].vol_b.dynBal.U,pip.pipSeg[1].vol_a.dynBal.U,pip.pipSeg[2].del.x,pip.pipSeg[2].timDel.x,pip.pipSeg[2].vol_b.dynBal.U,pip.pipSeg[2].vol_a.dynBal.U,senTemInl.T,senTemOut.T,pipRev.pipSeg[1].del.x,pipRev.pipSeg[1].timDel.x,pipRev.pipSeg[1].vol_b.dynBal.U,pipRev.pipSeg[1].vol_a.dynBal.U,pipRev.pipSeg[2].del.x,pipRev.pipSeg[2].timDel.x,pipRev.pipSeg[2].vol_b.dynBal.U,pipRev.pipSeg[2].vol_a.dynBal.U,pipRev.pipSeg[3].del.x,pipRev.pipSeg[3].timDel.x,pipRev.pipSeg[3].vol_b.dynBal.U,pipRev.pipSeg[3].vol_a.dynBal.U,pipRev.pipSeg[4].del.x,pipRev.pipSeg[4].timDel.x,pipRev.pipSeg[4].vol_b.dynBal.U,pipRev.pipSeg[4].vol_a.dynBal.U,pipRev.pipSeg[5].del.x,pipRev.pipSeg[5].timDel.x,pipRev.pipSeg[5].vol_b.dynBal.U,pipRev.pipSeg[5].vol_a.dynBal.U,pipRev.pipSeg[6].del.x,pipRev.pipSeg[6].timDel.x,pipRev.pipSeg[6].vol_b.dynBal.U,pipRev.pipSeg[6].vol_a.dynBal.U,pipRev.pipSeg[7].del.x,pipRev.pipSeg[7].timDel.x,pipRev.pipSeg[7].vol_b.dynBal.U,pipRev.pipSeg[7].vol_a.dynBal.U,pipRev.pipSeg[8].del.x,pipRev.pipSeg[8].timDel.x,pipRev.pipSeg[8].vol_b.dynBal.U,pipRev.pipSeg[8].vol_a.dynBal.U,pipRev.pipSeg[9].del.x,pipRev.pipSeg[9].timDel.x,pipRev.pipSeg[9].vol_b.dynBal.U,pipRev.pipSeg[9].vol_a.dynBal.U,pipRev.pipSeg[10].del.x,pipRev.pipSeg[10].timDel.x,pipRev.pipSeg[10].vol_b.dynBal.U,pipRev.pipSeg[10].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 (571): * Single equations (assignments): 453 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 106 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * 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): 12 systems {(1,7), (1,7), (1,7), (1,7), (1,7), (1,7), (1,7), (1,7), (1,7), (1,7), (1,7), (1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006362/1.011, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.01564/1.027, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 6.826e-05/1.027, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.004822/1.031, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02614/1.058, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04216/1.1, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007145/1.107, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.01265/1.12, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01991/1.139, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 0.001828/1.141, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.07793/1.219, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 506] [Calling sys.exit(0), Time elapsed: 34.78892094269395]