Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.Pipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Examples.Pipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.Pipe") translateModel(Buildings.Fluid.FixedResistances.Examples.Pipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.Pipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.574/2.574, allocations: 287.5 MB / 302.4 MB, free: 8.219 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.00136/0.00136, allocations: 190 kB / 371 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.206/2.206, allocations: 205.4 MB / 0.6297 GB, free: 10.61 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.001055/0.001055, allocations: 97.59 kB / 0.743 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005132/0.0005135, allocations: 12.03 kB / 0.8658 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2454/0.246, allocations: 115.3 MB / 0.9783 GB, free: 28.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.Pipe): time 0.06884/0.3149, allocations: 42.36 MB / 1.02 GB, free: 1.891 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0241/0.339, allocations: 10.67 MB / 1.03 GB, free: 7.207 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002461/0.3416, allocations: 51.69 kB / 1.03 GB, free: 7.156 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.002761/0.3444, allocations: 488.8 kB / 1.031 GB, free: 6.676 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.008046/0.3525, allocations: 1.728 MB / 1.032 GB, free: 4.941 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.005589/0.3581, allocations: 1.109 MB / 1.033 GB, free: 3.844 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.04671/0.4048, allocations: 24.72 MB / 1.058 GB, free: 11.05 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01554/0.4204, allocations: 6.41 MB / 1.064 GB, free: 4.574 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.7007/1.121, allocations: 5.442 MB / 1.069 GB, free: 16.44 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01472/1.136, allocations: 5.318 MB / 1.074 GB, free: 16.44 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.003542/1.14, allocations: 288 kB / 1.075 GB, free: 16.44 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01079/1.15, allocations: 1.08 MB / 1.076 GB, free: 16.44 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.005479/1.156, allocations: 1.34 MB / 1.077 GB, free: 16.44 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.006438/1.162, allocations: 1.57 MB / 1.078 GB, free: 16.41 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.02079/1.183, allocations: 10.19 MB / 1.088 GB, free: 15.89 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/1.183, allocations: 1.062 kB / 1.088 GB, free: 15.89 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.467e-06/1.183, allocations: 0 / 1.088 GB, free: 15.89 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0005079/1.184, allocations: 1.281 kB / 1.088 GB, free: 15.89 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.02819/1.212, allocations: 6.64 MB / 1.095 GB, free: 13.12 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.955e-05/1.212, allocations: 9.688 kB / 1.095 GB, free: 13.12 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00715/1.219, allocations: 0.8449 MB / 1.096 GB, free: 12.73 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02533/1.245, allocations: 7.438 MB / 1.103 GB, free: 11.83 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008085/1.245, allocations: 415.1 kB / 1.103 GB, free: 11.79 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002932/1.248, allocations: 0.5139 MB / 1.104 GB, free: 11.78 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03222/1.281, allocations: 7.636 MB / 1.111 GB, free: 10.89 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000505/1.281, allocations: 17.12 kB / 1.111 GB, free: 10.89 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00312/1.284, allocations: 223.3 kB / 1.112 GB, free: 10.89 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003747/1.285, allocations: 169.7 kB / 1.112 GB, free: 10.89 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02285/1.308, allocations: 6.042 MB / 1.118 GB, free: 10.84 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.06995/1.378, allocations: 29.24 MB / 1.146 GB, free: 10.18 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01388/1.392, allocations: 3.386 MB / 1.15 GB, free: 9.168 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008639/1.4, allocations: 1.952 MB / 1.151 GB, free: 8.18 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002778/1.403, allocations: 1.004 MB / 1.152 GB, free: 7.086 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001999/1.403, allocations: 75.41 kB / 1.152 GB, free: 7.02 MB / 0.698 GB Notification: Performance of pre-optimization done (n=253): time 1.157e-05/1.403, allocations: 0 / 1.152 GB, free: 7.02 MB / 0.698 GB Notification: Performance of matching and sorting (n=253): time 0.02523/1.429, allocations: 4.678 MB / 1.157 GB, free: 4.691 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000105/1.429, allocations: 83 kB / 1.157 GB, free: 4.621 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02573/1.455, allocations: 5.966 MB / 1.163 GB, free: 1.598 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.001378/1.456, allocations: 87.23 kB / 1.163 GB, free: 1.527 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.007622/1.464, allocations: 2.943 MB / 1.166 GB, free: 14.97 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.003188/1.467, allocations: 0.899 MB / 1.167 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007907/1.468, allocations: 70.69 kB / 1.167 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000689/1.469, allocations: 443.9 kB / 1.167 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008114/1.477, allocations: 1.631 MB / 1.169 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009233/1.486, allocations: 2.666 MB / 1.171 GB, free: 10.74 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01003/1.496, allocations: 2.207 MB / 1.174 GB, free: 9.582 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001265/1.496, allocations: 11.81 kB / 1.174 GB, free: 9.582 MB / 0.7136 GB Notification: Performance of matching and sorting (n=436) (initialization): time 0.01986/1.516, allocations: 4.929 MB / 1.178 GB, free: 5.074 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.001098/1.517, allocations: 1.039 MB / 1.179 GB, free: 3.605 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.733e-05/1.518, allocations: 28 kB / 1.18 GB, free: 3.578 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001013/1.518, allocations: 56 kB / 1.18 GB, free: 3.523 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007024/1.525, allocations: 0.8086 MB / 1.18 GB, free: 2.77 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001227/1.526, allocations: 1.253 MB / 1.182 GB, free: 1.488 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01026/1.536, allocations: 0.6159 MB / 1.182 GB, free: 0.8711 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00118/1.537, allocations: 164 kB / 1.182 GB, free: 0.7109 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/1.538, allocations: 4 kB / 1.182 GB, free: 0.707 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01477/1.552, allocations: 4.427 MB / 1.187 GB, free: 12.44 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-05/1.552, allocations: 28 kB / 1.187 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.049e-05/1.553, allocations: 56 kB / 1.187 GB, free: 12.36 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00623/1.559, allocations: 0.7829 MB / 1.188 GB, free: 11.63 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001149/1.559, allocations: 74.45 kB / 1.188 GB, free: 11.57 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009244/1.568, allocations: 0.5468 MB / 1.188 GB, free: 11.02 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001042/1.569, allocations: 152 kB / 1.188 GB, free: 10.87 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.008318/1.578, allocations: 2.507 MB / 1.191 GB, free: 8.406 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003044/1.581, allocations: 0.5538 MB / 1.191 GB, free: 7.848 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01408/1.595, allocations: 3.891 MB / 1.195 GB, free: 3.902 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.145e-05/1.595, allocations: 24 kB / 1.195 GB, free: 3.879 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.244e-05/1.595, allocations: 0 / 1.195 GB, free: 3.879 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009854/1.605, allocations: 2.989 MB / 1.198 GB, free: 0.8398 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0422/1.647, allocations: 9.708 MB / 1.207 GB, free: 7.09 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.277e-05/1.647, allocations: 4.688 kB / 1.207 GB, free: 7.086 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005747/1.653, allocations: 0.5981 MB / 1.208 GB, free: 6.516 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.1e-05/1.653, allocations: 8 kB / 1.208 GB, free: 6.508 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007147/1.654, allocations: 79.95 kB / 1.208 GB, free: 6.43 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001035/1.655, allocations: 1.187 MB / 1.209 GB, free: 5.199 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.162e-06/1.655, allocations: 4 kB / 1.209 GB, free: 5.195 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01848/1.673, allocations: 5.635 MB / 1.215 GB, free: 15.46 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006666/1.68, allocations: 1.31 MB / 1.216 GB, free: 14.13 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003033/1.683, allocations: 59.98 kB / 1.216 GB, free: 14.07 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00979/1.693, allocations: 384.5 kB / 1.217 GB, free: 13.7 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009051/1.694, allocations: 149.8 kB / 1.217 GB, free: 13.55 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009148/1.695, allocations: 147.9 kB / 1.217 GB, free: 13.41 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.01375/1.709, allocations: 4.203 MB / 1.221 GB, free: 9.234 MB / 0.7605 GB Notification: Performance of sort global known variables: time 8.82e-07/1.709, allocations: 8 kB / 1.221 GB, free: 9.227 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.01918/1.728, allocations: 3.23 MB / 1.224 GB, free: 5.988 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.002391/1.73, allocations: 469.4 kB / 1.225 GB, free: 5.574 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.02021/1.751, allocations: 5.996 MB / 1.23 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.496e-05/1.751, allocations: 4.562 kB / 1.23 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.005597/1.756, allocations: 1.588 MB / 1.232 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05185/1.808, allocations: 3.944 MB / 1.236 GB, free: 10.33 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04881/1.857, allocations: 15.75 MB / 1.251 GB, free: 10.57 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01036/1.868, allocations: 4.515 MB / 1.256 GB, free: 6.031 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.01844/1.886, allocations: 2.852 MB / 1.258 GB, free: 3.18 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003178/1.889, allocations: 466.7 kB / 1.259 GB, free: 2.73 MB / 0.7917 GB Notification: Performance of SimCode: time 2.835e-06/1.889, allocations: 0 / 1.259 GB, free: 2.73 MB / 0.7917 GB Notification: Performance of Templates: time 0.3401/2.229, allocations: 124.7 MB / 1.381 GB, free: 7.27 MB / 0.9167 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.Pipe.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.Pipe.sim & ./Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.Pipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe 2>&1)