Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_Buildings.Fluid.FixedResistances.Examples.Pipe") translateModel(Buildings.Fluid.FixedResistances.Examples.Pipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001113/0.001113, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.009431/0.009431, allocations: 169.2 kB / 16.26 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.799/1.799, allocations: 205.4 MB / 222.5 MB, free: 5.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.896/1.896, allocations: 292.7 MB / 0.5502 GB, free: 14.48 MB / 462.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.0005523/0.0005523, allocations: 13.88 kB / 0.6743 GB, free: 25.88 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2922/0.2927, allocations: 116.3 MB / 0.7879 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.Pipe): time 0.05084/0.3437, allocations: 44.79 MB / 0.8316 GB, free: 14.65 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01928/0.363, allocations: 11.32 MB / 0.8427 GB, free: 3.312 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003009/0.3661, allocations: 47.69 kB / 0.8427 GB, free: 3.266 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.00274/0.3688, allocations: 0.5593 MB / 0.8433 GB, free: 2.703 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.008283/0.3772, allocations: 2.014 MB / 0.8452 GB, free: 0.6797 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.004623/0.3818, allocations: 1.359 MB / 0.8465 GB, free: 15.34 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.02757/0.4094, allocations: 29.12 MB / 0.875 GB, free: 2.141 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01079/0.4202, allocations: 7.307 MB / 0.8821 GB, free: 10.74 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01405/0.4343, allocations: 5.364 MB / 0.8874 GB, free: 5.355 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01242/0.4468, allocations: 5.627 MB / 0.8929 GB, free: 15.7 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.00306/0.4499, allocations: 288 kB / 0.8931 GB, free: 15.42 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008045/0.458, allocations: 1.396 MB / 0.8945 GB, free: 14.02 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.003697/0.4617, allocations: 1.431 MB / 0.8959 GB, free: 12.59 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.008767/0.4705, allocations: 3.721 MB / 0.8995 GB, free: 8.84 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.5804/1.051, allocations: 12.14 MB / 0.9114 GB, free: 42.41 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/1.051, allocations: 0.9688 kB / 0.9114 GB, free: 42.41 MB / 0.7169 GB Notification: Performance of FrontEnd: time 4.368e-06/1.051, allocations: 1.828 kB / 0.9114 GB, free: 42.41 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0005001/1.052, allocations: 0 / 0.9114 GB, free: 42.41 MB / 0.7169 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.02157/1.073, allocations: 6.569 MB / 0.9178 GB, free: 39.78 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 6.384e-05/1.073, allocations: 9.094 kB / 0.9178 GB, free: 39.78 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006497/1.08, allocations: 0.8476 MB / 0.9186 GB, free: 39.39 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01952/1.099, allocations: 7.618 MB / 0.9261 GB, free: 38.31 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005598/1.1, allocations: 420.1 kB / 0.9265 GB, free: 38.27 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002969/1.103, allocations: 0.5094 MB / 0.927 GB, free: 38.26 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.023/1.126, allocations: 7.67 MB / 0.9345 GB, free: 37.38 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000201/1.126, allocations: 28.08 kB / 0.9345 GB, free: 37.37 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001089/1.127, allocations: 226.3 kB / 0.9347 GB, free: 37.37 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002545/1.127, allocations: 169.7 kB / 0.9349 GB, free: 37.37 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01716/1.145, allocations: 6.073 MB / 0.9408 GB, free: 37.32 MB / 0.7169 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.05909/1.204, allocations: 29.26 MB / 0.9694 GB, free: 23.36 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006272/1.21, allocations: 3.413 MB / 0.9727 GB, free: 21.8 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003598/1.214, allocations: 1.957 MB / 0.9746 GB, free: 20.81 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00117/1.215, allocations: 1.001 MB / 0.9756 GB, free: 19.71 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001108/1.215, allocations: 72.31 kB / 0.9757 GB, free: 19.65 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=253): time 7.424e-06/1.215, allocations: 0 / 0.9757 GB, free: 19.65 MB / 0.7169 GB Notification: Performance of matching and sorting (n=253): time 0.01093/1.226, allocations: 4.697 MB / 0.9802 GB, free: 17.34 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.179e-05/1.226, allocations: 80.91 kB / 0.9803 GB, free: 17.27 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01384/1.24, allocations: 6.021 MB / 0.9862 GB, free: 14.23 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.001606/1.242, allocations: 85.27 kB / 0.9863 GB, free: 14.16 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.004269/1.246, allocations: 2.943 MB / 0.9892 GB, free: 11.61 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.002645/1.249, allocations: 0.8939 MB / 0.99 GB, free: 10.84 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006808/1.249, allocations: 286.6 kB / 0.9903 GB, free: 10.67 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001394/1.25, allocations: 303.8 kB / 0.9906 GB, free: 10.37 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003024/1.253, allocations: 1.635 MB / 0.9922 GB, free: 9.535 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003011/1.256, allocations: 2.69 MB / 0.9948 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005174/1.261, allocations: 4.6 MB / 0.9993 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-05/1.261, allocations: 12 kB / 0.9993 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of matching and sorting (n=436) (initialization): time 0.008448/1.269, allocations: 4.958 MB / 1.004 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008929/1.27, allocations: 1.037 MB / 1.005 GB, free: 13.03 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.932e-05/1.27, allocations: 38.75 kB / 1.005 GB, free: 13 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.173e-05/1.27, allocations: 48 kB / 1.005 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00311/1.273, allocations: 0.8019 MB / 1.006 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009623/1.274, allocations: 1.256 MB / 1.007 GB, free: 10.92 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006871/1.281, allocations: 0.6085 MB / 1.008 GB, free: 10.3 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000537/1.282, allocations: 160 kB / 1.008 GB, free: 10.15 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/1.282, allocations: 4 kB / 1.008 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007934/1.29, allocations: 4.456 MB / 1.012 GB, free: 5.848 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-05/1.29, allocations: 31.09 kB / 1.012 GB, free: 5.82 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.259e-05/1.29, allocations: 56.16 kB / 1.012 GB, free: 5.766 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002664/1.293, allocations: 0.7736 MB / 1.013 GB, free: 5.043 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.321e-05/1.293, allocations: 68.25 kB / 1.013 GB, free: 4.988 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00634/1.299, allocations: 0.5506 MB / 1.014 GB, free: 4.434 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004526/1.3, allocations: 163.1 kB / 1.014 GB, free: 4.277 MB / 0.7325 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.006129/1.306, allocations: 2.5 MB / 1.016 GB, free: 1.82 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002894/1.309, allocations: 0.5509 MB / 1.017 GB, free: 1.266 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007523/1.316, allocations: 3.908 MB / 1.021 GB, free: 13.31 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.561e-05/1.316, allocations: 27.98 kB / 1.021 GB, free: 13.28 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.699e-06/1.316, allocations: 4 kB / 1.021 GB, free: 13.28 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004431/1.321, allocations: 3.004 MB / 1.024 GB, free: 10.22 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0247/1.345, allocations: 9.724 MB / 1.033 GB, free: 468 kB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.13e-05/1.345, allocations: 0 / 1.033 GB, free: 468 kB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002326/1.348, allocations: 0.5958 MB / 1.034 GB, free: 15.89 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.941e-05/1.348, allocations: 12 kB / 1.034 GB, free: 15.88 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001717/1.348, allocations: 71.95 kB / 1.034 GB, free: 15.8 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006465/1.349, allocations: 1.197 MB / 1.035 GB, free: 14.57 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/1.349, allocations: 4 kB / 1.035 GB, free: 14.56 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01002/1.359, allocations: 5.652 MB / 1.041 GB, free: 8.812 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006132/1.365, allocations: 1.302 MB / 1.042 GB, free: 7.484 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002835/1.368, allocations: 62.3 kB / 1.042 GB, free: 7.426 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007044/1.375, allocations: 391.8 kB / 1.042 GB, free: 7.047 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004344/1.375, allocations: 153.9 kB / 1.042 GB, free: 6.895 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005628/1.376, allocations: 143.9 kB / 1.043 GB, free: 6.754 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.009208/1.385, allocations: 4.254 MB / 1.047 GB, free: 2.531 MB / 0.7637 GB Notification: Performance of sort global known variables: time 5.31e-07/1.385, allocations: 4 kB / 1.047 GB, free: 2.527 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.01589/1.401, allocations: 3.238 MB / 1.05 GB, free: 15.28 MB / 0.7794 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.002484/1.404, allocations: 493.5 kB / 1.05 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.01354/1.417, allocations: 6.027 MB / 1.056 GB, free: 9.012 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.11e-05/1.417, allocations: 12.62 kB / 1.056 GB, free: 9 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.003387/1.421, allocations: 1.593 MB / 1.058 GB, free: 7.453 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02872/1.449, allocations: 3.947 MB / 1.062 GB, free: 3.582 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0381/1.488, allocations: 16.27 MB / 1.078 GB, free: 3.289 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01067/1.498, allocations: 4.511 MB / 1.082 GB, free: 14.75 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.01373/1.512, allocations: 2.861 MB / 1.085 GB, free: 11.89 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002809/1.515, allocations: 463.1 kB / 1.085 GB, free: 11.45 MB / 0.8106 GB Notification: Performance of SimCode: time 1.362e-06/1.515, allocations: 0 / 1.085 GB, free: 11.45 MB / 0.8106 GB Notification: Performance of Templates: time 0.237/1.752, allocations: 128 MB / 1.21 GB, free: 12.97 MB / 0.9356 GB make -j1 -f Buildings_8_Buildings.Fluid.FixedResistances.Examples.Pipe.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe ; mkfifo Buildings_8_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe >> ../files/Buildings_8_Buildings.Fluid.FixedResistances.Examples.Pipe.sim & ./Buildings_8_Buildings.Fluid.FixedResistances.Examples.Pipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe 2>&1) Environment - environmentSimulation: