Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_1.6_Buildings.Fluid.FixedResistances.Examples.Pipe") translateModel(Buildings.Fluid.FixedResistances.Examples.Pipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.00176/0.00176, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002136/0.002136, allocations: 196.8 kB / 16.53 MB, free: 6.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.45/1.45, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.806/2.806, allocations: 472.6 MB / 0.7451 GB, free: 4.633 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 62 kB / 0.912 GB, free: 33.35 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3529/0.3542, allocations: 159.9 MB / 1.068 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.Pipe): time 0.0569/0.4112, allocations: 46.01 MB / 1.113 GB, free: 12.25 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01828/0.4295, allocations: 11.53 MB / 1.124 GB, free: 0.6875 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002297/0.4318, allocations: 63.62 kB / 1.124 GB, free: 0.625 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.002455/0.4343, allocations: 0.683 MB / 1.125 GB, free: 15.94 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.008613/0.443, allocations: 2.223 MB / 1.127 GB, free: 13.7 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.004508/0.4475, allocations: 1.5 MB / 1.129 GB, free: 12.21 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.02424/0.4718, allocations: 22.75 MB / 1.151 GB, free: 5.414 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01175/0.4836, allocations: 9.35 MB / 1.16 GB, free: 11.96 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01422/0.4978, allocations: 7.401 MB / 1.167 GB, free: 4.602 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01002/0.5079, allocations: 6.139 MB / 1.173 GB, free: 14.44 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.00262/0.5105, allocations: 0.8281 MB / 1.174 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006995/0.5175, allocations: 2.025 MB / 1.176 GB, free: 11.58 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.003576/0.5211, allocations: 2.111 MB / 1.178 GB, free: 9.465 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.009232/0.5304, allocations: 4.504 MB / 1.183 GB, free: 4.941 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0162/0.5466, allocations: 12.92 MB / 1.195 GB, free: 7.988 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.5466, allocations: 0 / 1.195 GB, free: 7.988 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.443e-06/0.5467, allocations: 0 / 1.195 GB, free: 7.988 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.0004425/0.5471, allocations: 0 / 1.195 GB, free: 7.988 MB / 0.9512 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.02317/0.5703, allocations: 8.282 MB / 1.203 GB, free: 15.62 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.5703, allocations: 8.031 kB / 1.203 GB, free: 15.61 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004545/0.5749, allocations: 0.8625 MB / 1.204 GB, free: 14.74 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01491/0.5898, allocations: 7.514 MB / 1.211 GB, free: 7.141 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004408/0.5903, allocations: 415.9 kB / 1.212 GB, free: 6.727 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001608/0.5919, allocations: 0.5076 MB / 1.212 GB, free: 6.219 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01489/0.6068, allocations: 7.671 MB / 1.22 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001339/0.607, allocations: 27.78 kB / 1.22 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007091/0.6077, allocations: 224 kB / 1.22 GB, free: 14.01 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001893/0.6079, allocations: 171.9 kB / 1.22 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01244/0.6204, allocations: 6.063 MB / 1.226 GB, free: 7.762 MB / 0.9825 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.6699/1.29, allocations: 29.58 MB / 1.255 GB, free: 153.2 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00519/1.296, allocations: 3.396 MB / 1.258 GB, free: 153.1 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002699/1.298, allocations: 1.956 MB / 1.26 GB, free: 153.1 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008649/1.299, allocations: 0.9952 MB / 1.261 GB, free: 152 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.234e-05/1.299, allocations: 71.53 kB / 1.261 GB, free: 152 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=253): time 4.809e-06/1.299, allocations: 0 / 1.261 GB, free: 152 MB / 0.9981 GB Notification: Performance of matching and sorting (n=253): time 0.01113/1.31, allocations: 4.691 MB / 1.266 GB, free: 151.9 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.898e-05/1.311, allocations: 80.19 kB / 1.266 GB, free: 151.8 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01468/1.325, allocations: 6.435 MB / 1.272 GB, free: 149.9 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0008346/1.326, allocations: 83.42 kB / 1.272 GB, free: 149.8 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002701/1.329, allocations: 2.972 MB / 1.275 GB, free: 147.9 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001339/1.33, allocations: 0.9035 MB / 1.276 GB, free: 147.2 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009625/1.331, allocations: 0.682 MB / 1.277 GB, free: 146.9 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.923e-05/1.331, allocations: 310.3 kB / 1.277 GB, free: 146.6 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002586/1.334, allocations: 1.645 MB / 1.279 GB, free: 146 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003016/1.337, allocations: 2.672 MB / 1.281 GB, free: 144.3 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005729/1.343, allocations: 4.593 MB / 1.286 GB, free: 141.7 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.386e-05/1.343, allocations: 13.22 kB / 1.286 GB, free: 141.7 MB / 0.9981 GB Notification: Performance of matching and sorting (n=436) (initialization): time 0.008612/1.351, allocations: 4.959 MB / 1.291 GB, free: 139.8 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.329e-05/1.351, allocations: 22.44 kB / 1.291 GB, free: 139.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-05/1.351, allocations: 30.88 kB / 1.291 GB, free: 139.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.462e-05/1.351, allocations: 57.09 kB / 1.291 GB, free: 139.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002912/1.354, allocations: 0.8136 MB / 1.292 GB, free: 139.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005612/1.355, allocations: 1.245 MB / 1.293 GB, free: 138.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004556/1.359, allocations: 0.5198 MB / 1.293 GB, free: 138.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000267/1.36, allocations: 155 kB / 1.293 GB, free: 138.2 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005524/1.365, allocations: 3.906 MB / 1.297 GB, free: 136.8 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002364/1.368, allocations: 2.671 MB / 1.3 GB, free: 135 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004394/1.372, allocations: 4.59 MB / 1.304 GB, free: 131.9 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.215e-05/1.372, allocations: 8.938 kB / 1.304 GB, free: 131.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=436) (initialization_lambda0): time 0.007028/1.379, allocations: 4.954 MB / 1.309 GB, free: 129.4 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.503e-05/1.379, allocations: 18.62 kB / 1.309 GB, free: 129.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.718e-05/1.379, allocations: 33.59 kB / 1.309 GB, free: 129.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.488e-05/1.379, allocations: 50.59 kB / 1.309 GB, free: 129.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002364/1.382, allocations: 0.7782 MB / 1.31 GB, free: 129.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.653e-05/1.382, allocations: 73.03 kB / 1.31 GB, free: 129.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004773/1.386, allocations: 379.7 kB / 1.31 GB, free: 129 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003059/1.387, allocations: 159.9 kB / 1.311 GB, free: 128.9 MB / 0.9981 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.001044/1.388, allocations: 414.1 kB / 1.311 GB, free: 128.6 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0019/1.39, allocations: 0.5586 MB / 1.312 GB, free: 128.3 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005905/1.396, allocations: 3.898 MB / 1.315 GB, free: 126.2 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.233e-05/1.396, allocations: 29.05 kB / 1.315 GB, free: 126.1 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.077e-05/1.396, allocations: 0 / 1.315 GB, free: 126.1 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003376/1.399, allocations: 3.006 MB / 1.318 GB, free: 123.8 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01575/1.415, allocations: 9.865 MB / 1.328 GB, free: 113.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.108e-05/1.415, allocations: 4 kB / 1.328 GB, free: 113.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002173/1.417, allocations: 0.5907 MB / 1.328 GB, free: 113.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-05/1.417, allocations: 11.94 kB / 1.329 GB, free: 113.3 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001518/1.417, allocations: 75.89 kB / 1.329 GB, free: 113.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003776/1.418, allocations: 1.189 MB / 1.33 GB, free: 112 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/1.418, allocations: 3.938 kB / 1.33 GB, free: 112 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007418/1.425, allocations: 5.646 MB / 1.335 GB, free: 106.2 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003115/1.428, allocations: 1.216 MB / 1.336 GB, free: 105 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001501/1.43, allocations: 60.11 kB / 1.337 GB, free: 104.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003913/1.434, allocations: 206 kB / 1.337 GB, free: 104.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002736/1.434, allocations: 153.8 kB / 1.337 GB, free: 104.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002673/1.434, allocations: 139.9 kB / 1.337 GB, free: 104.5 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.007952/1.442, allocations: 4.57 MB / 1.341 GB, free: 99.89 MB / 0.9981 GB Notification: Performance of sort global known variables: time 4.01e-07/1.442, allocations: 1.969 kB / 1.341 GB, free: 99.89 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.01021/1.452, allocations: 3.279 MB / 1.345 GB, free: 96.62 MB / 0.9981 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.001556/1.454, allocations: 0.5072 MB / 1.345 GB, free: 96.18 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01792/1.472, allocations: 10.76 MB / 1.356 GB, free: 85.43 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.227e-05/1.472, allocations: 4.562 kB / 1.356 GB, free: 85.42 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002484/1.474, allocations: 1.58 MB / 1.357 GB, free: 83.84 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02116/1.496, allocations: 4.15 MB / 1.361 GB, free: 79.92 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02424/1.52, allocations: 13.83 MB / 1.375 GB, free: 66.06 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00512/1.525, allocations: 4.556 MB / 1.379 GB, free: 61.48 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.01012/1.535, allocations: 2.949 MB / 1.382 GB, free: 58.53 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001866/1.537, allocations: 491.1 kB / 1.383 GB, free: 58.05 MB / 0.9981 GB Notification: Performance of SimCode: time 7.61e-07/1.537, allocations: 0 / 1.383 GB, free: 58.05 MB / 0.9981 GB Notification: Performance of Templates: time 0.2033/1.74, allocations: 136.4 MB / 1.516 GB, free: 2.965 MB / 1.076 GB make -j1 -f Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.Pipe.makefile (rm -f Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe >> ../files/Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.Pipe.sim & ./Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.Pipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe 2>&1)