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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009146/0.0009144, allocations: 92.23 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001044/0.001044, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.775/1.775, allocations: 205.4 MB / 222.1 MB, free: 5.668 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.669/1.669, allocations: 252 MB / 0.5102 GB, free: 4.785 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005983/0.0005985, allocations: 12 kB / 0.6243 GB, free: 1.113 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6525/0.6531, allocations: 106.3 MB / 0.7281 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.Pipe): time 0.04746/0.7007, allocations: 42.37 MB / 0.7695 GB, free: 0.9297 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01784/0.7186, allocations: 10.63 MB / 0.7799 GB, free: 6.281 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002779/0.7214, allocations: 51.69 kB / 0.7799 GB, free: 6.23 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002298/0.7237, allocations: 492.8 kB / 0.7804 GB, free: 5.746 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.006999/0.7307, allocations: 1.732 MB / 0.7821 GB, free: 4.008 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004104/0.7349, allocations: 1.073 MB / 0.7831 GB, free: 2.945 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.02549/0.7604, allocations: 24.65 MB / 0.8072 GB, free: 10.23 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0146/0.775, allocations: 6.359 MB / 0.8134 GB, free: 3.801 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01655/0.7916, allocations: 5.416 MB / 0.8187 GB, free: 14.36 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01428/0.806, allocations: 5.293 MB / 0.8239 GB, free: 9.043 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.002722/0.8087, allocations: 288 kB / 0.8242 GB, free: 8.762 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007994/0.8168, allocations: 1.08 MB / 0.8252 GB, free: 7.68 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.004072/0.8209, allocations: 1.311 MB / 0.8265 GB, free: 6.363 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.007262/0.8281, allocations: 1.564 MB / 0.828 GB, free: 4.789 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.01683/0.845, allocations: 10.05 MB / 0.8378 GB, free: 10.71 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 9.478e-06/0.8451, allocations: 0 / 0.8378 GB, free: 10.71 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.627e-06/0.8451, allocations: 0 / 0.8378 GB, free: 10.71 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0006362/0.8457, allocations: 0 / 0.8378 GB, free: 10.71 MB / 0.6544 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.02308/0.8688, allocations: 6.625 MB / 0.8443 GB, free: 4.004 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.871e-05/0.8689, allocations: 12.03 kB / 0.8443 GB, free: 3.992 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005941/0.8748, allocations: 0.8385 MB / 0.8451 GB, free: 3.145 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01827/0.8931, allocations: 7.406 MB / 0.8524 GB, free: 11.66 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005835/0.8938, allocations: 415.9 kB / 0.8528 GB, free: 11.24 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002021/0.8958, allocations: 0.5038 MB / 0.8533 GB, free: 10.74 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02381/0.9196, allocations: 7.529 MB / 0.8606 GB, free: 2.914 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004441/0.9201, allocations: 27.77 kB / 0.8606 GB, free: 2.887 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002176/0.9223, allocations: 220 kB / 0.8608 GB, free: 2.672 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002519/0.9226, allocations: 159.9 kB / 0.861 GB, free: 2.516 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01727/0.9399, allocations: 6.048 MB / 0.8669 GB, free: 12.45 MB / 0.6856 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.05281/0.9927, allocations: 29.11 MB / 0.8953 GB, free: 14.08 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006649/0.9994, allocations: 3.4 MB / 0.8986 GB, free: 10.69 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003802/1.003, allocations: 1.952 MB / 0.9006 GB, free: 8.734 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001345/1.005, allocations: 1.002 MB / 0.9015 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.43e-05/1.005, allocations: 68.56 kB / 0.9016 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=253): time 4.92e-06/1.005, allocations: 0 / 0.9016 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of matching and sorting (n=253): time 0.0105/1.015, allocations: 4.668 MB / 0.9062 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.847e-05/1.015, allocations: 77.41 kB / 0.9062 GB, free: 2.691 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.563/1.578, allocations: 5.97 MB / 0.9121 GB, free: 161.4 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0009987/1.58, allocations: 76.83 kB / 0.9121 GB, free: 161.4 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.004317/1.584, allocations: 2.946 MB / 0.915 GB, free: 159.7 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.002062/1.586, allocations: 0.8976 MB / 0.9159 GB, free: 159 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002414/1.586, allocations: 70.34 kB / 0.916 GB, free: 159 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0002811/1.587, allocations: 449.7 kB / 0.9164 GB, free: 158.6 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003516/1.59, allocations: 1.624 MB / 0.918 GB, free: 158.1 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004333/1.594, allocations: 2.67 MB / 0.9206 GB, free: 156.3 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004037/1.598, allocations: 2.21 MB / 0.9227 GB, free: 155.5 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.828e-05/1.598, allocations: 8.438 kB / 0.9227 GB, free: 155.5 MB / 0.7169 GB Notification: Performance of matching and sorting (n=436) (initialization): time 0.009098/1.608, allocations: 4.936 MB / 0.9276 GB, free: 153.6 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005601/1.608, allocations: 1.034 MB / 0.9286 GB, free: 152.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-05/1.608, allocations: 31.72 kB / 0.9286 GB, free: 152.3 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.687e-05/1.608, allocations: 58.91 kB / 0.9287 GB, free: 152.3 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003879/1.612, allocations: 0.8085 MB / 0.9294 GB, free: 152.2 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001056/1.613, allocations: 1.244 MB / 0.9307 GB, free: 151 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006416/1.62, allocations: 0.6188 MB / 0.9313 GB, free: 150.7 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008305/1.621, allocations: 157.2 kB / 0.9314 GB, free: 150.7 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/1.621, allocations: 3.938 kB / 0.9314 GB, free: 150.7 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00923/1.63, allocations: 4.423 MB / 0.9357 GB, free: 149.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001224/1.63, allocations: 30.12 kB / 0.9358 GB, free: 149.1 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001128/1.63, allocations: 59.92 kB / 0.9358 GB, free: 149.1 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002991/1.633, allocations: 0.7846 MB / 0.9366 GB, free: 149 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001086/1.633, allocations: 73.56 kB / 0.9367 GB, free: 149 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006269/1.64, allocations: 0.55 MB / 0.9372 GB, free: 148.7 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007566/1.64, allocations: 162 kB / 0.9374 GB, free: 148.7 MB / 0.7169 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.00713/1.648, allocations: 2.493 MB / 0.9398 GB, free: 147.3 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003383/1.651, allocations: 0.5402 MB / 0.9403 GB, free: 147 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009924/1.661, allocations: 3.889 MB / 0.9441 GB, free: 143 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.98e-05/1.661, allocations: 28 kB / 0.9441 GB, free: 143 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.33e-05/1.661, allocations: 4.859 kB / 0.9441 GB, free: 143 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004623/1.666, allocations: 2.982 MB / 0.9471 GB, free: 140 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02194/1.688, allocations: 9.633 MB / 0.9565 GB, free: 130.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.307e-05/1.688, allocations: 7.938 kB / 0.9565 GB, free: 130.3 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002477/1.69, allocations: 0.6015 MB / 0.9571 GB, free: 129.7 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-05/1.69, allocations: 8 kB / 0.9571 GB, free: 129.7 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003674/1.691, allocations: 83.39 kB / 0.9571 GB, free: 129.6 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004413/1.691, allocations: 1.188 MB / 0.9583 GB, free: 128.4 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/1.691, allocations: 4.062 kB / 0.9583 GB, free: 128.4 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008659/1.7, allocations: 5.62 MB / 0.9638 GB, free: 122.6 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004658/1.704, allocations: 1.275 MB / 0.965 GB, free: 121.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002071/1.707, allocations: 63.97 kB / 0.9651 GB, free: 121.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005622/1.712, allocations: 384.5 kB / 0.9655 GB, free: 120.9 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005423/1.713, allocations: 153.7 kB / 0.9656 GB, free: 120.7 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000568/1.713, allocations: 131.9 kB / 0.9657 GB, free: 120.6 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.00918/1.723, allocations: 4.207 MB / 0.9698 GB, free: 116.4 MB / 0.7169 GB Notification: Performance of sort global known variables: time 4.31e-07/1.723, allocations: 2.188 kB / 0.9699 GB, free: 116.4 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.01707/1.74, allocations: 3.221 MB / 0.973 GB, free: 113.2 MB / 0.7169 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.002069/1.742, allocations: 459.8 kB / 0.9734 GB, free: 112.8 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.01167/1.754, allocations: 6 MB / 0.9793 GB, free: 106.8 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.341e-05/1.754, allocations: 4 kB / 0.9793 GB, free: 106.8 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.00271/1.756, allocations: 1.586 MB / 0.9808 GB, free: 105.2 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01959/1.776, allocations: 3.933 MB / 0.9847 GB, free: 101.4 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02954/1.806, allocations: 15.74 MB / 1 GB, free: 85.59 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007165/1.813, allocations: 4.515 MB / 1.004 GB, free: 81.05 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.01079/1.824, allocations: 2.826 MB / 1.007 GB, free: 78.22 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002058/1.826, allocations: 467.2 kB / 1.008 GB, free: 77.76 MB / 0.7169 GB Notification: Performance of SimCode: time 1.593e-06/1.826, allocations: 0 / 1.008 GB, free: 77.76 MB / 0.7169 GB Notification: Performance of Templates: time 0.1914/2.017, allocations: 123.4 MB / 1.128 GB, free: 3.586 MB / 0.7637 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.Pipe.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: