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.345/1.345, allocations: 252 MB / 267.9 MB, free: 10.92 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.00094/0.0009399, allocations: 187.1 kB / 327.6 MB, free: 2.156 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.587/1.587, allocations: 205.4 MB / 0.5785 GB, free: 20.5 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.0007972/0.0007976, allocations: 92.38 kB / 0.6831 GB, free: 13.26 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003939/0.0003939, allocations: 11.69 kB / 0.7974 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2173/0.2177, allocations: 106.3 MB / 0.9012 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8747/1.092, allocations: 424 MB / 1.315 GB, free: 8.621 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002427/1.093, allocations: 95.16 kB / 1.315 GB, free: 8.57 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 2.465/3.557, allocations: 0.7456 GB / 2.061 GB, free: 29.47 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.986e-06/3.557, allocations: 0 / 2.061 GB, free: 29.47 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.001308/3.559, allocations: 187.8 kB / 2.061 GB, free: 29.29 MB / 0.8855 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.02224/3.581, allocations: 6.919 MB / 2.068 GB, free: 22.28 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/3.581, allocations: 8.031 kB / 2.068 GB, free: 22.27 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005128/3.586, allocations: 0.8395 MB / 2.069 GB, free: 21.43 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03894/3.625, allocations: 19.97 MB / 2.088 GB, free: 1.227 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005252/3.626, allocations: 420.8 kB / 2.089 GB, free: 0.8086 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002104/3.628, allocations: 0.5154 MB / 2.089 GB, free: 300 kB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4938/4.122, allocations: 7.044 MB / 2.096 GB, free: 139.3 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005219/4.122, allocations: 21.12 kB / 2.096 GB, free: 139.3 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002355/4.125, allocations: 218.6 kB / 2.096 GB, free: 139.3 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002593/4.125, allocations: 170 kB / 2.096 GB, free: 139.3 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01591/4.141, allocations: 5.487 MB / 2.102 GB, free: 139.3 MB / 0.8855 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.04755/4.188, allocations: 29.34 MB / 2.13 GB, free: 126.8 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005043/4.194, allocations: 3.209 MB / 2.134 GB, free: 126.8 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002705/4.196, allocations: 1.805 MB / 2.135 GB, free: 126.7 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009224/4.197, allocations: 0.9746 MB / 2.136 GB, free: 125.7 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.869e-05/4.197, allocations: 70.56 kB / 2.136 GB, free: 125.7 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=253): time 6.101e-06/4.197, allocations: 0 / 2.136 GB, free: 125.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=253): time 0.008551/4.206, allocations: 4.435 MB / 2.141 GB, free: 125.3 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.885e-05/4.206, allocations: 77.66 kB / 2.141 GB, free: 125.2 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01358/4.22, allocations: 5.785 MB / 2.146 GB, free: 124.9 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0008272/4.22, allocations: 78.95 kB / 2.146 GB, free: 124.9 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.004271/4.225, allocations: 2.953 MB / 2.149 GB, free: 124.1 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.002857/4.228, allocations: 0.9017 MB / 2.15 GB, free: 123.7 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000995/4.229, allocations: 72 kB / 2.15 GB, free: 123.7 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0007021/4.229, allocations: 449.1 kB / 2.151 GB, free: 123.4 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003953/4.233, allocations: 1.512 MB / 2.152 GB, free: 123.4 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003572/4.237, allocations: 2.681 MB / 2.155 GB, free: 122 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006033/4.243, allocations: 4.526 MB / 2.159 GB, free: 120.7 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.847e-05/4.243, allocations: 12.66 kB / 2.159 GB, free: 120.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=436) (initialization): time 0.009743/4.253, allocations: 4.779 MB / 2.164 GB, free: 120.3 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006466/4.254, allocations: 1.162 MB / 2.165 GB, free: 118.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.946e-05/4.254, allocations: 34.47 kB / 2.165 GB, free: 118.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.95e-05/4.254, allocations: 55.94 kB / 2.165 GB, free: 118.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003043/4.257, allocations: 0.8159 MB / 2.166 GB, free: 118.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005536/4.257, allocations: 1.245 MB / 2.167 GB, free: 117.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005478/4.263, allocations: 0.548 MB / 2.168 GB, free: 117.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006269/4.264, allocations: 170.1 kB / 2.168 GB, free: 117.6 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/4.264, allocations: 7.844 kB / 2.168 GB, free: 117.6 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007219/4.271, allocations: 4.273 MB / 2.172 GB, free: 117.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001041/4.271, allocations: 34.59 kB / 2.172 GB, free: 117.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.822e-05/4.271, allocations: 56.56 kB / 2.172 GB, free: 117.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002614/4.274, allocations: 0.7883 MB / 2.173 GB, free: 117.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.124e-05/4.274, allocations: 76.52 kB / 2.173 GB, free: 117.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005078/4.279, allocations: 0.4894 MB / 2.173 GB, free: 117.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005614/4.279, allocations: 169.5 kB / 2.174 GB, free: 117.4 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 162 * 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.00505/4.284, allocations: 2.5 MB / 2.176 GB, free: 117.2 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001897/4.286, allocations: 0.5436 MB / 2.177 GB, free: 116.9 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00776/4.294, allocations: 3.724 MB / 2.18 GB, free: 116.7 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.339e-05/4.294, allocations: 31.06 kB / 2.18 GB, free: 116.7 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.645e-05/4.294, allocations: 6.062 kB / 2.18 GB, free: 116.7 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003989/4.298, allocations: 2.836 MB / 2.183 GB, free: 116.6 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01991/4.318, allocations: 9.166 MB / 2.192 GB, free: 116 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-05/4.318, allocations: 0 / 2.192 GB, free: 116 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002286/4.321, allocations: 0.5829 MB / 2.192 GB, free: 116 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.544e-05/4.321, allocations: 15.5 kB / 2.193 GB, free: 116 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002927/4.321, allocations: 71.97 kB / 2.193 GB, free: 116 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003811/4.321, allocations: 1.183 MB / 2.194 GB, free: 114.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/4.321, allocations: 7.844 kB / 2.194 GB, free: 114.8 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007843/4.329, allocations: 5.426 MB / 2.199 GB, free: 114.2 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003546/4.333, allocations: 1.209 MB / 2.2 GB, free: 113.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001601/4.334, allocations: 63.39 kB / 2.2 GB, free: 113.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004226/4.339, allocations: 284.2 kB / 2.201 GB, free: 113.8 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003084/4.339, allocations: 147.3 kB / 2.201 GB, free: 113.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003922/4.339, allocations: 129.2 kB / 2.201 GB, free: 113.8 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.007736/4.347, allocations: 4.058 MB / 2.205 GB, free: 113.6 MB / 0.8855 GB Notification: Performance of sort global known variables: time 5.71e-07/4.347, allocations: 0 / 2.205 GB, free: 113.6 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.01271/4.36, allocations: 3.175 MB / 2.208 GB, free: 113.3 MB / 0.8855 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.002119/4.362, allocations: 0.6692 MB / 2.209 GB, free: 113.2 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.01007/4.372, allocations: 5.757 MB / 2.214 GB, free: 113.1 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.147e-05/4.372, allocations: 3.875 kB / 2.214 GB, free: 113.1 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.002598/4.375, allocations: 1.542 MB / 2.216 GB, free: 113.1 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02609/4.401, allocations: 3.836 MB / 2.219 GB, free: 113.1 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02892/4.43, allocations: 15.68 MB / 2.235 GB, free: 107.8 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00709/4.437, allocations: 4.512 MB / 2.239 GB, free: 106.9 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.01067/4.448, allocations: 2.878 MB / 2.242 GB, free: 106.7 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001933/4.45, allocations: 470.3 kB / 2.242 GB, free: 106.7 MB / 0.8855 GB Notification: Performance of SimCode: time 6.11e-07/4.45, allocations: 0 / 2.242 GB, free: 106.7 MB / 0.8855 GB Notification: Performance of Templates: time 0.1832/4.633, allocations: 124.9 MB / 2.364 GB, free: 38.06 MB / 0.8855 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)