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.664/1.664, allocations: 285.6 MB / 293.1 MB, free: 10.26 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.00129/0.00129, allocations: 172.9 kB / 361.4 MB, free: 6.82 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.708/1.708, allocations: 205.2 MB / 0.62 GB, free: 11.63 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.0007952/0.0007952, allocations: 101.3 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.925e-05/2.927e-05, allocations: 7.984 kB / 0.8518 GB, free: 2.645 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7137/0.7138, allocations: 115.3 MB / 0.9644 GB, free: 78.75 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.111/1.825, allocations: 430.8 MB / 1.385 GB, free: 136.8 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002361/1.825, allocations: 91.45 kB / 1.385 GB, free: 136.8 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.777/4.603, allocations: 0.7601 GB / 2.145 GB, free: 134.8 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.305e-06/4.603, allocations: 0 / 2.145 GB, free: 134.8 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.001387/4.604, allocations: 186.8 kB / 2.145 GB, free: 134.7 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.01942/4.624, allocations: 5.625 MB / 2.151 GB, free: 132.3 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.542e-05/4.624, allocations: 13.38 kB / 2.151 GB, free: 132.3 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006333/4.63, allocations: 0.8307 MB / 2.152 GB, free: 131.9 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05154/4.682, allocations: 23.09 MB / 2.174 GB, free: 124.5 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004383/4.682, allocations: 245.6 kB / 2.175 GB, free: 124.5 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001991/4.684, allocations: 304.4 kB / 2.175 GB, free: 124.5 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01194/4.696, allocations: 5.015 MB / 2.18 GB, free: 122.1 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01977/4.716, allocations: 6.27 MB / 2.186 GB, free: 118.4 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004335/4.716, allocations: 23 kB / 2.186 GB, free: 118.4 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002039/4.718, allocations: 14.48 kB / 2.186 GB, free: 118.4 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002233/4.719, allocations: 169.8 kB / 2.186 GB, free: 118.4 MB / 0.9323 GB Warning: The model contains alias variables with conflicting start and/or 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.04828/4.767, allocations: 28.71 MB / 2.214 GB, free: 95.29 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005539/4.773, allocations: 3.211 MB / 2.217 GB, free: 92.67 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002324/4.775, allocations: 1.626 MB / 2.219 GB, free: 91.04 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009244/4.776, allocations: 0.9765 MB / 2.22 GB, free: 89.88 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.234e-05/4.776, allocations: 73.12 kB / 2.22 GB, free: 89.79 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=253): time 5.29e-06/4.776, allocations: 0 / 2.22 GB, free: 89.79 MB / 0.9323 GB Notification: Performance of matching and sorting (n=253): time 0.007288/4.783, allocations: 3.043 MB / 2.223 GB, free: 86.73 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.149e-05/4.783, allocations: 80.69 kB / 2.223 GB, free: 86.64 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01014/4.794, allocations: 4.645 MB / 2.227 GB, free: 82.01 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0008699/4.794, allocations: 33.7 kB / 2.227 GB, free: 81.97 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.002867/4.797, allocations: 2.923 MB / 2.23 GB, free: 79.02 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.001582/4.799, allocations: 0.8662 MB / 2.231 GB, free: 78.14 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00047/4.799, allocations: 0 / 2.231 GB, free: 78.14 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0003253/4.8, allocations: 453.2 kB / 2.232 GB, free: 77.69 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002156/4.802, allocations: 1.388 MB / 2.233 GB, free: 76.3 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00274/4.805, allocations: 2.518 MB / 2.235 GB, free: 73.3 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003663/4.808, allocations: 2.088 MB / 2.237 GB, free: 71.2 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.418e-05/4.808, allocations: 12 kB / 2.237 GB, free: 71.19 MB / 0.9323 GB Notification: Performance of matching and sorting (n=436) (initialization): time 0.00876/4.817, allocations: 4.336 MB / 2.242 GB, free: 66.8 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.003433/4.821, allocations: 16.53 MB / 2.258 GB, free: 49.04 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.331e-05/4.821, allocations: 39.03 kB / 2.258 GB, free: 49.01 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.879e-05/4.821, allocations: 60.09 kB / 2.258 GB, free: 48.95 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003622/4.825, allocations: 0.8891 MB / 2.259 GB, free: 48.06 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006948/4.825, allocations: 1.246 MB / 2.26 GB, free: 46.77 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005686/4.831, allocations: 448 kB / 2.26 GB, free: 46.33 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000669/4.832, allocations: 164 kB / 2.261 GB, free: 46.17 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/4.832, allocations: 4 kB / 2.261 GB, free: 46.16 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007403/4.839, allocations: 3.835 MB / 2.264 GB, free: 42.29 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.286e-05/4.839, allocations: 36.94 kB / 2.264 GB, free: 42.25 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.325e-05/4.839, allocations: 60 kB / 2.264 GB, free: 42.2 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003021/4.842, allocations: 0.862 MB / 2.265 GB, free: 41.33 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.473e-05/4.842, allocations: 75.72 kB / 2.265 GB, free: 41.26 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005024/4.847, allocations: 384.7 kB / 2.266 GB, free: 40.88 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005924/4.848, allocations: 160 kB / 2.266 GB, free: 40.72 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 () * 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.001186/4.849, allocations: 224.9 kB / 2.266 GB, free: 40.5 MB / 0.9323 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.007497/4.857, allocations: 3.027 MB / 2.269 GB, free: 37.46 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002692/4.86, allocations: 494 kB / 2.27 GB, free: 36.97 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007893/4.867, allocations: 3.448 MB / 2.273 GB, free: 33.48 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.854e-05/4.868, allocations: 31.98 kB / 2.273 GB, free: 33.45 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.06e-05/4.868, allocations: 0 / 2.273 GB, free: 33.45 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004149/4.872, allocations: 2.678 MB / 2.276 GB, free: 30.71 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02078/4.892, allocations: 8.612 MB / 2.284 GB, free: 22.05 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.046e-05/4.893, allocations: 3.938 kB / 2.284 GB, free: 22.05 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002371/4.895, allocations: 0.5267 MB / 2.284 GB, free: 21.52 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.835e-05/4.895, allocations: 12 kB / 2.284 GB, free: 21.51 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003456/4.895, allocations: 47.45 kB / 2.285 GB, free: 21.46 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004466/4.896, allocations: 1.191 MB / 2.286 GB, free: 20.23 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/4.896, allocations: 0 / 2.286 GB, free: 20.23 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009037/4.905, allocations: 5.367 MB / 2.291 GB, free: 14.74 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004649/4.91, allocations: 1.252 MB / 2.292 GB, free: 13.46 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002476/4.912, allocations: 23.94 kB / 2.292 GB, free: 13.44 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005466/4.918, allocations: 223.1 kB / 2.292 GB, free: 13.22 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004471/4.918, allocations: 149.7 kB / 2.293 GB, free: 13.07 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006475/4.919, allocations: 147.9 kB / 2.293 GB, free: 12.93 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.007968/4.927, allocations: 3.583 MB / 2.296 GB, free: 9.355 MB / 0.9323 GB Notification: Performance of sort global known variables: time 2.21e-07/4.927, allocations: 0 / 2.296 GB, free: 9.355 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.01546/4.942, allocations: 3.201 MB / 2.299 GB, free: 6.145 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 () * 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.01259/4.955, allocations: 6.643 MB / 2.306 GB, free: 15.46 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01038/4.965, allocations: 5.478 MB / 2.311 GB, free: 9.969 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.897e-05/4.965, allocations: 4.938 kB / 2.311 GB, free: 9.961 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002774/4.968, allocations: 1.479 MB / 2.313 GB, free: 8.48 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02213/4.99, allocations: 3.177 MB / 2.316 GB, free: 5.438 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6191/5.609, allocations: 13.15 MB / 2.329 GB, free: 141.6 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007837/5.617, allocations: 4.64 MB / 2.333 GB, free: 140.8 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.01603/5.633, allocations: 4.424 MB / 2.337 GB, free: 140.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005583/5.639, allocations: 2.426 MB / 2.34 GB, free: 140.8 MB / 0.948 GB Notification: Performance of SimCode: time 1.774e-06/5.639, allocations: 0 / 2.34 GB, free: 140.8 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2613/5.9, allocations: 158.2 MB / 2.494 GB, free: 124.4 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001703/5.901, allocations: 174 kB / 2.494 GB, free: 124.2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.462/13.36, allocations: 3.938 kB / 2.494 GB, free: 124.2 MB / 0.948 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)