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.657/1.657, allocations: 252 MB / 268 MB, free: 10.86 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.001069/0.001069, allocations: 183.6 kB / 327.6 MB, free: 2.094 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.582/1.582, allocations: 205.4 MB / 0.5786 GB, free: 20.16 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.0007146/0.0007147, allocations: 85.25 kB / 0.6832 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003506/0.0003507, allocations: 13.75 kB / 0.7976 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2149/0.2153, allocations: 106.3 MB / 0.9014 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.Pipe): time 0.02995/0.2453, allocations: 44.8 MB / 0.9452 GB, free: 18.55 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0124/0.2577, allocations: 11.28 MB / 0.9562 GB, free: 7.25 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002083/0.2598, allocations: 47.69 kB / 0.9563 GB, free: 7.203 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.00171/0.2616, allocations: 0.5594 MB / 0.9568 GB, free: 6.641 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.005521/0.2671, allocations: 2.017 MB / 0.9588 GB, free: 4.617 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.003358/0.2705, allocations: 1.314 MB / 0.9601 GB, free: 3.312 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.02623/0.2968, allocations: 29.05 MB / 0.9884 GB, free: 6.184 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01102/0.3078, allocations: 7.268 MB / 0.9955 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01098/0.3188, allocations: 5.465 MB / 1.001 GB, free: 9.336 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01028/0.3291, allocations: 5.615 MB / 1.006 GB, free: 3.695 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.001758/0.3309, allocations: 284 kB / 1.007 GB, free: 3.418 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005939/0.3369, allocations: 1.392 MB / 1.008 GB, free: 2.023 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.002821/0.3397, allocations: 1.392 MB / 1.009 GB, free: 0.625 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.00802/0.3478, allocations: 3.694 MB / 1.013 GB, free: 12.91 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.0117/0.3595, allocations: 10.12 MB / 1.023 GB, free: 2.758 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 6.613e-06/0.3595, allocations: 8 kB / 1.023 GB, free: 2.75 MB / 0.6667 GB Notification: Performance of FrontEnd: time 3.006e-06/0.3596, allocations: 0 / 1.023 GB, free: 2.75 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0004354/0.36, allocations: 0 / 1.023 GB, free: 2.75 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.01592/0.3759, allocations: 6.553 MB / 1.029 GB, free: 12.11 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/0.376, allocations: 8.031 kB / 1.029 GB, free: 12.1 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004596/0.3806, allocations: 0.8468 MB / 1.03 GB, free: 11.25 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01479/0.3954, allocations: 7.562 MB / 1.037 GB, free: 3.598 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004192/0.3959, allocations: 419.9 kB / 1.038 GB, free: 3.18 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00138/0.3973, allocations: 0.5154 MB / 1.038 GB, free: 2.664 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0144/0.4117, allocations: 7.56 MB / 1.046 GB, free: 10.81 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001311/0.4119, allocations: 23.81 kB / 1.046 GB, free: 10.79 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000584/0.4124, allocations: 216 kB / 1.046 GB, free: 10.58 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001586/0.4126, allocations: 171.8 kB / 1.046 GB, free: 10.41 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01098/0.4236, allocations: 6.075 MB / 1.052 GB, free: 4.32 MB / 0.698 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.45/0.8737, allocations: 29.12 MB / 1.081 GB, free: 123.1 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006418/0.8801, allocations: 3.407 MB / 1.084 GB, free: 123.1 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002887/0.8831, allocations: 1.96 MB / 1.086 GB, free: 123 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009469/0.8841, allocations: 1.01 MB / 1.087 GB, free: 122 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.861e-05/0.8842, allocations: 69.19 kB / 1.087 GB, free: 122 MB / 0.698 GB Notification: Performance of pre-optimization done (n=253): time 4.769e-06/0.8842, allocations: 0 / 1.087 GB, free: 122 MB / 0.698 GB Notification: Performance of matching and sorting (n=253): time 0.00836/0.8925, allocations: 4.695 MB / 1.091 GB, free: 119.9 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.566e-05/0.8926, allocations: 81.09 kB / 1.091 GB, free: 119.8 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01223/0.9048, allocations: 6.022 MB / 1.097 GB, free: 116.8 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0008889/0.9058, allocations: 73.23 kB / 1.097 GB, free: 116.8 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.002471/0.9083, allocations: 2.941 MB / 1.1 GB, free: 114.3 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001436/0.9097, allocations: 0.9001 MB / 1.101 GB, free: 113.6 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001775/0.9099, allocations: 65.97 kB / 1.101 GB, free: 113.5 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001873/0.9101, allocations: 448.8 kB / 1.102 GB, free: 113.1 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00238/0.9125, allocations: 1.638 MB / 1.103 GB, free: 112.3 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00266/0.9152, allocations: 2.687 MB / 1.106 GB, free: 110.1 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004693/0.9199, allocations: 4.605 MB / 1.11 GB, free: 106.8 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.73e-05/0.9199, allocations: 8.984 kB / 1.11 GB, free: 106.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=436) (initialization): time 0.007367/0.9273, allocations: 4.97 MB / 1.115 GB, free: 101.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004783/0.9278, allocations: 1.031 MB / 1.116 GB, free: 100.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.775e-05/0.9278, allocations: 32 kB / 1.116 GB, free: 100.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.678e-05/0.9279, allocations: 52.56 kB / 1.116 GB, free: 100.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002716/0.9306, allocations: 0.8041 MB / 1.117 GB, free: 99.42 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005685/0.9312, allocations: 1.254 MB / 1.118 GB, free: 98.12 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005682/0.9369, allocations: 0.6163 MB / 1.119 GB, free: 97.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004163/0.9374, allocations: 157.8 kB / 1.119 GB, free: 97.34 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.9374, allocations: 4 kB / 1.119 GB, free: 97.34 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005877/0.9433, allocations: 4.455 MB / 1.123 GB, free: 92.85 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.781e-05/0.9433, allocations: 32.97 kB / 1.123 GB, free: 92.82 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.725e-05/0.9434, allocations: 48 kB / 1.124 GB, free: 92.77 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002432/0.9458, allocations: 0.7878 MB / 1.124 GB, free: 91.98 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.152e-05/0.9459, allocations: 67.78 kB / 1.124 GB, free: 91.91 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005163/0.9511, allocations: 0.5563 MB / 1.125 GB, free: 91.36 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000366/0.9514, allocations: 156 kB / 1.125 GB, free: 91.2 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 (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004486/0.9559, allocations: 2.493 MB / 1.127 GB, free: 88.7 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001952/0.9579, allocations: 0.5459 MB / 1.128 GB, free: 88.15 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005837/0.9638, allocations: 3.906 MB / 1.132 GB, free: 84.19 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.231e-05/0.9638, allocations: 24 kB / 1.132 GB, free: 84.17 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/0.9638, allocations: 7.938 kB / 1.132 GB, free: 84.16 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003483/0.9673, allocations: 3.005 MB / 1.135 GB, free: 81.1 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01727/0.9846, allocations: 9.645 MB / 1.144 GB, free: 71.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.14e-05/0.9847, allocations: 0 / 1.144 GB, free: 71.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002227/0.9869, allocations: 0.5969 MB / 1.145 GB, free: 70.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.926e-05/0.9869, allocations: 8 kB / 1.145 GB, free: 70.8 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001609/0.9871, allocations: 75.95 kB / 1.145 GB, free: 70.72 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004135/0.9875, allocations: 1.195 MB / 1.146 GB, free: 69.48 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.708e-06/0.9876, allocations: 80 / 1.146 GB, free: 69.48 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007296/0.9949, allocations: 5.64 MB / 1.152 GB, free: 63.74 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003764/0.9987, allocations: 1.286 MB / 1.153 GB, free: 62.43 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001721/1, allocations: 55.98 kB / 1.153 GB, free: 62.38 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004938/1.005, allocations: 389.3 kB / 1.153 GB, free: 62 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000362/1.006, allocations: 149.8 kB / 1.153 GB, free: 61.85 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003345/1.006, allocations: 127.9 kB / 1.153 GB, free: 61.73 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.006832/1.013, allocations: 4.254 MB / 1.158 GB, free: 57.5 MB / 0.698 GB Notification: Performance of sort global known variables: time 6.32e-07/1.013, allocations: 0 / 1.158 GB, free: 57.5 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.01091/1.024, allocations: 3.232 MB / 1.161 GB, free: 54.29 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 (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001391/1.025, allocations: 486.2 kB / 1.161 GB, free: 53.85 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.008638/1.034, allocations: 6.033 MB / 1.167 GB, free: 47.79 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.024e-05/1.034, allocations: 4 kB / 1.167 GB, free: 47.79 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.002109/1.036, allocations: 1.6 MB / 1.169 GB, free: 46.18 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01948/1.056, allocations: 3.925 MB / 1.173 GB, free: 42.33 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02219/1.078, allocations: 16.35 MB / 1.189 GB, free: 25.92 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003473/1.081, allocations: 4.476 MB / 1.193 GB, free: 21.42 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002041/1.083, allocations: 491.2 kB / 1.193 GB, free: 20.94 MB / 0.698 GB Notification: Performance of SimCode: time 9.52e-07/1.083, allocations: 0 / 1.193 GB, free: 20.94 MB / 0.698 GB Notification: Performance of Templates: time 0.2591/1.343, allocations: 188.3 MB / 1.377 GB, free: 8.695 MB / 0.8698 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)