Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.Pipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Examples.Pipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.Pipe") translateModel(Buildings.Fluid.FixedResistances.Examples.Pipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.Pipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.87/1.87, allocations: 288.3 MB / 303.2 MB, free: 8.23 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001141/0.001141, allocations: 176 kB / 371.8 MB, free: 10.3 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.85/1.85, allocations: 205.4 MB / 0.6306 GB, free: 9.945 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001196/0.001196, allocations: 97.2 kB / 0.7439 GB, free: 5.855 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003927/0.0003927, allocations: 11.34 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2689/0.2693, allocations: 115.3 MB / 0.9794 GB, free: 27.73 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.Pipe): time 0.04648/0.3158, allocations: 38.48 MB / 1.017 GB, free: 5.137 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.02048/0.3364, allocations: 9.839 MB / 1.027 GB, free: 11.29 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002811/0.3392, allocations: 47.69 kB / 1.027 GB, free: 11.24 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.003986/0.3433, allocations: 0.6219 MB / 1.027 GB, free: 10.61 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.009783/0.3531, allocations: 1.941 MB / 1.029 GB, free: 8.668 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.007099/0.3602, allocations: 1.546 MB / 1.031 GB, free: 7.148 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.02007/0.3803, allocations: 12.03 MB / 1.042 GB, free: 11.1 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01347/0.3938, allocations: 6.419 MB / 1.049 GB, free: 4.609 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01398/0.4078, allocations: 4.57 MB / 1.053 GB, free: 24 kB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0117/0.4196, allocations: 3.687 MB / 1.057 GB, free: 12.32 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.003442/0.4231, allocations: 288 kB / 1.057 GB, free: 12.04 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009692/0.4329, allocations: 0.995 MB / 1.058 GB, free: 11.04 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.004575/0.4375, allocations: 1.288 MB / 1.059 GB, free: 9.75 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.005685/0.4432, allocations: 1.565 MB / 1.061 GB, free: 8.176 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.5875/1.031, allocations: 10.09 MB / 1.071 GB, free: 24.46 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.75e-06/1.031, allocations: 0 / 1.071 GB, free: 24.46 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.227e-06/1.031, allocations: 0 / 1.071 GB, free: 24.46 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0005668/1.031, allocations: 1.094 kB / 1.071 GB, free: 24.46 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1302 * Number of variables: 1302 Notification: Performance of Generate backend data structure: time 0.02305/1.055, allocations: 6.617 MB / 1.077 GB, free: 21.73 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.079e-05/1.055, allocations: 9.219 kB / 1.077 GB, free: 21.73 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007593/1.062, allocations: 0.8476 MB / 1.078 GB, free: 21.34 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02417/1.086, allocations: 6.829 MB / 1.085 GB, free: 20.51 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00108/1.088, allocations: 415.3 kB / 1.085 GB, free: 20.47 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004385/1.092, allocations: 0.5061 MB / 1.085 GB, free: 20.46 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0264/1.118, allocations: 7.59 MB / 1.093 GB, free: 19.57 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001906/1.119, allocations: 23.48 kB / 1.093 GB, free: 19.57 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001045/1.12, allocations: 225.2 kB / 1.093 GB, free: 19.57 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003094/1.12, allocations: 171.5 kB / 1.093 GB, free: 19.57 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01748/1.137, allocations: 6.039 MB / 1.099 GB, free: 19.52 MB / 0.6823 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.05729/1.195, allocations: 29.6 MB / 1.128 GB, free: 21.25 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008287/1.203, allocations: 3.598 MB / 1.132 GB, free: 20.59 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001406/1.205, allocations: 0.9995 MB / 1.133 GB, free: 19.52 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001543/1.205, allocations: 79.14 kB / 1.133 GB, free: 19.47 MB / 0.698 GB Notification: Performance of pre-optimization done (n=253): time 7.153e-06/1.205, allocations: 0 / 1.133 GB, free: 19.47 MB / 0.698 GB Notification: Performance of matching and sorting (n=253): time 0.01269/1.218, allocations: 4.653 MB / 1.137 GB, free: 18.42 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.546e-05/1.218, allocations: 87.98 kB / 1.137 GB, free: 18.35 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01424/1.232, allocations: 6.572 MB / 1.144 GB, free: 15.27 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.001022/1.233, allocations: 87.14 kB / 1.144 GB, free: 15.2 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.00388/1.237, allocations: 2.945 MB / 1.147 GB, free: 12.64 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.002225/1.239, allocations: 0.8986 MB / 1.148 GB, free: 11.87 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006264/1.24, allocations: 75 kB / 1.148 GB, free: 11.81 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000453/1.24, allocations: 445.6 kB / 1.148 GB, free: 11.41 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003321/1.244, allocations: 1.614 MB / 1.15 GB, free: 10.58 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004208/1.248, allocations: 2.652 MB / 1.152 GB, free: 8.414 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003905/1.252, allocations: 2.205 MB / 1.154 GB, free: 7.25 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.153e-05/1.252, allocations: 11.84 kB / 1.154 GB, free: 7.25 MB / 0.698 GB Notification: Performance of matching and sorting (n=436) (initialization): time 0.01086/1.263, allocations: 4.911 MB / 1.159 GB, free: 4.922 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.005438/1.268, allocations: 15.03 MB / 1.174 GB, free: 4.898 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.732e-05/1.268, allocations: 28.72 kB / 1.174 GB, free: 4.898 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001065/1.268, allocations: 54.84 kB / 1.174 GB, free: 4.898 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003971/1.272, allocations: 0.8794 MB / 1.175 GB, free: 4.738 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008512/1.273, allocations: 1.253 MB / 1.176 GB, free: 3.527 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007606/1.281, allocations: 0.6582 MB / 1.177 GB, free: 2.957 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009469/1.282, allocations: 160 kB / 1.177 GB, free: 2.801 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/1.282, allocations: 7.188 kB / 1.177 GB, free: 2.797 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0101/1.292, allocations: 4.412 MB / 1.181 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001186/1.292, allocations: 32.97 kB / 1.181 GB, free: 14.51 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.197e-05/1.292, allocations: 52 kB / 1.181 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003416/1.296, allocations: 0.8672 MB / 1.182 GB, free: 13.65 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001011/1.296, allocations: 70.33 kB / 1.182 GB, free: 13.59 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006773/1.303, allocations: 0.5967 MB / 1.183 GB, free: 13 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008878/1.304, allocations: 158.4 kB / 1.183 GB, free: 12.84 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 142 * 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 (436): * Single equations (assignments): 434 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006619/1.31, allocations: 2.493 MB / 1.185 GB, free: 10.39 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003215/1.313, allocations: 0.552 MB / 1.186 GB, free: 9.832 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009364/1.323, allocations: 3.878 MB / 1.19 GB, free: 5.906 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.838e-05/1.323, allocations: 24 kB / 1.19 GB, free: 5.883 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.812e-05/1.323, allocations: 3.953 kB / 1.19 GB, free: 5.879 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005597/1.329, allocations: 2.981 MB / 1.193 GB, free: 2.848 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02943/1.358, allocations: 9.885 MB / 1.202 GB, free: 8.926 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.244e-05/1.358, allocations: 0 / 1.202 GB, free: 8.926 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002541/1.361, allocations: 0.5546 MB / 1.203 GB, free: 8.395 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.2e-05/1.361, allocations: 8 kB / 1.203 GB, free: 8.387 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003554/1.361, allocations: 79.95 kB / 1.203 GB, free: 8.309 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000737/1.362, allocations: 1.184 MB / 1.204 GB, free: 7.082 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-06/1.362, allocations: 3.953 kB / 1.204 GB, free: 7.078 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01053/1.372, allocations: 5.738 MB / 1.21 GB, free: 1.227 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006033/1.378, allocations: 1.427 MB / 1.211 GB, free: 15.77 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003116/1.382, allocations: 59.98 kB / 1.211 GB, free: 15.71 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007425/1.389, allocations: 397 kB / 1.211 GB, free: 15.33 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004672/1.39, allocations: 149.8 kB / 1.212 GB, free: 15.18 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008019/1.39, allocations: 150.6 kB / 1.212 GB, free: 15.04 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.01483/1.405, allocations: 4.675 MB / 1.216 GB, free: 10.39 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.383e-06/1.405, allocations: 4 kB / 1.216 GB, free: 10.39 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0177/1.423, allocations: 3.277 MB / 1.219 GB, free: 7.102 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 22 (pip.vol[1].dynBal.U,pip.vol[2].dynBal.U,pip.vol[3].dynBal.U,pip.vol[4].dynBal.U,pip.vol[5].dynBal.U,pip.vol[6].dynBal.U,pip.vol[7].dynBal.U,pip.vol[8].dynBal.U,pip.vol[9].dynBal.U,pip.vol[10].dynBal.U,pip1.vol[1].dynBal.U,pip1.vol[2].dynBal.U,pip1.vol[3].dynBal.U,pip1.vol[4].dynBal.U,pip1.vol[5].dynBal.U,pip1.vol[6].dynBal.U,pip1.vol[7].dynBal.U,pip1.vol[8].dynBal.U,pip1.vol[9].dynBal.U,pip1.vol[10].dynBal.U,senTem.T,senTem1.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 (259): * Single equations (assignments): 251 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002101/1.425, allocations: 0.4893 MB / 1.22 GB, free: 6.668 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.01266/1.438, allocations: 5.98 MB / 1.226 GB, free: 0.8828 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.477e-05/1.438, allocations: 8.75 kB / 1.226 GB, free: 0.8711 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.003156/1.441, allocations: 1.585 MB / 1.227 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02317/1.464, allocations: 3.891 MB / 1.231 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04177/1.506, allocations: 15.66 MB / 1.246 GB, free: 11.86 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0072/1.513, allocations: 4.628 MB / 1.251 GB, free: 7.203 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.011/1.524, allocations: 2.891 MB / 1.254 GB, free: 4.312 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002024/1.526, allocations: 478.6 kB / 1.254 GB, free: 3.852 MB / 0.7917 GB Notification: Performance of SimCode: time 8.62e-07/1.526, allocations: 0 / 1.254 GB, free: 3.852 MB / 0.7917 GB Notification: Performance of Templates: time 0.215/1.742, allocations: 127.8 MB / 1.379 GB, free: 5.219 MB / 0.9167 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.Pipe.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.Pipe.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.Pipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe 2>&1)