Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.Pipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Examples.Pipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.Pipe") translateModel(Buildings.Fluid.FixedResistances.Examples.Pipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.Pipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.403/1.403, allocations: 252 MB / 267.6 MB, free: 10.89 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001043/0.001043, allocations: 183.7 kB / 327.3 MB, free: 2.172 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.715/1.715, allocations: 205.4 MB / 0.5783 GB, free: 20.19 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007953/0.0007953, allocations: 94.3 kB / 0.6829 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003541/0.0003541, allocations: 11.16 kB / 0.797 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2372/0.2376, allocations: 106.3 MB / 0.9008 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.Pipe): time 0.03415/0.2718, allocations: 42.38 MB / 0.9422 GB, free: 21.36 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0143/0.2862, allocations: 10.63 MB / 0.9526 GB, free: 10.71 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002252/0.2885, allocations: 47.69 kB / 0.9526 GB, free: 10.66 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001607/0.2901, allocations: 496.8 kB / 0.9531 GB, free: 10.18 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.005337/0.2955, allocations: 1.732 MB / 0.9548 GB, free: 8.438 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.003601/0.2991, allocations: 1.073 MB / 0.9558 GB, free: 7.375 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.02427/0.3234, allocations: 24.65 MB / 0.9799 GB, free: 14.66 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01098/0.3344, allocations: 6.359 MB / 0.9861 GB, free: 8.227 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01419/0.3486, allocations: 5.412 MB / 0.9914 GB, free: 2.793 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01348/0.3622, allocations: 5.305 MB / 0.9966 GB, free: 13.46 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.003117/0.3653, allocations: 284 kB / 0.9969 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008652/0.374, allocations: 1.08 MB / 0.9979 GB, free: 12.1 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.00406/0.3781, allocations: 1.315 MB / 0.9992 GB, free: 10.78 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.005855/0.384, allocations: 1.561 MB / 1.001 GB, free: 9.211 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.0151/0.3991, allocations: 10.05 MB / 1.011 GB, free: 15.14 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.3992, allocations: 0 / 1.011 GB, free: 15.14 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.174e-06/0.3992, allocations: 0 / 1.011 GB, free: 15.14 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.000583/0.3998, allocations: 4 kB / 1.011 GB, free: 15.13 MB / 0.6667 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.01949/0.4193, allocations: 6.625 MB / 1.017 GB, free: 8.422 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.998e-05/0.4194, allocations: 8.031 kB / 1.017 GB, free: 8.414 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004874/0.4243, allocations: 0.8385 MB / 1.018 GB, free: 7.566 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01954/0.4438, allocations: 7.395 MB / 1.025 GB, free: 92 kB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007478/0.4446, allocations: 415.9 kB / 1.025 GB, free: 15.68 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002872/0.4475, allocations: 0.5077 MB / 1.026 GB, free: 15.17 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02263/0.4702, allocations: 7.529 MB / 1.033 GB, free: 7.348 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003497/0.4706, allocations: 31.77 kB / 1.033 GB, free: 7.316 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001837/0.4725, allocations: 220 kB / 1.034 GB, free: 7.102 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002365/0.4727, allocations: 163.9 kB / 1.034 GB, free: 6.941 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01589/0.4886, allocations: 6.032 MB / 1.04 GB, free: 0.8945 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.6275/1.116, allocations: 29.1 MB / 1.068 GB, free: 123.2 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006663/1.123, allocations: 3.398 MB / 1.071 GB, free: 123.1 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003818/1.127, allocations: 1.948 MB / 1.073 GB, free: 123.1 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001107/1.128, allocations: 1.004 MB / 1.074 GB, free: 122.1 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.879e-05/1.128, allocations: 68.59 kB / 1.074 GB, free: 122 MB / 0.698 GB Notification: Performance of pre-optimization done (n=253): time 7.193e-06/1.128, allocations: 0 / 1.074 GB, free: 122 MB / 0.698 GB Notification: Performance of matching and sorting (n=253): time 0.01002/1.138, allocations: 4.678 MB / 1.079 GB, free: 121.9 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.621e-05/1.138, allocations: 78.25 kB / 1.079 GB, free: 121.9 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01075/1.149, allocations: 5.977 MB / 1.085 GB, free: 121.4 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0007389/1.15, allocations: 77.58 kB / 1.085 GB, free: 121.3 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.00231/1.152, allocations: 2.942 MB / 1.088 GB, free: 119.2 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001346/1.153, allocations: 0.8992 MB / 1.089 GB, free: 118.5 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001718/1.154, allocations: 63.72 kB / 1.089 GB, free: 118.5 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001982/1.154, allocations: 452.5 kB / 1.089 GB, free: 118.1 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002658/1.156, allocations: 1.62 MB / 1.091 GB, free: 117.6 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003709/1.16, allocations: 2.666 MB / 1.093 GB, free: 115.5 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003179/1.163, allocations: 2.211 MB / 1.095 GB, free: 114.4 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.848e-05/1.163, allocations: 11.75 kB / 1.095 GB, free: 114.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=436) (initialization): time 0.008321/1.172, allocations: 4.934 MB / 1.1 GB, free: 111.9 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007368/1.173, allocations: 1.039 MB / 1.101 GB, free: 110.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.473e-05/1.173, allocations: 29.88 kB / 1.101 GB, free: 110.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.74e-05/1.173, allocations: 59.5 kB / 1.101 GB, free: 110.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00285/1.176, allocations: 0.8058 MB / 1.102 GB, free: 110.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006329/1.176, allocations: 1.25 MB / 1.103 GB, free: 109.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005626/1.182, allocations: 0.6179 MB / 1.104 GB, free: 108.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003571/1.182, allocations: 157 kB / 1.104 GB, free: 108.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/1.182, allocations: 4.438 kB / 1.104 GB, free: 108.7 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006374/1.189, allocations: 4.43 MB / 1.108 GB, free: 106.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.012e-05/1.189, allocations: 31.66 kB / 1.108 GB, free: 106.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.103e-05/1.189, allocations: 55.25 kB / 1.109 GB, free: 106.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002402/1.191, allocations: 0.7758 MB / 1.109 GB, free: 106.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.719e-05/1.191, allocations: 71.69 kB / 1.109 GB, free: 106.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00529/1.196, allocations: 0.5481 MB / 1.11 GB, free: 105.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004113/1.197, allocations: 165.2 kB / 1.11 GB, free: 105.7 MB / 0.698 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.004501/1.201, allocations: 2.494 MB / 1.112 GB, free: 103.2 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001996/1.203, allocations: 0.5414 MB / 1.113 GB, free: 102.7 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005924/1.209, allocations: 3.895 MB / 1.117 GB, free: 98.74 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.116e-05/1.209, allocations: 28.88 kB / 1.117 GB, free: 98.71 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/1.209, allocations: 0 / 1.117 GB, free: 98.71 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003403/1.213, allocations: 2.986 MB / 1.12 GB, free: 95.67 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01691/1.23, allocations: 9.642 MB / 1.129 GB, free: 85.98 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.148e-05/1.23, allocations: 6.359 kB / 1.129 GB, free: 85.97 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002246/1.232, allocations: 0.5981 MB / 1.13 GB, free: 85.38 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.601e-05/1.232, allocations: 8 kB / 1.13 GB, free: 85.37 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001505/1.232, allocations: 75.95 kB / 1.13 GB, free: 85.29 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004017/1.233, allocations: 1.192 MB / 1.131 GB, free: 84.05 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/1.233, allocations: 0 / 1.131 GB, free: 84.05 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007974/1.241, allocations: 5.615 MB / 1.136 GB, free: 78.34 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004116/1.245, allocations: 1.275 MB / 1.138 GB, free: 77.04 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001768/1.247, allocations: 67.92 kB / 1.138 GB, free: 76.97 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005224/1.252, allocations: 382.5 kB / 1.138 GB, free: 76.6 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002765/1.252, allocations: 153.8 kB / 1.138 GB, free: 76.45 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003139/1.252, allocations: 131.9 kB / 1.138 GB, free: 76.32 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.006904/1.259, allocations: 4.208 MB / 1.143 GB, free: 72.14 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.052e-06/1.259, allocations: 0 / 1.143 GB, free: 72.14 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.01109/1.271, allocations: 3.213 MB / 1.146 GB, free: 68.94 MB / 0.698 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.001248/1.272, allocations: 471.9 kB / 1.146 GB, free: 68.53 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.008864/1.281, allocations: 5.992 MB / 1.152 GB, free: 62.51 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.905e-06/1.281, allocations: 4 kB / 1.152 GB, free: 62.51 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.002003/1.283, allocations: 1.586 MB / 1.154 GB, free: 60.92 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02056/1.303, allocations: 3.936 MB / 1.157 GB, free: 57.09 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02351/1.327, allocations: 15.84 MB / 1.173 GB, free: 41.21 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003193/1.33, allocations: 4.479 MB / 1.177 GB, free: 36.71 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002516/1.333, allocations: 491.2 kB / 1.178 GB, free: 36.23 MB / 0.698 GB Notification: Performance of SimCode: time 1.733e-06/1.333, allocations: 0 / 1.178 GB, free: 36.23 MB / 0.698 GB Notification: Performance of Templates: time 0.2764/1.609, allocations: 188.4 MB / 1.362 GB, free: 7.938 MB / 0.8542 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.Pipe.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.Pipe.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.Pipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe 2>&1)