Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_Buildings.Fluid.FixedResistances.Examples.Pipe") translateModel(Buildings.Fluid.FixedResistances.Examples.Pipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001545/0.001545, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002505/0.002505, allocations: 192.2 kB / 16.13 MB, free: 6.715 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.489/1.489, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.007/3.007, allocations: 472.6 MB / 0.7447 GB, free: 4.953 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001313, allocations: 74.69 kB / 0.9113 GB, free: 33.69 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3232/0.3245, allocations: 159.9 MB / 1.067 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.Pipe): time 0.04747/0.372, allocations: 45.75 MB / 1.112 GB, free: 13.05 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01971/0.3918, allocations: 11.59 MB / 1.124 GB, free: 1.426 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003201/0.395, allocations: 59.62 kB / 1.124 GB, free: 1.367 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.002864/0.398, allocations: 0.5633 MB / 1.124 GB, free: 0.8008 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.00768/0.4057, allocations: 2.049 MB / 1.126 GB, free: 14.75 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.004712/0.4104, allocations: 1.37 MB / 1.127 GB, free: 13.39 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.03367/0.4441, allocations: 29.34 MB / 1.156 GB, free: 15.98 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01441/0.4586, allocations: 7.524 MB / 1.163 GB, free: 8.352 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01787/0.4765, allocations: 5.586 MB / 1.169 GB, free: 2.742 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01471/0.4913, allocations: 5.911 MB / 1.175 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.002503/0.4938, allocations: 380 kB / 1.175 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008107/0.5019, allocations: 1.486 MB / 1.176 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.003109/0.5051, allocations: 1.568 MB / 1.178 GB, free: 9.371 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.008276/0.5134, allocations: 3.919 MB / 1.182 GB, free: 5.434 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.01667/0.5301, allocations: 12.54 MB / 1.194 GB, free: 8.859 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 7.795e-06/0.5301, allocations: 0 / 1.194 GB, free: 8.859 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.274e-06/0.5301, allocations: 0 / 1.194 GB, free: 8.859 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.0004283/0.5306, allocations: 0 / 1.194 GB, free: 8.859 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.02279/0.5534, allocations: 8.254 MB / 1.202 GB, free: 0.5156 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.5534, allocations: 8.031 kB / 1.202 GB, free: 0.5078 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004017/0.5574, allocations: 0.8549 MB / 1.203 GB, free: 15.64 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01664/0.5741, allocations: 7.802 MB / 1.211 GB, free: 7.754 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004042/0.5746, allocations: 411.9 kB / 1.211 GB, free: 7.344 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001659/0.5762, allocations: 0.5077 MB / 1.211 GB, free: 6.836 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0173/0.5935, allocations: 7.675 MB / 1.219 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002199/0.5938, allocations: 19.78 kB / 1.219 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002148/0.596, allocations: 220 kB / 1.219 GB, free: 14.63 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002643/0.5962, allocations: 171.9 kB / 1.219 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01497/0.6112, allocations: 6.071 MB / 1.225 GB, free: 8.375 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.7554/1.367, allocations: 29.21 MB / 1.254 GB, free: 153.5 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005901/1.373, allocations: 3.396 MB / 1.257 GB, free: 153.4 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00263/1.375, allocations: 1.958 MB / 1.259 GB, free: 153.4 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009264/1.376, allocations: 0.9915 MB / 1.26 GB, free: 152.4 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.554e-05/1.376, allocations: 72.81 kB / 1.26 GB, free: 152.3 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=253): time 4.609e-06/1.376, allocations: 6.594 kB / 1.26 GB, free: 152.3 MB / 0.9981 GB Notification: Performance of matching and sorting (n=253): time 0.009186/1.386, allocations: 4.686 MB / 1.265 GB, free: 152.2 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.805e-05/1.386, allocations: 78.66 kB / 1.265 GB, free: 152.2 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01389/1.4, allocations: 6.156 MB / 1.271 GB, free: 150.6 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.000927/1.4, allocations: 81.95 kB / 1.271 GB, free: 150.5 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.003208/1.404, allocations: 2.981 MB / 1.274 GB, free: 148.6 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001589/1.405, allocations: 0.9027 MB / 1.275 GB, free: 147.9 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001202/1.407, allocations: 0.6826 MB / 1.275 GB, free: 147.6 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.375e-05/1.407, allocations: 305.6 kB / 1.276 GB, free: 147.3 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002893/1.41, allocations: 1.645 MB / 1.277 GB, free: 146.7 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003989/1.414, allocations: 2.676 MB / 1.28 GB, free: 144.9 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009751/1.423, allocations: 4.599 MB / 1.284 GB, free: 142.4 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.935e-05/1.423, allocations: 13.34 kB / 1.284 GB, free: 142.4 MB / 0.9981 GB Notification: Performance of matching and sorting (n=436) (initialization): time 0.01678/1.44, allocations: 4.961 MB / 1.289 GB, free: 140.5 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 6.758e-05/1.44, allocations: 18.16 kB / 1.289 GB, free: 140.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.836e-05/1.44, allocations: 34.81 kB / 1.289 GB, free: 140.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001131/1.44, allocations: 49.56 kB / 1.289 GB, free: 140.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006296/1.447, allocations: 0.8073 MB / 1.29 GB, free: 140.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00143/1.448, allocations: 1.255 MB / 1.291 GB, free: 139.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01138/1.46, allocations: 0.6109 MB / 1.292 GB, free: 138.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001085/1.461, allocations: 162.3 kB / 1.292 GB, free: 138.9 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01223/1.473, allocations: 3.901 MB / 1.296 GB, free: 137.5 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00517/1.478, allocations: 2.673 MB / 1.298 GB, free: 135.7 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009515/1.488, allocations: 4.589 MB / 1.303 GB, free: 132.6 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.829e-05/1.488, allocations: 10.12 kB / 1.303 GB, free: 132.6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=436) (initialization_lambda0): time 0.01445/1.502, allocations: 4.956 MB / 1.308 GB, free: 130.1 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 5.223e-05/1.503, allocations: 21 kB / 1.308 GB, free: 130.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-05/1.503, allocations: 34.95 kB / 1.308 GB, free: 130.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.418e-05/1.503, allocations: 49.03 kB / 1.308 GB, free: 130.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004796/1.508, allocations: 0.7785 MB / 1.309 GB, free: 129.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.273e-05/1.508, allocations: 75 kB / 1.309 GB, free: 129.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008703/1.516, allocations: 477 kB / 1.309 GB, free: 129.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007236/1.517, allocations: 159.7 kB / 1.309 GB, free: 129.6 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.002364/1.519, allocations: 413.6 kB / 1.31 GB, free: 129.2 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004453/1.524, allocations: 0.5595 MB / 1.31 GB, free: 128.9 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01163/1.536, allocations: 3.903 MB / 1.314 GB, free: 126.8 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.151e-05/1.536, allocations: 24.5 kB / 1.314 GB, free: 126.8 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.005e-05/1.536, allocations: 2.062 kB / 1.314 GB, free: 126.8 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006746/1.542, allocations: 2.994 MB / 1.317 GB, free: 124.4 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02828/1.571, allocations: 9.746 MB / 1.327 GB, free: 114.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.497e-05/1.571, allocations: 0 / 1.327 GB, free: 114.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004407/1.575, allocations: 0.5951 MB / 1.327 GB, free: 114 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.937e-05/1.575, allocations: 13.11 kB / 1.327 GB, free: 114 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000273/1.576, allocations: 75.95 kB / 1.327 GB, free: 113.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000552/1.576, allocations: 1.192 MB / 1.328 GB, free: 112.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/1.576, allocations: 0 / 1.328 GB, free: 112.6 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01265/1.589, allocations: 5.65 MB / 1.334 GB, free: 106.9 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004764/1.594, allocations: 1.193 MB / 1.335 GB, free: 105.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00183/1.596, allocations: 59.98 kB / 1.335 GB, free: 105.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004933/1.6, allocations: 377.5 kB / 1.335 GB, free: 105.2 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003239/1.601, allocations: 155.2 kB / 1.336 GB, free: 105.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003329/1.601, allocations: 143.9 kB / 1.336 GB, free: 105 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.006149/1.607, allocations: 4.351 MB / 1.34 GB, free: 100.6 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.9e-07/1.607, allocations: 0 / 1.34 GB, free: 100.6 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.008201/1.616, allocations: 3.241 MB / 1.343 GB, free: 97.37 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.001087/1.617, allocations: 499.5 kB / 1.344 GB, free: 96.93 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.007808/1.624, allocations: 6.017 MB / 1.35 GB, free: 90.89 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.205e-06/1.625, allocations: 4.562 kB / 1.35 GB, free: 90.89 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001835/1.626, allocations: 1.584 MB / 1.351 GB, free: 89.3 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01777/1.644, allocations: 3.949 MB / 1.355 GB, free: 85.51 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01951/1.664, allocations: 16.14 MB / 1.371 GB, free: 69.36 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003276/1.667, allocations: 4.556 MB / 1.375 GB, free: 64.77 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.008173/1.675, allocations: 2.862 MB / 1.378 GB, free: 61.91 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001393/1.677, allocations: 475.2 kB / 1.378 GB, free: 61.44 MB / 0.9981 GB Notification: Performance of SimCode: time 1.252e-06/1.677, allocations: 0 / 1.378 GB, free: 61.44 MB / 0.9981 GB Notification: Performance of Templates: time 0.1984/1.875, allocations: 129.1 MB / 1.504 GB, free: 13.48 MB / 1.076 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.Pipe.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.Pipe.sim & ./Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.Pipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe 2>&1)