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.204/1.204, allocations: 251.5 MB / 266.7 MB, free: 11.03 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008274/0.0008274, allocations: 176.2 kB / 325.8 MB, free: 2.688 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.259/1.259, allocations: 205 MB / 0.576 GB, free: 20.94 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.0006084/0.0006085, allocations: 93.17 kB / 0.6797 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002833/0.0002834, allocations: 8.562 kB / 0.7933 GB, free: 136.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1387/0.139, allocations: 105.4 MB / 0.8962 GB, free: 68.09 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.Pipe): time 0.02562/0.1647, allocations: 45.42 MB / 0.9405 GB, free: 22.51 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0104/0.1751, allocations: 11.42 MB / 0.9517 GB, free: 11.07 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00121/0.1764, allocations: 51.69 kB / 0.9517 GB, free: 11.02 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001151/0.1775, allocations: 0.5594 MB / 0.9523 GB, free: 10.46 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.003461/0.181, allocations: 2.003 MB / 0.9542 GB, free: 8.445 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002512/0.1835, allocations: 1.328 MB / 0.9555 GB, free: 7.129 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.01985/0.2034, allocations: 29.05 MB / 0.9839 GB, free: 10 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00823/0.2117, allocations: 7.188 MB / 0.9909 GB, free: 2.715 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008818/0.2205, allocations: 5.469 MB / 0.9963 GB, free: 13.22 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00763/0.2282, allocations: 5.619 MB / 1.002 GB, free: 7.578 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0009423/0.2291, allocations: 284 kB / 1.002 GB, free: 7.301 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003951/0.2331, allocations: 1.384 MB / 1.003 GB, free: 5.914 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.001222/0.2343, allocations: 1.396 MB / 1.005 GB, free: 4.512 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.004094/0.2384, allocations: 3.665 MB / 1.008 GB, free: 0.8281 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.009712/0.2481, allocations: 11.99 MB / 1.02 GB, free: 4.801 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.2482, allocations: 0 / 1.02 GB, free: 4.801 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.713e-06/0.2482, allocations: 0 / 1.02 GB, free: 4.801 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0002077/0.2484, allocations: 0 / 1.02 GB, free: 4.801 MB / 0.6667 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.009752/0.2581, allocations: 6.551 MB / 1.026 GB, free: 14.16 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 2.997e-05/0.2582, allocations: 16.03 kB / 1.026 GB, free: 14.15 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009215/0.2591, allocations: 0.7066 MB / 1.027 GB, free: 13.43 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002204/0.2613, allocations: 0.8427 MB / 1.028 GB, free: 12.58 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01073/0.2721, allocations: 7.57 MB / 1.035 GB, free: 4.926 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002778/0.2724, allocations: 415.9 kB / 1.036 GB, free: 4.512 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007934/0.2732, allocations: 0.5154 MB / 1.036 GB, free: 3.996 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01016/0.2833, allocations: 7.56 MB / 1.044 GB, free: 12.14 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001016/0.2834, allocations: 31.77 kB / 1.044 GB, free: 12.11 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000439/0.2839, allocations: 220 kB / 1.044 GB, free: 11.9 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001312/0.284, allocations: 167.8 kB / 1.044 GB, free: 11.73 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008364/0.2924, allocations: 6.075 MB / 1.05 GB, free: 5.645 MB / 0.698 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.3076/0.6, allocations: 29.11 MB / 1.078 GB, free: 126.9 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004067/0.6041, allocations: 3.412 MB / 1.082 GB, free: 126.6 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002093/0.6062, allocations: 1.959 MB / 1.084 GB, free: 125.9 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007164/0.6069, allocations: 1.003 MB / 1.085 GB, free: 124.8 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.274e-05/0.607, allocations: 67.12 kB / 1.085 GB, free: 124.8 MB / 0.698 GB Notification: Performance of pre-optimization done (n=253): time 4.449e-06/0.607, allocations: 7.688 kB / 1.085 GB, free: 124.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=253): time 0.006149/0.6132, allocations: 4.697 MB / 1.089 GB, free: 122.6 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.739e-05/0.6132, allocations: 80.16 kB / 1.089 GB, free: 122.5 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007373/0.6206, allocations: 6.019 MB / 1.095 GB, free: 119.5 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003619/0.621, allocations: 81.02 kB / 1.095 GB, free: 119.4 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001585/0.6226, allocations: 2.935 MB / 1.098 GB, free: 117 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000714/0.6233, allocations: 0.903 MB / 1.099 GB, free: 116.2 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002601/0.6236, allocations: 282.3 kB / 1.099 GB, free: 116 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 3.478e-05/0.6236, allocations: 304.2 kB / 1.1 GB, free: 115.7 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001795/0.6254, allocations: 1.638 MB / 1.101 GB, free: 114.9 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002008/0.6274, allocations: 2.69 MB / 1.104 GB, free: 112.8 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003877/0.6313, allocations: 4.596 MB / 1.108 GB, free: 109.5 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.261e-05/0.6313, allocations: 12 kB / 1.108 GB, free: 109.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=436) (initialization): time 0.005768/0.6371, allocations: 4.963 MB / 1.113 GB, free: 104.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002494/0.6374, allocations: 1.034 MB / 1.114 GB, free: 103 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.691e-05/0.6374, allocations: 28 kB / 1.114 GB, free: 103 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.783e-05/0.6374, allocations: 53.64 kB / 1.114 GB, free: 102.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002302/0.6397, allocations: 0.8112 MB / 1.115 GB, free: 102.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000396/0.6401, allocations: 1.253 MB / 1.116 GB, free: 100.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003556/0.6437, allocations: 0.62 MB / 1.117 GB, free: 100.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001861/0.6439, allocations: 156 kB / 1.117 GB, free: 100 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.131e-06/0.6439, allocations: 4.625 kB / 1.117 GB, free: 100 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004386/0.6483, allocations: 4.458 MB / 1.121 GB, free: 95.55 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.033e-05/0.6483, allocations: 34.11 kB / 1.121 GB, free: 95.52 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.583e-05/0.6484, allocations: 52 kB / 1.121 GB, free: 95.46 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001998/0.6504, allocations: 0.7844 MB / 1.122 GB, free: 94.68 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.277e-05/0.6504, allocations: 67.78 kB / 1.122 GB, free: 94.61 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003143/0.6536, allocations: 0.5429 MB / 1.123 GB, free: 94.07 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001847/0.6538, allocations: 156 kB / 1.123 GB, free: 93.91 MB / 0.698 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.002809/0.6566, allocations: 2.503 MB / 1.125 GB, free: 91.4 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007611/0.6573, allocations: 0.5442 MB / 1.126 GB, free: 90.85 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004317/0.6617, allocations: 3.893 MB / 1.13 GB, free: 86.9 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.67e-05/0.6617, allocations: 28 kB / 1.13 GB, free: 86.87 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.251e-06/0.6617, allocations: 0 / 1.13 GB, free: 86.87 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002983/0.6647, allocations: 3.009 MB / 1.133 GB, free: 83.8 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0104/0.6751, allocations: 9.646 MB / 1.142 GB, free: 74.11 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.055e-06/0.6751, allocations: 6.625 kB / 1.142 GB, free: 74.11 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001897/0.677, allocations: 0.5959 MB / 1.143 GB, free: 73.51 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.065e-05/0.6771, allocations: 12 kB / 1.143 GB, free: 73.5 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001249/0.6772, allocations: 83.88 kB / 1.143 GB, free: 73.42 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003015/0.6775, allocations: 1.18 MB / 1.144 GB, free: 72.19 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.6775, allocations: 7.938 kB / 1.144 GB, free: 72.18 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00553/0.683, allocations: 5.643 MB / 1.15 GB, free: 66.44 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001768/0.6848, allocations: 1.158 MB / 1.151 GB, free: 65.25 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005683/0.6854, allocations: 64.11 kB / 1.151 GB, free: 65.19 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002772/0.6882, allocations: 377.3 kB / 1.151 GB, free: 64.82 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002082/0.6884, allocations: 153.8 kB / 1.151 GB, free: 64.67 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001749/0.6886, allocations: 127.9 kB / 1.151 GB, free: 64.55 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.003954/0.6925, allocations: 4.258 MB / 1.155 GB, free: 60.32 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6925, allocations: 1.312 kB / 1.155 GB, free: 60.32 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.004967/0.6975, allocations: 3.222 MB / 1.159 GB, free: 57.11 MB / 0.698 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.006164/0.7037, allocations: 6.595 MB / 1.165 GB, free: 50.45 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.006389/0.7101, allocations: 6.03 MB / 1.171 GB, free: 44.4 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.7101, allocations: 0 / 1.171 GB, free: 44.4 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001583/0.7117, allocations: 1.6 MB / 1.173 GB, free: 42.79 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0134/0.7251, allocations: 3.937 MB / 1.176 GB, free: 38.93 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1307/0.8558, allocations: 62.89 MB / 1.238 GB, free: 2.789 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003938/0.8598, allocations: 4.515 MB / 1.242 GB, free: 14.25 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.007476/0.8673, allocations: 2.818 MB / 1.245 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003146/0.8704, allocations: 2.534 MB / 1.247 GB, free: 8.891 MB / 0.7448 GB Notification: Performance of SimCode: time 5.71e-07/0.8704, allocations: 0 / 1.247 GB, free: 8.891 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.611/2.481, allocations: 172.5 MB / 1.416 GB, free: 284.6 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001651/2.482, allocations: 286.7 kB / 1.416 GB, free: 284.2 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.129/8.61, allocations: 0 / 1.416 GB, free: 284.2 MB / 0.8698 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)