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.238/2.238, allocations: 251 MB / 265.9 MB, free: 11.69 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.001518/0.001518, allocations: 184.9 kB / 325.5 MB, free: 2.879 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.301/2.301, allocations: 205.4 MB / 0.5764 GB, free: 21.16 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.001167/0.001167, allocations: 99 kB / 0.6809 GB, free: 14.06 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005395/0.0005395, allocations: 19.73 kB / 0.795 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2289/0.2295, allocations: 106.3 MB / 0.8988 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.25/1.48, allocations: 423.7 MB / 1.313 GB, free: 12.27 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003339/1.48, allocations: 95.42 kB / 1.313 GB, free: 12.22 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.863/5.343, allocations: 0.7497 GB / 2.062 GB, free: 29.66 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.514e-06/5.343, allocations: 3.938 kB / 2.062 GB, free: 29.66 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.001355/5.344, allocations: 179.8 kB / 2.063 GB, free: 29.48 MB / 0.8855 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.03044/5.375, allocations: 7.003 MB / 2.069 GB, free: 22.39 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.145e-05/5.375, allocations: 12.03 kB / 2.069 GB, free: 22.38 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003677/5.378, allocations: 0.7065 MB / 2.07 GB, free: 21.67 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006385/5.385, allocations: 0.8386 MB / 2.071 GB, free: 20.82 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.8477/6.232, allocations: 22.85 MB / 2.093 GB, free: 136.5 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007314/6.233, allocations: 420.8 kB / 2.094 GB, free: 136.4 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002484/6.236, allocations: 0.5125 MB / 2.094 GB, free: 136.4 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02778/6.264, allocations: 7.009 MB / 2.101 GB, free: 135.6 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004254/6.264, allocations: 24.94 kB / 2.101 GB, free: 135.6 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002323/6.266, allocations: 217.6 kB / 2.101 GB, free: 135.6 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003856/6.267, allocations: 167.5 kB / 2.101 GB, free: 135.6 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02161/6.288, allocations: 5.487 MB / 2.107 GB, free: 135.5 MB / 0.8855 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.06339/6.352, allocations: 29.68 MB / 2.136 GB, free: 123 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009626/6.362, allocations: 3.413 MB / 2.139 GB, free: 122.9 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001391/6.363, allocations: 0.9722 MB / 2.14 GB, free: 121.9 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.029e-05/6.363, allocations: 72.38 kB / 2.14 GB, free: 121.9 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=253): time 6.001e-06/6.363, allocations: 0 / 2.14 GB, free: 121.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=253): time 0.01425/6.377, allocations: 4.392 MB / 2.144 GB, free: 121.5 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.265e-05/6.378, allocations: 81.64 kB / 2.144 GB, free: 121.4 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01676/6.394, allocations: 5.747 MB / 2.15 GB, free: 121.1 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0009346/6.395, allocations: 82.08 kB / 2.15 GB, free: 121.1 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.004939/6.4, allocations: 2.98 MB / 2.153 GB, free: 120.4 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.00202/6.402, allocations: 0.8978 MB / 2.154 GB, free: 120 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004443/6.403, allocations: 68.44 kB / 2.154 GB, free: 120 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0003501/6.403, allocations: 450.8 kB / 2.154 GB, free: 119.6 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004619/6.408, allocations: 1.501 MB / 2.156 GB, free: 119.6 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005412/6.413, allocations: 2.647 MB / 2.159 GB, free: 118.3 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005478/6.419, allocations: 2.113 MB / 2.161 GB, free: 118.2 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-05/6.419, allocations: 7.719 kB / 2.161 GB, free: 118.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=436) (initialization): time 0.01597/6.435, allocations: 4.75 MB / 2.165 GB, free: 117.8 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.004268/6.439, allocations: 17.14 MB / 2.182 GB, free: 99.99 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000176/6.439, allocations: 38.28 kB / 2.182 GB, free: 99.99 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000113/6.44, allocations: 65.64 kB / 2.182 GB, free: 99.99 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006975/6.447, allocations: 0.8816 MB / 2.183 GB, free: 99.98 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008407/6.447, allocations: 1.244 MB / 2.184 GB, free: 98.82 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009081/6.457, allocations: 0.5856 MB / 2.185 GB, free: 98.68 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001024/6.458, allocations: 167 kB / 2.185 GB, free: 98.68 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/6.458, allocations: 6.656 kB / 2.185 GB, free: 98.68 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01128/6.469, allocations: 4.246 MB / 2.189 GB, free: 98.59 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-05/6.469, allocations: 36.66 kB / 2.189 GB, free: 98.59 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.904e-05/6.469, allocations: 58.75 kB / 2.189 GB, free: 98.59 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006211/6.475, allocations: 0.8649 MB / 2.19 GB, free: 98.59 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001113/6.476, allocations: 82.58 kB / 2.19 GB, free: 98.59 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008075/6.484, allocations: 0.5156 MB / 2.191 GB, free: 98.43 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001015/6.485, allocations: 167.5 kB / 2.191 GB, free: 98.43 MB / 0.8855 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.006985/6.492, allocations: 2.497 MB / 2.193 GB, free: 98.21 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002201/6.494, allocations: 0.5516 MB / 2.194 GB, free: 97.93 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0109/6.505, allocations: 3.715 MB / 2.197 GB, free: 97.72 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.073e-05/6.505, allocations: 26.36 kB / 2.197 GB, free: 97.72 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.316e-05/6.505, allocations: 3.609 kB / 2.197 GB, free: 97.72 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007078/6.512, allocations: 2.812 MB / 2.2 GB, free: 97.57 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02856/6.541, allocations: 9.318 MB / 2.209 GB, free: 96.98 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.676e-05/6.541, allocations: 4 kB / 2.209 GB, free: 96.98 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00493/6.546, allocations: 0.5359 MB / 2.21 GB, free: 96.98 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.873e-05/6.546, allocations: 14.83 kB / 2.21 GB, free: 96.98 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004969/6.546, allocations: 75.97 kB / 2.21 GB, free: 96.98 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005618/6.547, allocations: 1.177 MB / 2.211 GB, free: 95.81 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/6.547, allocations: 0 / 2.211 GB, free: 95.81 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01476/6.562, allocations: 5.658 MB / 2.216 GB, free: 95.07 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005601/6.567, allocations: 1.313 MB / 2.218 GB, free: 94.66 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002425/6.57, allocations: 54 kB / 2.218 GB, free: 94.66 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007735/6.578, allocations: 259.4 kB / 2.218 GB, free: 94.64 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008518/6.578, allocations: 156.5 kB / 2.218 GB, free: 94.63 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005829/6.579, allocations: 125.9 kB / 2.218 GB, free: 94.63 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.01245/6.592, allocations: 4.532 MB / 2.223 GB, free: 94.45 MB / 0.8855 GB Notification: Performance of sort global known variables: time 8.42e-07/6.592, allocations: 2.594 kB / 2.223 GB, free: 94.45 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.01646/6.608, allocations: 3.232 MB / 2.226 GB, free: 94.04 MB / 0.8855 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.01737/6.625, allocations: 6.957 MB / 2.233 GB, free: 92.64 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.01604/6.642, allocations: 5.745 MB / 2.238 GB, free: 92.55 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-05/6.642, allocations: 6.719 kB / 2.238 GB, free: 92.55 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.004624/6.646, allocations: 1.564 MB / 2.24 GB, free: 92.54 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03088/6.677, allocations: 3.845 MB / 2.244 GB, free: 92.5 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05275/6.73, allocations: 44.74 MB / 2.287 GB, free: 59.37 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009051/6.739, allocations: 4.628 MB / 2.292 GB, free: 58.49 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.01818/6.757, allocations: 2.995 MB / 2.295 GB, free: 58.25 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007869/6.765, allocations: 2.578 MB / 2.297 GB, free: 57.25 MB / 0.8855 GB Notification: Performance of SimCode: time 1.754e-06/6.765, allocations: 1.219 kB / 2.297 GB, free: 57.25 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.203/7.968, allocations: 180.2 MB / 2.473 GB, free: 149.7 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002198/7.969, allocations: 244.7 kB / 2.473 GB, free: 149.5 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.376/17.34, allocations: 0 / 2.473 GB, free: 149.5 MB / 0.9167 GB