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.634/1.634, allocations: 249.3 MB / 261.8 MB, free: 5.945 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.001053/0.001054, allocations: 184.9 kB / 321.3 MB, free: 14.63 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.675/1.675, allocations: 205.2 MB / 0.572 GB, free: 10.66 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.001061/0.001061, allocations: 86.55 kB / 0.6764 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.45e-05/3.452e-05, allocations: 4 kB / 0.788 GB, free: 96.99 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2334/0.2335, allocations: 106.3 MB / 0.8919 GB, free: 6.562 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.899/7.132, allocations: 2.474 GB / 3.366 GB, free: 197.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002601/7.133, allocations: 90.27 kB / 3.366 GB, free: 197.3 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.92/11.05, allocations: 0.9037 GB / 4.27 GB, free: 128.6 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.914e-06/11.05, allocations: 3.844 kB / 4.27 GB, free: 128.6 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0008636/11.05, allocations: 127 kB / 4.27 GB, free: 128.6 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.0175/11.07, allocations: 4.252 MB / 4.274 GB, free: 127.2 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.561e-05/11.07, allocations: 17.33 kB / 4.274 GB, free: 127.2 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002291/11.07, allocations: 0.5127 MB / 4.275 GB, free: 127.1 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009523/11.08, allocations: 1.246 MB / 4.276 GB, free: 126.8 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01692/11.1, allocations: 5.373 MB / 4.281 GB, free: 126.2 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004598/11.1, allocations: 278.8 kB / 4.282 GB, free: 126.2 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002248/11.1, allocations: 371.2 kB / 4.282 GB, free: 126.2 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01948/11.12, allocations: 4.98 MB / 4.287 GB, free: 125.6 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001797/11.12, allocations: 20.03 kB / 4.287 GB, free: 125.6 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001062/11.12, allocations: 162.3 kB / 4.287 GB, free: 125.6 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002301/11.12, allocations: 174.2 kB / 4.287 GB, free: 125.6 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01487/11.14, allocations: 4.63 MB / 4.292 GB, free: 125.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.05555/11.19, allocations: 19.54 MB / 4.311 GB, free: 118.9 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009384/11.2, allocations: 3.273 MB / 4.314 GB, free: 118.9 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004546/11.21, allocations: 1.688 MB / 4.316 GB, free: 118.8 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00271/11.21, allocations: 1.857 MB / 4.317 GB, free: 116.9 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005764/11.22, allocations: 1.838 MB / 4.319 GB, free: 116.7 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=267): time 1.088e-05/11.22, allocations: 0 / 4.319 GB, free: 116.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=267): time 0.01205/11.23, allocations: 3.141 MB / 4.322 GB, free: 116.4 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001349/11.23, allocations: 295 kB / 4.323 GB, free: 116.1 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01157/11.24, allocations: 3.427 MB / 4.326 GB, free: 115.8 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.001148/11.24, allocations: 78.3 kB / 4.326 GB, free: 115.8 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.003744/11.25, allocations: 1.96 MB / 4.328 GB, free: 115.1 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.002505/11.25, allocations: 0.9119 MB / 4.329 GB, free: 114.5 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009718/11.25, allocations: 57.59 kB / 4.329 GB, free: 114.5 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.000478/11.25, allocations: 431.3 kB / 4.329 GB, free: 114.2 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004907/11.25, allocations: 1.338 MB / 4.331 GB, free: 114.2 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005404/11.26, allocations: 2.035 MB / 4.333 GB, free: 113.5 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003662/11.26, allocations: 1.694 MB / 4.334 GB, free: 113.4 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.721e-05/11.26, allocations: 9.188 kB / 4.334 GB, free: 113.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=372) (initialization): time 0.008845/11.27, allocations: 3.953 MB / 4.338 GB, free: 113.1 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001844/11.27, allocations: 7.419 MB / 4.345 GB, free: 105.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.547e-05/11.27, allocations: 18.5 kB / 4.345 GB, free: 105.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006393/11.28, allocations: 114.7 kB / 4.345 GB, free: 105.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004453/11.28, allocations: 0.8131 MB / 4.346 GB, free: 105.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002169/11.28, allocations: 2.145 MB / 4.348 GB, free: 103.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006192/11.29, allocations: 0.5143 MB / 4.349 GB, free: 103.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009549/11.29, allocations: 148.1 kB / 4.349 GB, free: 103.3 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/11.29, allocations: 3.531 kB / 4.349 GB, free: 103.3 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006761/11.3, allocations: 3.622 MB / 4.353 GB, free: 103.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.493e-05/11.3, allocations: 20.31 kB / 4.353 GB, free: 103.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005374/11.3, allocations: 109.7 kB / 4.353 GB, free: 103.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003831/11.3, allocations: 0.8069 MB / 4.353 GB, free: 103.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001715/11.3, allocations: 1.564 MB / 4.355 GB, free: 101.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005963/11.31, allocations: 491.1 kB / 4.355 GB, free: 101.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008678/11.31, allocations: 146.7 kB / 4.356 GB, free: 101.7 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.001267/11.31, allocations: 282.7 kB / 4.356 GB, free: 101.6 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001584/11.31, allocations: 386.3 kB / 4.356 GB, free: 101.4 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008383/11.32, allocations: 3.955 MB / 4.36 GB, free: 101.2 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-05/11.32, allocations: 29.59 kB / 4.36 GB, free: 101.2 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.007e-05/11.32, allocations: 3.797 kB / 4.36 GB, free: 101.2 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005014/11.33, allocations: 3.088 MB / 4.363 GB, free: 100.8 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02032/11.35, allocations: 8.566 MB / 4.371 GB, free: 100.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.349e-05/11.35, allocations: 2.781 kB / 4.372 GB, free: 100.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003254/11.35, allocations: 0.6381 MB / 4.372 GB, free: 100.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005345/11.35, allocations: 91.02 kB / 4.372 GB, free: 100.1 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003303/11.35, allocations: 88.22 kB / 4.372 GB, free: 100.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001943/11.35, allocations: 2.149 MB / 4.374 GB, free: 98.26 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/11.35, allocations: 3.406 kB / 4.374 GB, free: 98.26 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01048/11.36, allocations: 5.472 MB / 4.38 GB, free: 96.55 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004132/11.37, allocations: 1.074 MB / 4.381 GB, free: 95.92 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002143/11.37, allocations: 58.7 kB / 4.381 GB, free: 95.88 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005353/11.37, allocations: 329.2 kB / 4.381 GB, free: 95.83 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000564/11.37, allocations: 174.5 kB / 4.381 GB, free: 95.81 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005745/11.38, allocations: 130.8 kB / 4.381 GB, free: 95.79 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.007114/11.38, allocations: 2.693 MB / 4.384 GB, free: 94.8 MB / 0.8698 GB Notification: Performance of sort global known variables: time 6.01e-07/11.38, allocations: 0 / 4.384 GB, free: 94.8 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.01393/11.4, allocations: 2.437 MB / 4.386 GB, free: 94.22 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.01657/11.41, allocations: 7.705 MB / 4.394 GB, free: 90.83 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.01219/11.43, allocations: 5.605 MB / 4.399 GB, free: 88.78 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.008e-05/11.43, allocations: 3.719 kB / 4.399 GB, free: 88.78 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.003877/11.43, allocations: 1.757 MB / 4.401 GB, free: 88.12 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01361/11.44, allocations: 2.029 MB / 4.403 GB, free: 87.74 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03454/11.48, allocations: 9.091 MB / 4.412 GB, free: 84.63 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006326/11.48, allocations: 3.116 MB / 4.415 GB, free: 83.5 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.01595/11.5, allocations: 3.009 MB / 4.418 GB, free: 83.23 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005696/11.51, allocations: 1.828 MB / 4.42 GB, free: 81.81 MB / 0.8698 GB Notification: Performance of SimCode: time 1.593e-06/11.51, allocations: 0 / 4.42 GB, free: 81.81 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2193/11.73, allocations: 137.8 MB / 4.554 GB, free: 15.96 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002325/11.73, allocations: 229 kB / 4.555 GB, free: 15.7 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.767/18.49, allocations: 3.797 kB / 4.555 GB, free: 15.7 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)