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/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.733/1.733, allocations: 292.3 MB / 308.1 MB, free: 4.27 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001647/0.001647, allocations: 193.8 kB / 376.9 MB, free: 1.785 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.736/1.736, allocations: 205 MB / 0.6354 GB, free: 9.781 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001141/0.001141, allocations: 98.47 kB / 0.748 GB, free: 61.15 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001088/0.001088, allocations: 59.91 kB / 0.8704 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3185/0.3196, allocations: 114.5 MB / 0.9822 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.Pipe): time 0.6827/1.002, allocations: 45.72 MB / 1.027 GB, free: 63.27 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.01825/1.021, allocations: 11.46 MB / 1.038 GB, free: 63.08 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003077/1.024, allocations: 50.69 kB / 1.038 GB, free: 63.08 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.002276/1.026, allocations: 0.5539 MB / 1.039 GB, free: 63.07 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.00707/1.033, allocations: 2.017 MB / 1.041 GB, free: 62.99 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.004897/1.038, allocations: 1.35 MB / 1.042 GB, free: 62.95 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.03112/1.069, allocations: 29.25 MB / 1.07 GB, free: 56.95 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01307/1.082, allocations: 7.492 MB / 1.078 GB, free: 54.28 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01387/1.096, allocations: 5.654 MB / 1.083 GB, free: 52.28 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01199/1.108, allocations: 5.906 MB / 1.089 GB, free: 50.26 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.002649/1.111, allocations: 379.1 kB / 1.089 GB, free: 50.26 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01102/1.122, allocations: 1.486 MB / 1.091 GB, free: 49.93 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.004798/1.127, allocations: 1.56 MB / 1.092 GB, free: 49.16 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.01386/1.141, allocations: 3.888 MB / 1.096 GB, free: 46.99 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.02278/1.164, allocations: 12.46 MB / 1.108 GB, free: 43.07 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/1.164, allocations: 0 / 1.108 GB, free: 43.07 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.91e-07/1.164, allocations: 0 / 1.108 GB, free: 43.07 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0004784/1.164, allocations: 0 / 1.108 GB, free: 43.07 MB / 0.7448 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.02488/1.189, allocations: 8.164 MB / 1.116 GB, free: 38.73 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.272e-05/1.189, allocations: 9.469 kB / 1.116 GB, free: 38.73 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005298/1.194, allocations: 0.8531 MB / 1.117 GB, free: 38.33 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02121/1.216, allocations: 7.602 MB / 1.125 GB, free: 34.87 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009818/1.217, allocations: 415.9 kB / 1.125 GB, free: 34.67 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00342/1.22, allocations: 0.5145 MB / 1.126 GB, free: 34.49 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02582/1.246, allocations: 7.67 MB / 1.133 GB, free: 31.31 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004904/1.247, allocations: 30.42 kB / 1.133 GB, free: 31.29 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002356/1.249, allocations: 223.2 kB / 1.133 GB, free: 31.13 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003707/1.249, allocations: 166.8 kB / 1.133 GB, free: 31.12 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01825/1.268, allocations: 6.07 MB / 1.139 GB, free: 29.12 MB / 0.7448 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.06249/1.33, allocations: 29.17 MB / 1.168 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005866/1.336, allocations: 3.396 MB / 1.171 GB, free: 9.074 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002651/1.339, allocations: 1.956 MB / 1.173 GB, free: 8.395 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009529/1.34, allocations: 0.9909 MB / 1.174 GB, free: 7.301 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.1e-05/1.34, allocations: 78 kB / 1.174 GB, free: 7.234 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=253): time 4.93e-06/1.34, allocations: 0 / 1.174 GB, free: 7.234 MB / 0.7448 GB Notification: Performance of matching and sorting (n=253): time 0.009151/1.349, allocations: 4.686 MB / 1.179 GB, free: 4.508 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.085e-05/1.349, allocations: 77.41 kB / 1.179 GB, free: 4.418 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01026/1.359, allocations: 6.023 MB / 1.185 GB, free: 14.43 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0009902/1.36, allocations: 81.7 kB / 1.185 GB, free: 14.34 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.002924/1.363, allocations: 2.938 MB / 1.188 GB, free: 11.39 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.001667/1.365, allocations: 0.9013 MB / 1.188 GB, free: 10.5 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001021/1.366, allocations: 0.6829 MB / 1.189 GB, free: 9.805 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001007/1.366, allocations: 301.1 kB / 1.189 GB, free: 9.508 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002395/1.369, allocations: 1.649 MB / 1.191 GB, free: 7.852 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003039/1.372, allocations: 2.678 MB / 1.194 GB, free: 4.727 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005667/1.377, allocations: 4.594 MB / 1.198 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.018e-05/1.377, allocations: 8 kB / 1.198 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of matching and sorting (n=436) (initialization): time 0.008696/1.386, allocations: 4.951 MB / 1.203 GB, free: 10.66 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 4.456e-05/1.386, allocations: 23.94 kB / 1.203 GB, free: 10.63 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.285e-05/1.386, allocations: 32 kB / 1.203 GB, free: 10.6 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.735e-05/1.386, allocations: 48 kB / 1.203 GB, free: 10.55 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002811/1.389, allocations: 0.8058 MB / 1.204 GB, free: 9.75 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009348/1.39, allocations: 1.25 MB / 1.205 GB, free: 8.453 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006712/1.397, allocations: 0.6162 MB / 1.206 GB, free: 7.832 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003517/1.397, allocations: 160 kB / 1.206 GB, free: 7.676 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.007349/1.404, allocations: 3.867 MB / 1.21 GB, free: 3.801 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003199/1.408, allocations: 2.675 MB / 1.212 GB, free: 0.6758 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005999/1.414, allocations: 4.585 MB / 1.217 GB, free: 11.63 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.571e-05/1.414, allocations: 8 kB / 1.217 GB, free: 11.62 MB / 0.7917 GB Notification: Performance of matching and sorting (n=436) (initialization_lambda0): time 0.01468/1.428, allocations: 4.947 MB / 1.222 GB, free: 6.625 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 5.532e-05/1.429, allocations: 19.09 kB / 1.222 GB, free: 6.609 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.11e-05/1.429, allocations: 32 kB / 1.222 GB, free: 6.578 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.061e-05/1.429, allocations: 48 kB / 1.222 GB, free: 6.531 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004365/1.433, allocations: 0.7874 MB / 1.222 GB, free: 5.746 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001269/1.433, allocations: 76.52 kB / 1.222 GB, free: 5.672 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009664/1.443, allocations: 477 kB / 1.223 GB, free: 5.203 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009744/1.444, allocations: 160 kB / 1.223 GB, free: 5.047 MB / 0.7917 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.001981/1.446, allocations: 415 kB / 1.223 GB, free: 4.633 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003299/1.449, allocations: 0.5443 MB / 1.224 GB, free: 4.082 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009546/1.459, allocations: 3.891 MB / 1.228 GB, free: 136 kB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.755e-05/1.459, allocations: 31.94 kB / 1.228 GB, free: 104 kB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.628e-05/1.459, allocations: 2.625 kB / 1.228 GB, free: 104 kB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005032/1.464, allocations: 2.989 MB / 1.231 GB, free: 13.06 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0263/1.49, allocations: 9.714 MB / 1.24 GB, free: 3.285 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.546e-05/1.49, allocations: 3.938 kB / 1.24 GB, free: 3.281 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002371/1.493, allocations: 0.5918 MB / 1.241 GB, free: 2.691 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.502e-05/1.493, allocations: 8 kB / 1.241 GB, free: 2.684 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001687/1.493, allocations: 75.95 kB / 1.241 GB, free: 2.609 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008392/1.494, allocations: 1.191 MB / 1.242 GB, free: 1.371 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/1.494, allocations: 0 / 1.242 GB, free: 1.371 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07379/1.568, allocations: 29.06 MB / 1.27 GB, free: 4.039 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005477/1.573, allocations: 1.185 MB / 1.272 GB, free: 2.828 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002039/1.575, allocations: 59.98 kB / 1.272 GB, free: 2.77 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005763/1.581, allocations: 385 kB / 1.272 GB, free: 2.395 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004026/1.581, allocations: 145.8 kB / 1.272 GB, free: 2.25 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005233/1.582, allocations: 147.9 kB / 1.272 GB, free: 2.105 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.00825/1.59, allocations: 4.254 MB / 1.276 GB, free: 13.88 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.42e-07/1.59, allocations: 0 / 1.276 GB, free: 13.88 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0286/1.619, allocations: 5.14 MB / 1.281 GB, free: 8.734 MB / 0.8542 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.002342/1.621, allocations: 492.6 kB / 1.282 GB, free: 8.273 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.01187/1.633, allocations: 6.018 MB / 1.288 GB, free: 2.234 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.716e-05/1.633, allocations: 4.562 kB / 1.288 GB, free: 2.23 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.002805/1.636, allocations: 1.593 MB / 1.289 GB, free: 0.6328 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02426/1.66, allocations: 3.949 MB / 1.293 GB, free: 12.75 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03392/1.694, allocations: 17.72 MB / 1.311 GB, free: 10.98 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00781/1.702, allocations: 4.6 MB / 1.315 GB, free: 6.352 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.01301/1.715, allocations: 2.901 MB / 1.318 GB, free: 3.457 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002648/1.718, allocations: 483.2 kB / 1.318 GB, free: 2.988 MB / 0.8855 GB Notification: Performance of SimCode: time 1.312e-06/1.718, allocations: 0 / 1.318 GB, free: 2.988 MB / 0.8855 GB Notification: Performance of Templates: time 0.7469/2.465, allocations: 137.2 MB / 1.452 GB, free: 264.4 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.FixedResistances.Examples.Pipe.makefile (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)