Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.Pipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.Pipe,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_FixedResistances_Examples_Pipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.Pipe,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_FixedResistances_Examples_Pipe",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.804/1.804, allocations: 288.2 MB / 303.2 MB, free: 8.172 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.001131/0.001131, allocations: 181.1 kB / 371.8 MB, free: 10.28 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.769/1.769, allocations: 205.4 MB / 0.6305 GB, free: 10.01 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009165/0.0009166, allocations: 90.84 kB / 0.7439 GB, free: 5.934 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004125/0.0004129, allocations: 11.56 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2798/0.2803, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.159/1.439, allocations: 431.5 MB / 1.401 GB, free: 14.51 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002571/1.44, allocations: 95.89 kB / 1.401 GB, free: 14.46 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 3.873/5.313, allocations: 0.7662 GB / 2.167 GB, free: 153.3 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.004e-06/5.313, allocations: 3.75 kB / 2.167 GB, free: 153.3 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.001489/5.314, allocations: 188.3 kB / 2.167 GB, free: 153.3 MB / 0.9323 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.03398/5.348, allocations: 7.005 MB / 2.174 GB, free: 151 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 9.13e-05/5.349, allocations: 9.125 kB / 2.174 GB, free: 151 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006142/5.355, allocations: 0.7096 MB / 2.175 GB, free: 151 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00786/5.363, allocations: 0.84 MB / 2.176 GB, free: 150.6 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06283/5.426, allocations: 23.26 MB / 2.198 GB, free: 149.1 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008197/5.426, allocations: 421.2 kB / 2.199 GB, free: 149.1 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002943/5.429, allocations: 0.5115 MB / 2.199 GB, free: 149.1 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02506/5.454, allocations: 7.118 MB / 2.206 GB, free: 148.2 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005039/5.455, allocations: 15 kB / 2.206 GB, free: 148.2 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002957/5.458, allocations: 228 kB / 2.207 GB, free: 148.2 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003451/5.458, allocations: 167 kB / 2.207 GB, free: 148.2 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01549/5.474, allocations: 5.489 MB / 2.212 GB, free: 148.2 MB / 0.9323 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.05785/5.532, allocations: 29.8 MB / 2.241 GB, free: 135 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00713/5.539, allocations: 3.419 MB / 2.245 GB, free: 134.9 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001354/5.54, allocations: 0.9678 MB / 2.245 GB, free: 133.9 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001524/5.541, allocations: 80.73 kB / 2.246 GB, free: 133.8 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=253): time 1.065e-05/5.541, allocations: 2 kB / 2.246 GB, free: 133.8 MB / 0.9323 GB Notification: Performance of matching and sorting (n=253): time 0.01278/5.553, allocations: 4.391 MB / 2.25 GB, free: 133.5 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.491e-05/5.553, allocations: 85.72 kB / 2.25 GB, free: 133.4 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01579/5.569, allocations: 5.744 MB / 2.256 GB, free: 133.1 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.001155/5.57, allocations: 80.58 kB / 2.256 GB, free: 133.1 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.005198/5.576, allocations: 2.981 MB / 2.259 GB, free: 132.1 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.002327/5.578, allocations: 0.8967 MB / 2.259 GB, free: 131.5 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007914/5.579, allocations: 70.09 kB / 2.259 GB, free: 131.5 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0005444/5.579, allocations: 453.9 kB / 2.26 GB, free: 131.2 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003438/5.583, allocations: 1.494 MB / 2.261 GB, free: 131.2 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005136/5.588, allocations: 2.652 MB / 2.264 GB, free: 129.8 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004935/5.593, allocations: 2.107 MB / 2.266 GB, free: 129.8 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.592e-05/5.593, allocations: 13.16 kB / 2.266 GB, free: 129.8 MB / 0.9323 GB Notification: Performance of matching and sorting (n=436) (initialization): time 0.01201/5.605, allocations: 4.75 MB / 2.271 GB, free: 129.4 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.004718/5.61, allocations: 17.14 MB / 2.287 GB, free: 111.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001111/5.61, allocations: 38.09 kB / 2.287 GB, free: 111.6 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00011/5.61, allocations: 65.19 kB / 2.287 GB, free: 111.6 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004285/5.615, allocations: 0.8724 MB / 2.288 GB, free: 111.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007311/5.615, allocations: 1.25 MB / 2.29 GB, free: 110.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007727/5.623, allocations: 0.583 MB / 2.29 GB, free: 110.1 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001012/5.624, allocations: 172.2 kB / 2.29 GB, free: 110.1 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/5.624, allocations: 4.875 kB / 2.29 GB, free: 110.1 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00945/5.634, allocations: 4.248 MB / 2.294 GB, free: 110 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001323/5.634, allocations: 39.98 kB / 2.294 GB, free: 110 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.276e-05/5.634, allocations: 59.5 kB / 2.295 GB, free: 110 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003517/5.637, allocations: 0.8617 MB / 2.295 GB, free: 110 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001015/5.638, allocations: 77.08 kB / 2.295 GB, free: 110 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00662/5.644, allocations: 0.5201 MB / 2.296 GB, free: 109.8 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007367/5.645, allocations: 165.7 kB / 2.296 GB, free: 109.8 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 162 * 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.006223/5.651, allocations: 2.503 MB / 2.299 GB, free: 109.5 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002831/5.654, allocations: 0.5456 MB / 2.299 GB, free: 109.2 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01127/5.665, allocations: 3.715 MB / 2.303 GB, free: 108.9 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.827e-05/5.665, allocations: 30.06 kB / 2.303 GB, free: 108.9 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.231e-05/5.665, allocations: 0 / 2.303 GB, free: 108.9 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005076/5.671, allocations: 2.81 MB / 2.305 GB, free: 107.9 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02667/5.697, allocations: 9.401 MB / 2.315 GB, free: 104.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.555e-05/5.697, allocations: 0 / 2.315 GB, free: 104.3 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002732/5.7, allocations: 0.5383 MB / 2.315 GB, free: 104.3 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.92e-05/5.7, allocations: 7.375 kB / 2.315 GB, free: 104.3 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004894/5.701, allocations: 81.33 kB / 2.315 GB, free: 104.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000554/5.701, allocations: 1.176 MB / 2.316 GB, free: 103 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/5.701, allocations: 0 / 2.316 GB, free: 103 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01048/5.712, allocations: 5.665 MB / 2.322 GB, free: 100.7 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006039/5.718, allocations: 1.341 MB / 2.323 GB, free: 99.96 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00275/5.721, allocations: 58.97 kB / 2.323 GB, free: 99.92 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006073/5.727, allocations: 265 kB / 2.324 GB, free: 99.86 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004492/5.727, allocations: 157.8 kB / 2.324 GB, free: 99.83 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006878/5.728, allocations: 153.5 kB / 2.324 GB, free: 99.8 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0105/5.738, allocations: 4.531 MB / 2.328 GB, free: 98.27 MB / 0.9323 GB Notification: Performance of sort global known variables: time 6.52e-07/5.738, allocations: 0 / 2.328 GB, free: 98.27 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.01718/5.756, allocations: 3.238 MB / 2.331 GB, free: 97.67 MB / 0.9323 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.01411/5.77, allocations: 6.969 MB / 2.338 GB, free: 94.54 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.01307/5.783, allocations: 5.739 MB / 2.344 GB, free: 92.71 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.765e-05/5.783, allocations: 6.562 kB / 2.344 GB, free: 92.71 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.002935/5.786, allocations: 1.565 MB / 2.345 GB, free: 92.21 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01984/5.806, allocations: 3.86 MB / 2.349 GB, free: 91.64 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05116/5.857, allocations: 44.75 MB / 2.393 GB, free: 52.7 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008472/5.866, allocations: 4.636 MB / 2.397 GB, free: 49.21 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.01356/5.879, allocations: 3.03 MB / 2.4 GB, free: 47.24 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009943/5.889, allocations: 2.577 MB / 2.403 GB, free: 44.88 MB / 0.9323 GB Notification: Performance of SimCode: time 3.547e-06/5.889, allocations: 0 / 2.403 GB, free: 44.88 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.547/7.437, allocations: 181.5 MB / 2.58 GB, free: 127.8 MB / 0.9637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001912/7.437, allocations: 250.4 kB / 2.58 GB, free: 127.5 MB / 0.9637 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.699/15.14, allocations: 0 / 2.58 GB, free: 127.5 MB / 0.9637 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.Pipe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_FixedResistances_Examples_Pipe_fmu --startTime=0 --stopTime=120 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_FixedResistances_Examples_Pipe.fmu > Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe 2>&1)