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.691/1.691, allocations: 288.4 MB / 303.7 MB, free: 8.125 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.000987/0.0009869, allocations: 187.1 kB / 372.3 MB, free: 10.14 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.626/1.626, allocations: 205.4 MB / 0.631 GB, free: 9.918 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.0008908/0.000891, allocations: 98.23 kB / 0.7444 GB, free: 5.828 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000448/0.0004486, allocations: 11.91 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2741/0.2746, allocations: 115.3 MB / 0.9801 GB, free: 27.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.Pipe): time 0.03516/0.3098, allocations: 42.36 MB / 1.021 GB, free: 0.8945 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01683/0.3267, allocations: 10.67 MB / 1.032 GB, free: 6.211 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002635/0.3294, allocations: 47.69 kB / 1.032 GB, free: 6.164 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.002073/0.3315, allocations: 496.8 kB / 1.032 GB, free: 5.676 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.00683/0.3383, allocations: 1.852 MB / 1.034 GB, free: 3.816 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.004376/0.3427, allocations: 1.138 MB / 1.035 GB, free: 2.691 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.02543/0.3681, allocations: 24.81 MB / 1.06 GB, free: 9.816 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0121/0.3803, allocations: 7.292 MB / 1.067 GB, free: 2.434 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.5933/0.9736, allocations: 5.418 MB / 1.072 GB, free: 16.87 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01583/0.9895, allocations: 5.311 MB / 1.077 GB, free: 16.87 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.004034/0.9936, allocations: 288.1 kB / 1.077 GB, free: 16.87 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01232/1.006, allocations: 1.348 MB / 1.079 GB, free: 16.87 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.006517/1.013, allocations: 1.341 MB / 1.08 GB, free: 16.87 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.01721/1.03, allocations: 3.573 MB / 1.084 GB, free: 16.84 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.02187/1.052, allocations: 10.27 MB / 1.094 GB, free: 16.32 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.109e-05/1.052, allocations: 0 / 1.094 GB, free: 16.32 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.574e-06/1.052, allocations: 2.719 kB / 1.094 GB, free: 16.32 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0007893/1.053, allocations: 1.219 kB / 1.094 GB, free: 16.32 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.03009/1.083, allocations: 6.562 MB / 1.1 GB, free: 13.53 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.437e-05/1.083, allocations: 9.719 kB / 1.1 GB, free: 13.53 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007666/1.09, allocations: 0.8512 MB / 1.101 GB, free: 13.14 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02105/1.112, allocations: 7.617 MB / 1.108 GB, free: 12.06 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004843/1.112, allocations: 419.8 kB / 1.109 GB, free: 12.02 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002652/1.115, allocations: 0.5098 MB / 1.109 GB, free: 12.01 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02824/1.143, allocations: 7.63 MB / 1.117 GB, free: 11.12 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005372/1.144, allocations: 23.09 kB / 1.117 GB, free: 11.12 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003065/1.147, allocations: 225.8 kB / 1.117 GB, free: 11.12 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004477/1.147, allocations: 170.2 kB / 1.117 GB, free: 11.11 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02138/1.169, allocations: 6.038 MB / 1.123 GB, free: 10.12 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.05956/1.228, allocations: 29.25 MB / 1.151 GB, free: 8.871 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006415/1.235, allocations: 3.39 MB / 1.155 GB, free: 7.188 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003471/1.238, allocations: 1.948 MB / 1.157 GB, free: 6.207 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00124/1.239, allocations: 0.9989 MB / 1.158 GB, free: 5.113 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000106/1.24, allocations: 82.39 kB / 1.158 GB, free: 5.047 MB / 0.698 GB Notification: Performance of pre-optimization done (n=253): time 6.552e-06/1.24, allocations: 0 / 1.158 GB, free: 5.047 MB / 0.698 GB Notification: Performance of matching and sorting (n=253): time 0.01099/1.251, allocations: 4.664 MB / 1.162 GB, free: 2.73 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.179e-05/1.251, allocations: 80.78 kB / 1.162 GB, free: 2.66 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01754/1.268, allocations: 5.985 MB / 1.168 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.001446/1.27, allocations: 78.39 kB / 1.168 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.005293/1.275, allocations: 2.948 MB / 1.171 GB, free: 13 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.002793/1.278, allocations: 0.8961 MB / 1.172 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007603/1.279, allocations: 65.16 kB / 1.172 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0004242/1.279, allocations: 448.5 kB / 1.173 GB, free: 11.78 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00391/1.283, allocations: 1.623 MB / 1.174 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00475/1.288, allocations: 2.668 MB / 1.177 GB, free: 7.289 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009092/1.297, allocations: 4.584 MB / 1.181 GB, free: 2.371 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.428e-05/1.297, allocations: 8 kB / 1.181 GB, free: 2.363 MB / 0.7136 GB Notification: Performance of matching and sorting (n=436) (initialization): time 0.0147/1.312, allocations: 4.935 MB / 1.186 GB, free: 13.57 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.001378/1.313, allocations: 1.036 MB / 1.187 GB, free: 12.11 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.549e-05/1.313, allocations: 32 kB / 1.187 GB, free: 12.07 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001011/1.313, allocations: 51.98 kB / 1.187 GB, free: 12.02 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004159/1.318, allocations: 0.8118 MB / 1.188 GB, free: 11.27 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00137/1.319, allocations: 1.249 MB / 1.189 GB, free: 9.988 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008988/1.328, allocations: 0.6163 MB / 1.19 GB, free: 9.367 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007669/1.329, allocations: 156 kB / 1.19 GB, free: 9.215 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/1.329, allocations: 4 kB / 1.19 GB, free: 9.211 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009967/1.339, allocations: 4.428 MB / 1.194 GB, free: 4.945 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001308/1.339, allocations: 35.94 kB / 1.194 GB, free: 4.914 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.29e-05/1.339, allocations: 48 kB / 1.194 GB, free: 4.867 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003251/1.342, allocations: 0.7868 MB / 1.195 GB, free: 4.133 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001105/1.343, allocations: 70.09 kB / 1.195 GB, free: 4.078 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007672/1.35, allocations: 0.5545 MB / 1.196 GB, free: 3.52 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009242/1.351, allocations: 160 kB / 1.196 GB, free: 3.363 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.007352/1.359, allocations: 2.497 MB / 1.198 GB, free: 0.9062 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003076/1.362, allocations: 0.5443 MB / 1.199 GB, free: 364 kB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0104/1.372, allocations: 3.886 MB / 1.203 GB, free: 12.41 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.307e-05/1.372, allocations: 31.98 kB / 1.203 GB, free: 12.38 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.842e-05/1.372, allocations: 2.531 kB / 1.203 GB, free: 12.38 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005651/1.378, allocations: 2.989 MB / 1.206 GB, free: 9.34 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03045/1.408, allocations: 9.711 MB / 1.215 GB, free: 15.59 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-05/1.408, allocations: 0 / 1.215 GB, free: 15.59 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002826/1.411, allocations: 0.5915 MB / 1.216 GB, free: 15.02 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.18e-05/1.411, allocations: 12 kB / 1.216 GB, free: 15.01 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004364/1.412, allocations: 75.95 kB / 1.216 GB, free: 14.94 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007168/1.413, allocations: 1.196 MB / 1.217 GB, free: 13.7 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/1.413, allocations: 0 / 1.217 GB, free: 13.7 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01155/1.424, allocations: 5.628 MB / 1.222 GB, free: 7.969 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00626/1.43, allocations: 1.302 MB / 1.224 GB, free: 6.641 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003342/1.434, allocations: 59.98 kB / 1.224 GB, free: 6.582 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007624/1.441, allocations: 393.6 kB / 1.224 GB, free: 6.203 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008196/1.442, allocations: 153.9 kB / 1.224 GB, free: 6.051 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009553/1.443, allocations: 147.9 kB / 1.224 GB, free: 5.906 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.01172/1.455, allocations: 4.207 MB / 1.228 GB, free: 1.73 MB / 0.7605 GB Notification: Performance of sort global known variables: time 8.51e-07/1.455, allocations: 0 / 1.228 GB, free: 1.73 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.01987/1.475, allocations: 3.231 MB / 1.232 GB, free: 14.49 MB / 0.7761 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.002556/1.478, allocations: 493.2 kB / 1.232 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0137/1.491, allocations: 5.994 MB / 1.238 GB, free: 8.188 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.71e-05/1.491, allocations: 4.875 kB / 1.238 GB, free: 8.184 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.003771/1.495, allocations: 1.597 MB / 1.24 GB, free: 6.586 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02995/1.525, allocations: 3.883 MB / 1.243 GB, free: 2.777 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04062/1.566, allocations: 15.75 MB / 1.259 GB, free: 3 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009557/1.576, allocations: 4.515 MB / 1.263 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.01388/1.589, allocations: 2.857 MB / 1.266 GB, free: 11.6 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003677/1.593, allocations: 467.2 kB / 1.266 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of SimCode: time 2.645e-06/1.593, allocations: 0 / 1.266 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of Templates: time 0.2301/1.823, allocations: 126.7 MB / 1.39 GB, free: 13.22 MB / 0.9323 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)