Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.Tubular.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.SolarCollectors.Examples.Tubular,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_Examples_Tubular",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Examples.Tubular,fileNamePrefix="Buildings_maint_7_0_x_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.3-maint.7.0.x/package.mo): time 1.494/1.494, allocations: 251.9 MB / 266.9 MB, free: 11.02 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.001355/0.001355, allocations: 187.1 kB / 326.5 MB, free: 2.254 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.051/2.051, allocations: 205.4 MB / 0.5775 GB, free: 20.28 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.0008747/0.0008747, allocations: 101.8 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003828/0.0003828, allocations: 10.19 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2819/0.2823, allocations: 106.3 MB / 0.9001 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.247/7.529, allocations: 2.475 GB / 3.375 GB, free: 98.77 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003928/7.53, allocations: 99.95 kB / 3.375 GB, free: 98.67 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 4.162/11.69, allocations: 0.9063 GB / 4.281 GB, free: 177 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.346e-06/11.69, allocations: 0 / 4.281 GB, free: 177 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0008937/11.69, allocations: 133.1 kB / 4.281 GB, free: 177 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: 967 * Number of variables: 967 Notification: Performance of Generate backend data structure: time 0.01924/11.71, allocations: 5.076 MB / 4.286 GB, free: 175 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.318e-05/11.71, allocations: 13.52 kB / 4.286 GB, free: 175 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002696/11.71, allocations: 0.5158 MB / 4.287 GB, free: 175 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008785/11.72, allocations: 1.256 MB / 4.288 GB, free: 174.7 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01658/11.74, allocations: 5.398 MB / 4.293 GB, free: 174 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004385/11.74, allocations: 289.1 kB / 4.293 GB, free: 174 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001926/11.74, allocations: 374.4 kB / 4.294 GB, free: 174 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01859/11.76, allocations: 5.301 MB / 4.299 GB, free: 173.5 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003603/11.76, allocations: 6.125 kB / 4.299 GB, free: 173.5 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002032/11.76, allocations: 162.8 kB / 4.299 GB, free: 173.5 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002308/11.76, allocations: 179.8 kB / 4.299 GB, free: 173.4 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01367/11.78, allocations: 5.221 MB / 4.304 GB, free: 172.1 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.03641/11.81, allocations: 19.53 MB / 4.323 GB, free: 160.6 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007738/11.82, allocations: 3.649 MB / 4.327 GB, free: 159.2 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002002/11.82, allocations: 1.869 MB / 4.329 GB, free: 157.2 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004721/11.83, allocations: 2.032 MB / 4.331 GB, free: 156.5 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=267): time 6.132e-06/11.83, allocations: 0 / 4.331 GB, free: 156.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=267): time 0.01318/11.84, allocations: 5.085 MB / 4.336 GB, free: 154.7 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001271/11.84, allocations: 289.9 kB / 4.336 GB, free: 154.3 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006801/11.85, allocations: 3.464 MB / 4.339 GB, free: 153.1 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0009974/11.85, allocations: 76.48 kB / 4.34 GB, free: 153.1 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.002139/11.85, allocations: 1.968 MB / 4.341 GB, free: 151.6 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.001671/11.85, allocations: 0.9134 MB / 4.342 GB, free: 150.8 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002392/11.85, allocations: 58.38 kB / 4.342 GB, free: 150.8 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0002193/11.85, allocations: 431.5 kB / 4.343 GB, free: 150.4 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003318/11.86, allocations: 1.544 MB / 4.344 GB, free: 149.9 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003872/11.86, allocations: 2.238 MB / 4.347 GB, free: 148.6 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003975/11.87, allocations: 1.885 MB / 4.348 GB, free: 147.8 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.64e-05/11.87, allocations: 3.5 kB / 4.348 GB, free: 147.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=372) (initialization): time 0.01097/11.88, allocations: 4.376 MB / 4.353 GB, free: 143.4 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.001782/11.88, allocations: 7.408 MB / 4.36 GB, free: 135.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.273e-05/11.88, allocations: 18.31 kB / 4.36 GB, free: 135.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006602/11.88, allocations: 114.5 kB / 4.36 GB, free: 135.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004638/11.88, allocations: 0.8043 MB / 4.361 GB, free: 134.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002155/11.89, allocations: 2.173 MB / 4.363 GB, free: 132.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005991/11.89, allocations: 0.5184 MB / 4.363 GB, free: 131.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001005/11.89, allocations: 147.9 kB / 4.364 GB, free: 131.6 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/11.89, allocations: 4 kB / 4.364 GB, free: 131.6 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009099/11.9, allocations: 4.029 MB / 4.367 GB, free: 127.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.925e-05/11.9, allocations: 20 kB / 4.368 GB, free: 127.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005773/11.9, allocations: 112.8 kB / 4.368 GB, free: 127.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004285/11.91, allocations: 0.7957 MB / 4.368 GB, free: 126.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00182/11.91, allocations: 1.578 MB / 4.37 GB, free: 124.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005927/11.91, allocations: 492.8 kB / 4.37 GB, free: 124.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009499/11.92, allocations: 143.9 kB / 4.371 GB, free: 124.2 MB / 0.8855 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 () * Number of clocked 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.004117/11.92, allocations: 1.509 MB / 4.372 GB, free: 122.7 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001552/11.92, allocations: 387.2 kB / 4.372 GB, free: 122.3 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01024/11.93, allocations: 4.357 MB / 4.377 GB, free: 117.9 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.107e-05/11.93, allocations: 35.92 kB / 4.377 GB, free: 117.9 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/11.93, allocations: 0 / 4.377 GB, free: 117.9 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007201/11.94, allocations: 3.484 MB / 4.38 GB, free: 114.3 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02015/11.96, allocations: 8.973 MB / 4.389 GB, free: 105.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.096e-05/11.96, allocations: 0 / 4.389 GB, free: 105.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003499/11.96, allocations: 0.6398 MB / 4.389 GB, free: 104.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005372/11.96, allocations: 88.78 kB / 4.39 GB, free: 104.5 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003627/11.96, allocations: 91.91 kB / 4.39 GB, free: 104.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00176/11.97, allocations: 2.172 MB / 4.392 GB, free: 102.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/11.97, allocations: 0 / 4.392 GB, free: 102.1 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0129/11.98, allocations: 6.076 MB / 4.398 GB, free: 95.94 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004307/11.98, allocations: 1.069 MB / 4.399 GB, free: 94.85 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00159/11.98, allocations: 59.94 kB / 4.399 GB, free: 94.79 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004825/11.99, allocations: 335.4 kB / 4.399 GB, free: 94.46 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006088/11.99, allocations: 177.9 kB / 4.399 GB, free: 94.29 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004497/11.99, allocations: 119.9 kB / 4.399 GB, free: 94.17 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.00521/12, allocations: 2.736 MB / 4.402 GB, free: 91.45 MB / 0.8855 GB Notification: Performance of sort global known variables: time 3.91e-07/12, allocations: 0 / 4.402 GB, free: 91.45 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.01122/12.01, allocations: 2.441 MB / 4.404 GB, free: 89.01 MB / 0.8855 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) * Number of clocked states: 0 () * 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.01959/12.03, allocations: 8.327 MB / 4.413 GB, free: 81.02 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.01607/12.04, allocations: 6.104 MB / 4.419 GB, free: 74.86 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.253e-05/12.04, allocations: 4.562 kB / 4.419 GB, free: 74.86 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.004852/12.05, allocations: 1.948 MB / 4.42 GB, free: 72.89 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0129/12.06, allocations: 2.034 MB / 4.422 GB, free: 70.94 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03365/12.09, allocations: 26.09 MB / 4.448 GB, free: 43.84 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00326/12.1, allocations: 3.115 MB / 4.451 GB, free: 40.69 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.009287/12.11, allocations: 2.042 MB / 4.453 GB, free: 38.71 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004516/12.11, allocations: 1.897 MB / 4.455 GB, free: 36.81 MB / 0.8855 GB Notification: Performance of SimCode: time 1.132e-06/12.11, allocations: 7.875 kB / 4.455 GB, free: 36.8 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7635/12.87, allocations: 129.4 MB / 4.581 GB, free: 165.9 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001748/12.88, allocations: 267 kB / 4.581 GB, free: 165.6 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.764/19.64, allocations: 0 / 4.581 GB, free: 165.6 MB / 0.9011 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.Tubular.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_Examples_Tubular_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_Examples_Tubular.fmu > Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe 2>&1)