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.357/2.357, allocations: 248.7 MB / 256.2 MB, free: 7.094 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.001377/0.001377, allocations: 179 kB / 315.4 MB, free: 3.98 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.064/2.064, allocations: 205.3 MB / 0.5662 GB, free: 0.5977 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001061/0.001061, allocations: 90.42 kB / 0.6704 GB, free: 5.805 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.329e-05/2.324e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2008/0.2009, allocations: 106.3 MB / 0.8841 GB, free: 12.99 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.849/2.049, allocations: 423.9 MB / 1.298 GB, free: 261.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003169/2.05, allocations: 90.08 kB / 1.298 GB, free: 261.3 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.944/5.994, allocations: 0.7436 GB / 2.042 GB, free: 128.3 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.964e-06/5.994, allocations: 0 / 2.042 GB, free: 128.3 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.001343/5.996, allocations: 184.8 kB / 2.042 GB, free: 128.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.02177/6.017, allocations: 5.604 MB / 2.047 GB, free: 126.3 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.083e-05/6.018, allocations: 10.19 kB / 2.047 GB, free: 126.3 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006432/6.024, allocations: 0.8375 MB / 2.048 GB, free: 125.9 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07596/6.1, allocations: 22.7 MB / 2.07 GB, free: 124.5 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004739/6.101, allocations: 242.9 kB / 2.071 GB, free: 124.4 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002068/6.103, allocations: 304.1 kB / 2.071 GB, free: 124.4 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01585/6.118, allocations: 5.026 MB / 2.076 GB, free: 124.4 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01968/6.138, allocations: 6.161 MB / 2.082 GB, free: 123.6 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002307/6.138, allocations: 27.33 kB / 2.082 GB, free: 123.6 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001103/6.14, allocations: 10.03 kB / 2.082 GB, free: 123.6 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002536/6.14, allocations: 169.1 kB / 2.082 GB, free: 123.6 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.05622/6.196, allocations: 28.59 MB / 2.11 GB, free: 107.6 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008675/6.205, allocations: 3.216 MB / 2.113 GB, free: 106.5 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004159/6.209, allocations: 1.618 MB / 2.115 GB, free: 106 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001478/6.211, allocations: 0.9727 MB / 2.116 GB, free: 104.9 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001009/6.211, allocations: 76.3 kB / 2.116 GB, free: 104.9 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=253): time 5.63e-06/6.211, allocations: 0 / 2.116 GB, free: 104.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=253): time 0.01107/6.222, allocations: 3.034 MB / 2.119 GB, free: 103.8 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.634e-05/6.222, allocations: 87.12 kB / 2.119 GB, free: 103.7 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01288/6.235, allocations: 4.642 MB / 2.123 GB, free: 102.1 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0008723/6.236, allocations: 29.67 kB / 2.123 GB, free: 102 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.003828/6.24, allocations: 2.924 MB / 2.126 GB, free: 99.8 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.00175/6.241, allocations: 0.8691 MB / 2.127 GB, free: 99.12 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003346/6.242, allocations: 0 / 2.127 GB, free: 99.12 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0003097/6.242, allocations: 450.5 kB / 2.127 GB, free: 98.75 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003371/6.246, allocations: 1.387 MB / 2.129 GB, free: 98.27 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004387/6.25, allocations: 2.524 MB / 2.131 GB, free: 96.34 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005683/6.256, allocations: 2.094 MB / 2.133 GB, free: 95.63 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.172e-05/6.256, allocations: 7.25 kB / 2.133 GB, free: 95.63 MB / 0.8698 GB Notification: Performance of matching and sorting (n=436) (initialization): time 0.01233/6.268, allocations: 4.339 MB / 2.138 GB, free: 94.11 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.003437/6.272, allocations: 16.53 MB / 2.154 GB, free: 76.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001304/6.272, allocations: 33.09 kB / 2.154 GB, free: 76.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001098/6.272, allocations: 60 kB / 2.154 GB, free: 76.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006699/6.279, allocations: 0.8875 MB / 2.155 GB, free: 76.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007479/6.279, allocations: 1.252 MB / 2.156 GB, free: 75.31 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007742/6.287, allocations: 439 kB / 2.156 GB, free: 75.11 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008694/6.288, allocations: 172.9 kB / 2.156 GB, free: 75.08 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/6.288, allocations: 3.828 kB / 2.156 GB, free: 75.08 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01071/6.299, allocations: 3.837 MB / 2.16 GB, free: 73.82 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.252e-05/6.299, allocations: 36.19 kB / 2.16 GB, free: 73.82 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.834e-05/6.299, allocations: 62.78 kB / 2.16 GB, free: 73.82 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006146/6.305, allocations: 0.8569 MB / 2.161 GB, free: 73.74 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.718e-05/6.305, allocations: 84.36 kB / 2.161 GB, free: 73.72 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007265/6.313, allocations: 381.3 kB / 2.162 GB, free: 73.55 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008472/6.314, allocations: 165.9 kB / 2.162 GB, free: 73.52 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.001068/6.315, allocations: 213 kB / 2.162 GB, free: 73.33 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.008466/6.323, allocations: 3.027 MB / 2.165 GB, free: 72.27 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00194/6.325, allocations: 485.4 kB / 2.165 GB, free: 72.03 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009339/6.334, allocations: 3.456 MB / 2.169 GB, free: 70.84 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.589e-05/6.335, allocations: 25.84 kB / 2.169 GB, free: 70.84 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.095e-05/6.335, allocations: 0 / 2.169 GB, free: 70.84 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006397/6.341, allocations: 2.684 MB / 2.171 GB, free: 68.56 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02531/6.366, allocations: 8.532 MB / 2.18 GB, free: 61.89 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.87e-05/6.366, allocations: 6.438 kB / 2.18 GB, free: 61.89 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004996/6.371, allocations: 0.5337 MB / 2.18 GB, free: 61.43 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.93e-05/6.372, allocations: 12 kB / 2.18 GB, free: 61.42 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006129/6.372, allocations: 49.92 kB / 2.18 GB, free: 61.39 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005416/6.373, allocations: 1.175 MB / 2.181 GB, free: 60.17 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.971e-06/6.373, allocations: 4.188 kB / 2.181 GB, free: 60.17 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01377/6.387, allocations: 5.361 MB / 2.187 GB, free: 55.44 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005252/6.392, allocations: 1.235 MB / 2.188 GB, free: 54.36 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002151/6.394, allocations: 26.92 kB / 2.188 GB, free: 54.34 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007143/6.401, allocations: 207.8 kB / 2.188 GB, free: 54.18 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008114/6.402, allocations: 156.9 kB / 2.188 GB, free: 54.09 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005702/6.403, allocations: 124 kB / 2.188 GB, free: 53.99 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.008955/6.412, allocations: 3.588 MB / 2.192 GB, free: 50.94 MB / 0.8698 GB Notification: Performance of sort global known variables: time 6.61e-07/6.412, allocations: 4 kB / 2.192 GB, free: 50.93 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.01558/6.427, allocations: 3.192 MB / 2.195 GB, free: 47.75 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.015/6.442, allocations: 6.62 MB / 2.201 GB, free: 41.3 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.01225/6.455, allocations: 5.485 MB / 2.207 GB, free: 35.8 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-05/6.455, allocations: 0 / 2.207 GB, free: 35.8 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.003267/6.458, allocations: 1.477 MB / 2.208 GB, free: 34.32 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02515/6.483, allocations: 3.173 MB / 2.211 GB, free: 31.29 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0376/6.521, allocations: 13.16 MB / 2.224 GB, free: 18.2 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008401/6.529, allocations: 4.636 MB / 2.229 GB, free: 13.54 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.02281/6.552, allocations: 4.311 MB / 2.233 GB, free: 9.379 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006113/6.558, allocations: 2.424 MB / 2.235 GB, free: 6.953 MB / 0.8698 GB Notification: Performance of SimCode: time 1.904e-06/6.558, allocations: 0 / 2.235 GB, free: 6.953 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.032/7.591, allocations: 156.9 MB / 2.389 GB, free: 127.3 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002033/7.591, allocations: 162.4 kB / 2.389 GB, free: 127.2 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.825/16.42, allocations: 0 / 2.389 GB, free: 127.2 MB / 0.8855 GB