Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.Pipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.Pipe,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_FixedResistances_Examples_Pipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.Pipe,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.518/2.518, allocations: 287.3 MB / 302.3 MB, free: 8.328 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.00148/0.00148, allocations: 179.8 kB / 370.8 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.292/2.292, allocations: 205.4 MB / 0.6295 GB, free: 10.63 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.001129/0.001129, allocations: 100.5 kB / 0.7428 GB, free: 6.629 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004938/0.0004938, allocations: 12.02 kB / 0.8657 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2234/0.2239, allocations: 115.3 MB / 0.9783 GB, free: 28.34 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.339/1.563, allocations: 431.4 MB / 1.4 GB, free: 15.9 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003771/1.564, allocations: 90.64 kB / 1.4 GB, free: 15.85 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 4.844/6.408, allocations: 0.7662 GB / 2.166 GB, free: 151.3 MB / 0.9323 GB Notification: Performance of FrontEnd: time 3.116e-06/6.408, allocations: 2.531 kB / 2.166 GB, free: 151.3 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.001407/6.409, allocations: 187 kB / 2.166 GB, free: 151.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.03288/6.442, allocations: 7.003 MB / 2.173 GB, free: 149.1 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.804e-05/6.442, allocations: 11.19 kB / 2.173 GB, free: 149.1 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003568/6.446, allocations: 0.7137 MB / 2.174 GB, free: 149 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006592/6.452, allocations: 0.8368 MB / 2.174 GB, free: 148.6 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08082/6.533, allocations: 23.26 MB / 2.197 GB, free: 147.2 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006483/6.534, allocations: 420.1 kB / 2.198 GB, free: 147.1 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0024/6.536, allocations: 0.5111 MB / 2.198 GB, free: 147.1 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0244/6.561, allocations: 7.115 MB / 2.205 GB, free: 146.3 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003399/6.561, allocations: 23.34 kB / 2.205 GB, free: 146.3 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001943/6.563, allocations: 222 kB / 2.205 GB, free: 146.3 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002385/6.563, allocations: 170.3 kB / 2.205 GB, free: 146.3 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01844/6.582, allocations: 5.487 MB / 2.211 GB, free: 146.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.06275/6.645, allocations: 29.8 MB / 2.24 GB, free: 133 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00996/6.655, allocations: 3.416 MB / 2.243 GB, free: 133 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00148/6.656, allocations: 0.9667 MB / 2.244 GB, free: 131.9 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001032/6.656, allocations: 82.23 kB / 2.244 GB, free: 131.9 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=253): time 5.66e-06/6.656, allocations: 3.875 kB / 2.244 GB, free: 131.9 MB / 0.9323 GB Notification: Performance of matching and sorting (n=253): time 0.01476/6.671, allocations: 4.393 MB / 2.248 GB, free: 131.5 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.247e-05/6.671, allocations: 79.34 kB / 2.249 GB, free: 131.5 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01647/6.688, allocations: 5.742 MB / 2.254 GB, free: 131.1 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.001019/6.689, allocations: 80.8 kB / 2.254 GB, free: 131.1 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.004705/6.694, allocations: 2.987 MB / 2.257 GB, free: 130.1 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.002113/6.696, allocations: 0.8967 MB / 2.258 GB, free: 129.6 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005287/6.696, allocations: 64.97 kB / 2.258 GB, free: 129.6 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0003844/6.697, allocations: 454.4 kB / 2.259 GB, free: 129.3 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00463/6.701, allocations: 1.502 MB / 2.26 GB, free: 129.2 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005941/6.707, allocations: 2.644 MB / 2.263 GB, free: 127.9 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006209/6.714, allocations: 2.109 MB / 2.265 GB, free: 127.9 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.16e-05/6.714, allocations: 10.97 kB / 2.265 GB, free: 127.9 MB / 0.9323 GB Notification: Performance of matching and sorting (n=436) (initialization): time 0.0149/6.729, allocations: 4.753 MB / 2.269 GB, free: 127.5 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.003836/6.733, allocations: 17.14 MB / 2.286 GB, free: 109.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001444/6.733, allocations: 38.58 kB / 2.286 GB, free: 109.6 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001089/6.733, allocations: 59.75 kB / 2.286 GB, free: 109.6 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006988/6.74, allocations: 0.8779 MB / 2.287 GB, free: 109.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008167/6.741, allocations: 1.25 MB / 2.288 GB, free: 108.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008874/6.75, allocations: 0.5854 MB / 2.289 GB, free: 108.2 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001026/6.751, allocations: 166.5 kB / 2.289 GB, free: 108.2 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/6.751, allocations: 3.906 kB / 2.289 GB, free: 108.2 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01168/6.762, allocations: 4.258 MB / 2.293 GB, free: 108.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.358e-05/6.763, allocations: 37.97 kB / 2.293 GB, free: 108.1 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.131e-05/6.763, allocations: 56.81 kB / 2.293 GB, free: 108.1 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006465/6.769, allocations: 0.8663 MB / 2.294 GB, free: 108.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001134/6.769, allocations: 79.55 kB / 2.294 GB, free: 108.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008294/6.778, allocations: 0.5132 MB / 2.295 GB, free: 107.9 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001053/6.779, allocations: 167.8 kB / 2.295 GB, free: 107.9 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.007017/6.786, allocations: 2.505 MB / 2.297 GB, free: 107.7 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002583/6.788, allocations: 0.5454 MB / 2.298 GB, free: 107.4 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01324/6.802, allocations: 3.71 MB / 2.301 GB, free: 107.2 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.967e-05/6.802, allocations: 26.58 kB / 2.301 GB, free: 107.2 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.345e-05/6.802, allocations: 1.969 kB / 2.301 GB, free: 107.2 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008023/6.81, allocations: 2.809 MB / 2.304 GB, free: 107 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03022/6.84, allocations: 9.403 MB / 2.313 GB, free: 103.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-05/6.84, allocations: 0 / 2.313 GB, free: 103.5 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005011/6.845, allocations: 0.536 MB / 2.314 GB, free: 103.4 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.87e-05/6.845, allocations: 14.95 kB / 2.314 GB, free: 103.4 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000523/6.846, allocations: 78.95 kB / 2.314 GB, free: 103.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005568/6.846, allocations: 1.179 MB / 2.315 GB, free: 102.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/6.846, allocations: 0 / 2.315 GB, free: 102.2 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01502/6.861, allocations: 5.663 MB / 2.321 GB, free: 99.84 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005843/6.867, allocations: 1.337 MB / 2.322 GB, free: 99.12 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002482/6.87, allocations: 66.62 kB / 2.322 GB, free: 99.08 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0079/6.878, allocations: 262.1 kB / 2.322 GB, free: 99.01 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008325/6.879, allocations: 148.8 kB / 2.322 GB, free: 98.99 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006455/6.879, allocations: 147.5 kB / 2.323 GB, free: 98.97 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.01241/6.892, allocations: 4.534 MB / 2.327 GB, free: 97.43 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.032e-06/6.892, allocations: 2.156 kB / 2.327 GB, free: 97.43 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.01687/6.909, allocations: 3.244 MB / 2.33 GB, free: 96.82 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.01782/6.927, allocations: 6.97 MB / 2.337 GB, free: 93.7 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.01607/6.943, allocations: 5.744 MB / 2.343 GB, free: 91.87 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.891e-05/6.943, allocations: 8.031 kB / 2.343 GB, free: 91.87 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.004319/6.947, allocations: 1.56 MB / 2.344 GB, free: 91.37 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03096/6.978, allocations: 3.863 MB / 2.348 GB, free: 90.78 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05092/7.029, allocations: 44.74 MB / 2.392 GB, free: 54.3 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008029/7.037, allocations: 4.635 MB / 2.396 GB, free: 50.83 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.018/7.055, allocations: 3.031 MB / 2.399 GB, free: 48.86 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007634/7.063, allocations: 2.585 MB / 2.402 GB, free: 46.48 MB / 0.9323 GB Notification: Performance of SimCode: time 1.613e-06/7.063, allocations: 0 / 2.402 GB, free: 46.48 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.899/8.962, allocations: 181.5 MB / 2.579 GB, free: 124.7 MB / 0.9637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000301/8.962, allocations: 241.5 kB / 2.579 GB, free: 124.4 MB / 0.9637 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.094/18.06, allocations: 0 / 2.579 GB, free: 124.4 MB / 0.9637 GB (rm -f Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.Pipe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_FixedResistances_Examples_Pipe_fmu --startTime=0 --stopTime=120 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_FixedResistances_Examples_Pipe.fmu > Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe 2>&1)