Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.Pipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.Pipe,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_Pipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.Pipe,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.476/1.476, allocations: 249.3 MB / 261.8 MB, free: 5.902 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009625/0.0009626, allocations: 174.1 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.731/1.731, allocations: 205.2 MB / 0.572 GB, free: 10.69 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008984/0.0008985, allocations: 94.47 kB / 0.6764 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.206e-05/4.21e-05, allocations: 4 kB / 0.788 GB, free: 97.03 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2506/0.2507, allocations: 106.3 MB / 0.8919 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.761/2.012, allocations: 423.8 MB / 1.306 GB, free: 258.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003164/2.012, allocations: 92.64 kB / 1.306 GB, free: 258.3 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.772/4.785, allocations: 0.7482 GB / 2.054 GB, free: 122.3 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.924e-06/4.785, allocations: 0 / 2.054 GB, free: 122.3 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.001277/4.786, allocations: 181.4 kB / 2.054 GB, free: 122.2 MB / 0.8698 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.01677/4.803, allocations: 5.612 MB / 2.06 GB, free: 120.3 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.693e-05/4.803, allocations: 10.41 kB / 2.06 GB, free: 120.3 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003163/4.806, allocations: 0.7054 MB / 2.06 GB, free: 120.2 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006208/4.812, allocations: 0.8341 MB / 2.061 GB, free: 119.8 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05431/4.867, allocations: 22.77 MB / 2.083 GB, free: 118.3 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005321/4.867, allocations: 413.9 kB / 2.084 GB, free: 118.3 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002319/4.87, allocations: 0.523 MB / 2.084 GB, free: 118.3 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01912/4.889, allocations: 6.892 MB / 2.091 GB, free: 116.9 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00042/4.889, allocations: 28.92 kB / 2.091 GB, free: 116.9 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001893/4.891, allocations: 221.3 kB / 2.091 GB, free: 116.7 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002065/4.891, allocations: 162.3 kB / 2.092 GB, free: 116.7 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01385/4.905, allocations: 5.352 MB / 2.097 GB, free: 114.8 MB / 0.8698 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.04453/4.95, allocations: 29.67 MB / 2.126 GB, free: 95.45 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005452/4.955, allocations: 3.347 MB / 2.129 GB, free: 94.39 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002418/4.958, allocations: 1.707 MB / 2.131 GB, free: 93.79 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008754/4.959, allocations: 0.971 MB / 2.132 GB, free: 92.75 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.407e-05/4.959, allocations: 72.88 kB / 2.132 GB, free: 92.68 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=253): time 5.41e-06/4.959, allocations: 0 / 2.132 GB, free: 92.68 MB / 0.8698 GB Notification: Performance of matching and sorting (n=253): time 0.00605/4.965, allocations: 3.141 MB / 2.135 GB, free: 91.55 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.366e-05/4.965, allocations: 78.53 kB / 2.135 GB, free: 91.49 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01184/4.977, allocations: 5.686 MB / 2.14 GB, free: 89.57 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0007571/4.978, allocations: 86.45 kB / 2.14 GB, free: 89.5 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.003683/4.981, allocations: 2.988 MB / 2.143 GB, free: 87.19 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001365/4.983, allocations: 0.8982 MB / 2.144 GB, free: 86.5 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004541/4.983, allocations: 68.28 kB / 2.144 GB, free: 86.45 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0003262/4.983, allocations: 449.3 kB / 2.145 GB, free: 86.08 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002424/4.986, allocations: 1.455 MB / 2.146 GB, free: 85.6 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00281/4.989, allocations: 2.609 MB / 2.149 GB, free: 83.66 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002938/4.992, allocations: 2.074 MB / 2.151 GB, free: 82.95 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.814e-05/4.992, allocations: 13.41 kB / 2.151 GB, free: 82.95 MB / 0.8698 GB Notification: Performance of matching and sorting (n=436) (initialization): time 0.007686/4.999, allocations: 4.67 MB / 2.155 GB, free: 81.14 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.002945/5.002, allocations: 17.13 MB / 2.172 GB, free: 62.89 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.64e-05/5.003, allocations: 36 kB / 2.172 GB, free: 62.86 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.646e-05/5.003, allocations: 60 kB / 2.172 GB, free: 62.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00342/5.006, allocations: 0.8856 MB / 2.173 GB, free: 62.04 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005016/5.007, allocations: 1.244 MB / 2.174 GB, free: 60.76 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005755/5.012, allocations: 0.586 MB / 2.175 GB, free: 60.22 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006328/5.013, allocations: 163.3 kB / 2.175 GB, free: 60.07 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/5.013, allocations: 5.094 kB / 2.175 GB, free: 60.06 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006751/5.02, allocations: 4.163 MB / 2.179 GB, free: 56.43 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.623e-05/5.02, allocations: 36 kB / 2.179 GB, free: 56.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.357e-05/5.02, allocations: 60 kB / 2.179 GB, free: 56.34 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003173/5.023, allocations: 0.8687 MB / 2.18 GB, free: 55.59 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.883e-05/5.023, allocations: 82.95 kB / 2.18 GB, free: 55.52 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005789/5.029, allocations: 0.5163 MB / 2.181 GB, free: 55.05 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009717/5.03, allocations: 171.5 kB / 2.181 GB, free: 54.89 MB / 0.8698 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.001984/5.032, allocations: 323.7 kB / 2.181 GB, free: 54.56 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002254/5.034, allocations: 0.5443 MB / 2.182 GB, free: 54.01 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008199/5.043, allocations: 3.632 MB / 2.185 GB, free: 50.95 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.493e-05/5.043, allocations: 28 kB / 2.185 GB, free: 50.92 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.656e-05/5.043, allocations: 0 / 2.185 GB, free: 50.92 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004108/5.047, allocations: 2.746 MB / 2.188 GB, free: 48.54 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02105/5.068, allocations: 9.237 MB / 2.197 GB, free: 39.77 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.031e-05/5.068, allocations: 4 kB / 2.197 GB, free: 39.77 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002397/5.07, allocations: 0.5423 MB / 2.197 GB, free: 39.22 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-05/5.07, allocations: 15.95 kB / 2.197 GB, free: 39.21 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002863/5.071, allocations: 75.95 kB / 2.197 GB, free: 39.13 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003738/5.071, allocations: 1.172 MB / 2.199 GB, free: 37.91 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/5.071, allocations: 8.016 kB / 2.199 GB, free: 37.91 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007596/5.079, allocations: 5.544 MB / 2.204 GB, free: 32.24 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00415/5.083, allocations: 1.31 MB / 2.205 GB, free: 30.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001887/5.085, allocations: 59.98 kB / 2.205 GB, free: 30.84 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00509/5.09, allocations: 259.2 kB / 2.206 GB, free: 30.59 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004429/5.09, allocations: 157.7 kB / 2.206 GB, free: 30.43 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005057/5.091, allocations: 127.8 kB / 2.206 GB, free: 30.31 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.008344/5.099, allocations: 4.473 MB / 2.21 GB, free: 25.87 MB / 0.8698 GB Notification: Performance of sort global known variables: time 7.92e-07/5.099, allocations: 0 / 2.21 GB, free: 25.87 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.01202/5.111, allocations: 3.234 MB / 2.213 GB, free: 22.63 MB / 0.8698 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.009543/5.121, allocations: 6.834 MB / 2.22 GB, free: 15.75 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.008045/5.129, allocations: 5.819 MB / 2.226 GB, free: 9.91 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 9.347e-06/5.129, allocations: 4 kB / 2.226 GB, free: 9.906 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001975/5.131, allocations: 1.53 MB / 2.227 GB, free: 8.371 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01813/5.149, allocations: 3.858 MB / 2.231 GB, free: 4.676 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03199/5.181, allocations: 13.64 MB / 2.244 GB, free: 7.109 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006635/5.188, allocations: 4.645 MB / 2.249 GB, free: 2.438 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.01879/5.207, allocations: 4.939 MB / 2.254 GB, free: 13.64 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006341/5.213, allocations: 2.46 MB / 2.256 GB, free: 11.18 MB / 0.9011 GB Notification: Performance of SimCode: time 1.713e-06/5.213, allocations: 0 / 2.256 GB, free: 11.18 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8129/6.026, allocations: 184.1 MB / 2.436 GB, free: 119.6 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001592/6.026, allocations: 226.6 kB / 2.436 GB, free: 119.3 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.453/14.48, allocations: 8 kB / 2.436 GB, free: 119.3 MB / 0.9011 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.Pipe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_Pipe_fmu --startTime=0 --stopTime=120 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_Pipe.fmu > Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe 2>&1)