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.437/1.437, allocations: 249.5 MB / 257 MB, free: 6.941 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.001101/0.001101, allocations: 180.8 kB / 316.3 MB, free: 3.309 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.677/1.677, allocations: 205.3 MB / 0.5671 GB, free: 15.89 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.0009428/0.0009428, allocations: 88.67 kB / 0.6714 GB, free: 5.012 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.082e-05/2.086e-05, allocations: 7.984 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2286/0.2287, allocations: 106.3 MB / 0.8853 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.073/6.302, allocations: 2.475 GB / 3.36 GB, free: 274.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002289/6.302, allocations: 95.94 kB / 3.36 GB, free: 274.5 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.919/9.221, allocations: 0.8987 GB / 4.259 GB, free: 31.89 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.905e-06/9.221, allocations: 4 kB / 4.259 GB, free: 31.88 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0005373/9.222, allocations: 123.8 kB / 4.259 GB, free: 31.76 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.01092/9.232, allocations: 4.257 MB / 4.263 GB, free: 27.44 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.962e-05/9.233, allocations: 8.031 kB / 4.263 GB, free: 27.43 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007736/9.24, allocations: 1.246 MB / 4.264 GB, free: 26.18 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01184/9.252, allocations: 5.378 MB / 4.27 GB, free: 20.73 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001567/9.252, allocations: 116 kB / 4.27 GB, free: 20.62 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001026/9.253, allocations: 219.9 kB / 4.27 GB, free: 20.41 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00665/9.26, allocations: 4.352 MB / 4.274 GB, free: 16.05 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006383/9.266, allocations: 4.47 MB / 4.279 GB, free: 11.42 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.016e-05/9.267, allocations: 15.88 kB / 4.279 GB, free: 11.4 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003688/9.267, allocations: 8 kB / 4.279 GB, free: 11.39 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000123/9.267, allocations: 175.1 kB / 4.279 GB, free: 11.22 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.6379/9.905, allocations: 18.81 MB / 4.297 GB, free: 123.6 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009636/9.915, allocations: 3.115 MB / 4.3 GB, free: 123.5 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003415/9.918, allocations: 1.609 MB / 4.302 GB, free: 123.5 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001964/9.92, allocations: 1.865 MB / 4.304 GB, free: 121.5 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003349/9.924, allocations: 1.749 MB / 4.305 GB, free: 121.4 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=267): time 6.623e-06/9.924, allocations: 1.172 kB / 4.305 GB, free: 121.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=267): time 0.06142/9.985, allocations: 7.331 MB / 4.312 GB, free: 121.3 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000131/9.985, allocations: 289.1 kB / 4.313 GB, free: 120.9 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006939/9.992, allocations: 2.966 MB / 4.316 GB, free: 120.7 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.001046/9.993, allocations: 29.8 kB / 4.316 GB, free: 120.7 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.00264/9.996, allocations: 1.965 MB / 4.318 GB, free: 120.2 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001809/9.998, allocations: 0.8765 MB / 4.318 GB, free: 119.7 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002151/9.998, allocations: 0 / 4.318 GB, free: 119.7 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0002576/9.998, allocations: 427.4 kB / 4.319 GB, free: 119.4 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002453/10, allocations: 1.287 MB / 4.32 GB, free: 119.4 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002869/10, allocations: 1.961 MB / 4.322 GB, free: 118.7 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1505/10.15, allocations: 13.16 MB / 4.335 GB, free: 118.6 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.162e-05/10.15, allocations: 12.7 kB / 4.335 GB, free: 118.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=372) (initialization): time 0.1557/10.31, allocations: 15.21 MB / 4.35 GB, free: 118 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001463/10.31, allocations: 7.291 MB / 4.357 GB, free: 110.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.962e-05/10.31, allocations: 20.91 kB / 4.357 GB, free: 110.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006104/10.31, allocations: 113.3 kB / 4.357 GB, free: 110.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004013/10.32, allocations: 0.8136 MB / 4.358 GB, free: 110.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001938/10.32, allocations: 2.104 MB / 4.36 GB, free: 108.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00567/10.32, allocations: 436.1 kB / 4.36 GB, free: 108.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005324/10.32, allocations: 144.1 kB / 4.36 GB, free: 108.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/10.32, allocations: 6.953 kB / 4.36 GB, free: 108.5 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.153/10.48, allocations: 14.84 MB / 4.375 GB, free: 107.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.166e-05/10.48, allocations: 18.38 kB / 4.375 GB, free: 107.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005308/10.48, allocations: 112.2 kB / 4.375 GB, free: 107.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003735/10.48, allocations: 0.7992 MB / 4.376 GB, free: 107.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001557/10.48, allocations: 1.503 MB / 4.377 GB, free: 106.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005087/10.49, allocations: 400.5 kB / 4.378 GB, free: 106.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000792/10.49, allocations: 141.3 kB / 4.378 GB, free: 106.2 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.0009632/10.49, allocations: 181.4 kB / 4.378 GB, free: 106.1 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.05837/10.55, allocations: 7.334 MB / 4.385 GB, free: 105.5 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001726/10.55, allocations: 353.6 kB / 4.385 GB, free: 105.3 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05845/10.61, allocations: 8.062 MB / 4.393 GB, free: 104.8 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.848e-05/10.61, allocations: 32.38 kB / 4.393 GB, free: 104.8 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/10.61, allocations: 0 / 4.393 GB, free: 104.8 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.05542/10.66, allocations: 7.264 MB / 4.4 GB, free: 104.1 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06609/10.73, allocations: 12.25 MB / 4.412 GB, free: 103.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-05/10.73, allocations: 2.375 kB / 4.412 GB, free: 103.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003221/10.73, allocations: 0.6395 MB / 4.413 GB, free: 103.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004959/10.73, allocations: 89.56 kB / 4.413 GB, free: 103.3 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002536/10.73, allocations: 64.22 kB / 4.413 GB, free: 103.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001682/10.74, allocations: 2.093 MB / 4.415 GB, free: 101.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.132e-06/10.74, allocations: 0 / 4.415 GB, free: 101.4 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0594/10.8, allocations: 9.58 MB / 4.425 GB, free: 100.5 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00307/10.8, allocations: 1.034 MB / 4.426 GB, free: 100.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001102/10.8, allocations: 7.75 kB / 4.426 GB, free: 100.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003858/10.8, allocations: 291.1 kB / 4.426 GB, free: 100.2 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003241/10.8, allocations: 175.7 kB / 4.426 GB, free: 100.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002963/10.8, allocations: 126.7 kB / 4.426 GB, free: 100.2 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.003606/10.81, allocations: 2.287 MB / 4.428 GB, free: 100.1 MB / 0.8698 GB Notification: Performance of sort global known variables: time 3.01e-07/10.81, allocations: 0 / 4.428 GB, free: 100.1 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.008854/10.82, allocations: 2.314 MB / 4.431 GB, free: 99.89 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.06394/10.88, allocations: 11.84 MB / 4.442 GB, free: 98.08 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.008736/10.89, allocations: 5.339 MB / 4.447 GB, free: 97.79 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.286e-05/10.89, allocations: 2.625 kB / 4.447 GB, free: 97.79 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.002628/10.89, allocations: 1.693 MB / 4.449 GB, free: 97.68 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009771/10.9, allocations: 1.752 MB / 4.451 GB, free: 97.57 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02262/10.92, allocations: 8.756 MB / 4.459 GB, free: 95.64 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002526/10.93, allocations: 3.118 MB / 4.462 GB, free: 94.82 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.01026/10.94, allocations: 2.742 MB / 4.465 GB, free: 94.54 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004749/10.94, allocations: 1.809 MB / 4.467 GB, free: 94.53 MB / 0.8698 GB Notification: Performance of SimCode: time 2.054e-06/10.94, allocations: 0 / 4.467 GB, free: 94.53 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1774/11.12, allocations: 115.4 MB / 4.579 GB, free: 7.988 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001676/11.12, allocations: 184.8 kB / 4.58 GB, free: 7.789 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.83/16.95, allocations: 0 / 4.58 GB, free: 7.789 MB / 0.8698 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)