Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Examples.Tubular.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.SolarCollectors.Examples.Tubular,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_SolarCollectors_Examples_Tubular",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.374/2.374, allocations: 248.7 MB / 256.2 MB, free: 7.066 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.001489, allocations: 177 kB / 315.4 MB, free: 4.016 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.144/2.144, allocations: 205.3 MB / 0.5662 GB, free: 0.543 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.001746/0.001746, allocations: 86.62 kB / 0.6704 GB, free: 5.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.404e-05/2.425e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2175/0.2176, allocations: 106.3 MB / 0.8841 GB, free: 13.01 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.226/8.444, allocations: 2.475 GB / 3.359 GB, free: 217.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002965/8.444, allocations: 93.67 kB / 3.359 GB, free: 217.8 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 5.113/13.56, allocations: 0.8987 GB / 4.257 GB, free: 123 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.194e-06/13.56, allocations: 0 / 4.257 GB, free: 123 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.001131/13.56, allocations: 125 kB / 4.258 GB, free: 123 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: 967 * Number of variables: 967 Notification: Performance of Generate backend data structure: time 0.02122/13.58, allocations: 4.254 MB / 4.262 GB, free: 121.7 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 6.125e-05/13.58, allocations: 9.281 kB / 4.262 GB, free: 121.7 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01427/13.59, allocations: 1.251 MB / 4.263 GB, free: 121.4 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02464/13.62, allocations: 5.37 MB / 4.268 GB, free: 120.8 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003934/13.62, allocations: 122.1 kB / 4.268 GB, free: 120.8 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002226/13.62, allocations: 226.3 kB / 4.269 GB, free: 120.8 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01608/13.64, allocations: 4.35 MB / 4.273 GB, free: 120.7 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02005/13.66, allocations: 4.462 MB / 4.277 GB, free: 120.2 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003567/13.66, allocations: 16.56 kB / 4.277 GB, free: 120.2 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001852/13.66, allocations: 10.17 kB / 4.277 GB, free: 120.2 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003235/13.66, allocations: 178.9 kB / 4.277 GB, free: 120.2 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.05548/13.72, allocations: 18.81 MB / 4.296 GB, free: 113.7 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008438/13.72, allocations: 3.133 MB / 4.299 GB, free: 113.7 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004527/13.73, allocations: 1.609 MB / 4.3 GB, free: 113.6 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002973/13.73, allocations: 1.863 MB / 4.302 GB, free: 111.7 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005489/13.74, allocations: 1.746 MB / 4.304 GB, free: 111.5 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=267): time 8.165e-06/13.74, allocations: 9.219 kB / 4.304 GB, free: 111.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=267): time 0.1276/13.86, allocations: 7.327 MB / 4.311 GB, free: 111.2 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001188/13.86, allocations: 290 kB / 4.311 GB, free: 110.9 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009012/13.87, allocations: 2.971 MB / 4.314 GB, free: 110.7 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.001/13.87, allocations: 31.05 kB / 4.314 GB, free: 110.6 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.003291/13.88, allocations: 1.954 MB / 4.316 GB, free: 109.9 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001961/13.88, allocations: 0.8773 MB / 4.317 GB, free: 109.3 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005865/13.88, allocations: 0 / 4.317 GB, free: 109.3 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0003366/13.88, allocations: 427 kB / 4.317 GB, free: 109 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003939/13.89, allocations: 1.291 MB / 4.319 GB, free: 109 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004859/13.89, allocations: 1.959 MB / 4.321 GB, free: 108.2 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3358/14.23, allocations: 13.16 MB / 4.333 GB, free: 108.2 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.239e-05/14.23, allocations: 7.812 kB / 4.333 GB, free: 108.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=372) (initialization): time 0.3448/14.57, allocations: 15.21 MB / 4.348 GB, free: 107.2 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001802/14.57, allocations: 7.292 MB / 4.355 GB, free: 99.64 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.62e-05/14.57, allocations: 22.77 kB / 4.355 GB, free: 99.64 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00115/14.57, allocations: 117.6 kB / 4.356 GB, free: 99.62 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008291/14.58, allocations: 0.8115 MB / 4.356 GB, free: 99.62 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003031/14.59, allocations: 2.096 MB / 4.358 GB, free: 97.79 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008303/14.59, allocations: 433.2 kB / 4.359 GB, free: 97.63 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001163/14.59, allocations: 147 kB / 4.359 GB, free: 97.63 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/14.6, allocations: 3.344 kB / 4.359 GB, free: 97.63 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.3436/14.94, allocations: 14.85 MB / 4.373 GB, free: 96.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.445e-05/14.94, allocations: 17 kB / 4.373 GB, free: 96.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001011/14.94, allocations: 121.4 kB / 4.374 GB, free: 96.69 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007923/14.95, allocations: 0.7995 MB / 4.374 GB, free: 96.68 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002525/14.95, allocations: 1.5 MB / 4.376 GB, free: 95.45 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007957/14.96, allocations: 390.1 kB / 4.376 GB, free: 95.31 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001169/14.96, allocations: 148.2 kB / 4.376 GB, free: 95.31 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 76 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (370): * Single equations (assignments): 368 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.001815/14.96, allocations: 171.2 kB / 4.377 GB, free: 95.2 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.1275/15.09, allocations: 7.332 MB / 4.384 GB, free: 94.59 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002221/15.09, allocations: 354.3 kB / 4.384 GB, free: 94.41 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1312/15.22, allocations: 8.058 MB / 4.392 GB, free: 93.84 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.818e-05/15.22, allocations: 32.2 kB / 4.392 GB, free: 93.84 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/15.22, allocations: 0 / 4.392 GB, free: 93.84 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1257/15.35, allocations: 7.271 MB / 4.399 GB, free: 93.2 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1425/15.49, allocations: 12.24 MB / 4.411 GB, free: 92.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.038e-05/15.49, allocations: 3 kB / 4.411 GB, free: 92.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007036/15.5, allocations: 0.6413 MB / 4.412 GB, free: 92.29 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009326/15.5, allocations: 88.03 kB / 4.412 GB, free: 92.28 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009181/15.5, allocations: 58.11 kB / 4.412 GB, free: 92.28 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002706/15.5, allocations: 2.097 MB / 4.414 GB, free: 90.45 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.502e-06/15.5, allocations: 0 / 4.414 GB, free: 90.45 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.132/15.63, allocations: 9.574 MB / 4.423 GB, free: 89.56 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004599/15.64, allocations: 1.037 MB / 4.424 GB, free: 89.24 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002224/15.64, allocations: 15.28 kB / 4.424 GB, free: 89.23 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007692/15.65, allocations: 286.8 kB / 4.424 GB, free: 89.2 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009236/15.65, allocations: 175.8 kB / 4.425 GB, free: 89.19 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009333/15.65, allocations: 127 kB / 4.425 GB, free: 89.19 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.006262/15.66, allocations: 2.29 MB / 4.427 GB, free: 89.05 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.032e-06/15.66, allocations: 3.188 kB / 4.427 GB, free: 89.05 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.01395/15.67, allocations: 2.316 MB / 4.429 GB, free: 88.62 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 11 (solCol.vol[1].dynBal.U,solCol.vol[2].dynBal.U,solCol.vol[3].dynBal.U,solCol.vol[4].dynBal.U,solCol.vol[5].dynBal.U,solCol.vol[6].dynBal.U,solCol.vol[7].dynBal.U,solCol.vol[8].dynBal.U,solCol.vol[9].dynBal.U,TOut.T,TIn.T) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (286): * Single equations (assignments): 276 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.1723/15.84, allocations: 11.83 MB / 4.441 GB, free: 86.73 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.02318/15.87, allocations: 5.343 MB / 4.446 GB, free: 86.45 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.028e-05/15.87, allocations: 4.75 kB / 4.446 GB, free: 86.44 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.007408/15.87, allocations: 1.684 MB / 4.448 GB, free: 86.33 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02268/15.9, allocations: 1.745 MB / 4.449 GB, free: 86.23 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04158/15.94, allocations: 8.772 MB / 4.458 GB, free: 82.52 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006283/15.95, allocations: 3.116 MB / 4.461 GB, free: 80.48 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.02036/15.97, allocations: 2.745 MB / 4.464 GB, free: 78.79 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005839/15.97, allocations: 1.808 MB / 4.465 GB, free: 78.55 MB / 0.8698 GB Notification: Performance of SimCode: time 1.342e-06/15.97, allocations: 0.75 kB / 4.465 GB, free: 78.55 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3397/16.31, allocations: 115.3 MB / 4.578 GB, free: 11.61 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002609/16.31, allocations: 168.4 kB / 4.578 GB, free: 11.41 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.399/24.71, allocations: 0 / 4.578 GB, free: 11.41 MB / 0.9011 GB