Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.Pipe.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.Pipe,fileNamePrefix="Buildings_7_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 7.0.1/package.mo): time 2.14/2.14, allocations: 248.5 MB / 261 MB, free: 5.984 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.001489/0.001488, allocations: 186.5 kB / 320.4 MB, free: 15.34 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.929/1.929, allocations: 205.1 MB / 0.571 GB, free: 11.75 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.001043/0.001043, allocations: 94.38 kB / 0.6754 GB, free: 0.8398 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.153e-05/4.164e-05, allocations: 4 kB / 0.7869 GB, free: 97.82 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2196/0.2197, allocations: 106.2 MB / 0.8907 GB, free: 7.48 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.93/2.149, allocations: 423.7 MB / 1.304 GB, free: 259.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003289/2.15, allocations: 91.58 kB / 1.304 GB, free: 259.2 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 4.01/6.16, allocations: 0.7482 GB / 2.053 GB, free: 122.7 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.545e-06/6.16, allocations: 0 / 2.053 GB, free: 122.7 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.001395/6.162, allocations: 185.1 kB / 2.053 GB, free: 122.7 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.0229/6.185, allocations: 5.614 MB / 2.058 GB, free: 120.7 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.598e-05/6.185, allocations: 7.625 kB / 2.058 GB, free: 120.7 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003424/6.188, allocations: 0.7083 MB / 2.059 GB, free: 120.7 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006438/6.195, allocations: 0.8395 MB / 2.06 GB, free: 120.3 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07971/6.274, allocations: 22.75 MB / 2.082 GB, free: 118.8 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007493/6.275, allocations: 426 kB / 2.083 GB, free: 118.8 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002485/6.278, allocations: 0.5083 MB / 2.083 GB, free: 118.8 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03197/6.31, allocations: 6.897 MB / 2.09 GB, free: 117.9 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005095/6.31, allocations: 16.5 kB / 2.09 GB, free: 117.9 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002579/6.313, allocations: 227.7 kB / 2.09 GB, free: 117.8 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003799/6.313, allocations: 168.1 kB / 2.09 GB, free: 117.8 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02552/6.339, allocations: 5.342 MB / 2.095 GB, free: 115.9 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.07908/6.418, allocations: 29.67 MB / 2.124 GB, free: 96.54 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008857/6.427, allocations: 3.361 MB / 2.128 GB, free: 95.47 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003907/6.431, allocations: 1.697 MB / 2.129 GB, free: 94.88 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001267/6.432, allocations: 0.9769 MB / 2.13 GB, free: 93.82 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.262e-05/6.432, allocations: 71.28 kB / 2.13 GB, free: 93.76 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=253): time 7.064e-06/6.432, allocations: 0 / 2.13 GB, free: 93.76 MB / 0.8698 GB Notification: Performance of matching and sorting (n=253): time 0.009018/6.441, allocations: 3.145 MB / 2.133 GB, free: 92.64 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.078e-05/6.441, allocations: 81.47 kB / 2.133 GB, free: 92.57 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0152/6.457, allocations: 5.687 MB / 2.139 GB, free: 90.65 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0008332/6.458, allocations: 75.7 kB / 2.139 GB, free: 90.58 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.003953/6.462, allocations: 2.989 MB / 2.142 GB, free: 88.27 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001763/6.463, allocations: 0.9009 MB / 2.143 GB, free: 87.58 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003681/6.464, allocations: 72.25 kB / 2.143 GB, free: 87.52 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0003065/6.464, allocations: 444.6 kB / 2.143 GB, free: 87.16 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003746/6.468, allocations: 1.457 MB / 2.145 GB, free: 86.68 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004958/6.473, allocations: 2.605 MB / 2.147 GB, free: 84.74 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005157/6.478, allocations: 2.077 MB / 2.149 GB, free: 84.04 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.558e-05/6.478, allocations: 7.812 kB / 2.149 GB, free: 84.04 MB / 0.8698 GB Notification: Performance of matching and sorting (n=436) (initialization): time 0.01344/6.492, allocations: 4.669 MB / 2.154 GB, free: 82.32 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.004155/6.496, allocations: 17.15 MB / 2.171 GB, free: 64.14 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00013/6.496, allocations: 34.91 kB / 2.171 GB, free: 64.14 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000128/6.496, allocations: 57.56 kB / 2.171 GB, free: 64.14 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006983/6.503, allocations: 0.877 MB / 2.172 GB, free: 64.05 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008147/6.504, allocations: 1.247 MB / 2.173 GB, free: 62.86 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008813/6.513, allocations: 0.5864 MB / 2.173 GB, free: 62.33 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000954/6.514, allocations: 162.6 kB / 2.174 GB, free: 62.18 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/6.514, allocations: 4.094 kB / 2.174 GB, free: 62.17 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01115/6.525, allocations: 4.168 MB / 2.178 GB, free: 58.54 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.703e-05/6.525, allocations: 36 kB / 2.178 GB, free: 58.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.696e-05/6.525, allocations: 63.94 kB / 2.178 GB, free: 58.45 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006348/6.532, allocations: 0.8617 MB / 2.179 GB, free: 57.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001093/6.532, allocations: 78.22 kB / 2.179 GB, free: 57.63 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008093/6.54, allocations: 0.5161 MB / 2.179 GB, free: 57.16 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000968/6.541, allocations: 167 kB / 2.179 GB, free: 57 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.001211/6.542, allocations: 323.7 kB / 2.18 GB, free: 56.68 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002141/6.544, allocations: 0.5443 MB / 2.18 GB, free: 56.13 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009984/6.554, allocations: 3.646 MB / 2.184 GB, free: 53.06 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.933e-05/6.554, allocations: 32 kB / 2.184 GB, free: 53.03 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.354e-05/6.554, allocations: 0 / 2.184 GB, free: 53.03 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00619/6.561, allocations: 2.744 MB / 2.186 GB, free: 50.65 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02683/6.588, allocations: 9.233 MB / 2.195 GB, free: 42.47 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.499e-05/6.588, allocations: 4 kB / 2.195 GB, free: 42.46 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0049/6.593, allocations: 0.5345 MB / 2.196 GB, free: 41.93 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.964e-05/6.593, allocations: 15.98 kB / 2.196 GB, free: 41.91 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004642/6.593, allocations: 75.95 kB / 2.196 GB, free: 41.84 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005434/6.594, allocations: 1.18 MB / 2.197 GB, free: 40.61 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/6.594, allocations: 0 / 2.197 GB, free: 40.61 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.013/6.607, allocations: 5.552 MB / 2.203 GB, free: 34.94 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005694/6.612, allocations: 1.31 MB / 2.204 GB, free: 33.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00227/6.615, allocations: 55.98 kB / 2.204 GB, free: 33.55 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007644/6.622, allocations: 263.2 kB / 2.204 GB, free: 33.29 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007909/6.623, allocations: 149.8 kB / 2.204 GB, free: 33.14 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005274/6.624, allocations: 131.9 kB / 2.204 GB, free: 33.01 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.01138/6.635, allocations: 4.469 MB / 2.209 GB, free: 28.57 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.062e-06/6.635, allocations: 0 / 2.209 GB, free: 28.57 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.01551/6.651, allocations: 3.234 MB / 2.212 GB, free: 25.34 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.01579/6.667, allocations: 6.855 MB / 2.219 GB, free: 18.45 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0146/6.681, allocations: 5.801 MB / 2.224 GB, free: 12.63 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.508e-05/6.681, allocations: 4 kB / 2.224 GB, free: 12.62 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.00355/6.685, allocations: 1.53 MB / 2.226 GB, free: 11.09 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03009/6.715, allocations: 3.847 MB / 2.23 GB, free: 7.418 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04209/6.757, allocations: 13.64 MB / 2.243 GB, free: 9.844 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01004/6.767, allocations: 4.645 MB / 2.247 GB, free: 5.176 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0282/6.796, allocations: 4.939 MB / 2.252 GB, free: 392 kB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007557/6.803, allocations: 2.468 MB / 2.255 GB, free: 13.95 MB / 0.9011 GB Notification: Performance of SimCode: time 3.627e-06/6.803, allocations: 0 / 2.255 GB, free: 13.95 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.124/7.927, allocations: 184 MB / 2.434 GB, free: 121.9 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002425/7.928, allocations: 223.4 kB / 2.435 GB, free: 121.6 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.59/18.52, allocations: 0 / 2.435 GB, free: 121.6 MB / 0.9011 GB