Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.SolarCollectors.Examples.Tubular.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Examples.Tubular,fileNamePrefix="Buildings_8_Buildings_Fluid_SolarCollectors_Examples_Tubular",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Examples.Tubular,fileNamePrefix="Buildings_8_Buildings_Fluid_SolarCollectors_Examples_Tubular",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.945/1.945, allocations: 289.9 MB / 297.4 MB, free: 6.375 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001362/0.001362, allocations: 180.8 kB / 366.7 MB, free: 1.664 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.844/1.844, allocations: 205.2 MB / 0.626 GB, free: 7.156 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001105/0.001105, allocations: 86.75 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.474e-05/3.467e-05, allocations: 4 kB / 0.8598 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8631/0.8631, allocations: 116.3 MB / 0.9733 GB, free: 76.23 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.143/7.006, allocations: 2.358 GB / 3.331 GB, free: 132.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003526/7.006, allocations: 98.05 kB / 3.331 GB, free: 132 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.952/10.96, allocations: 0.92 GB / 4.251 GB, free: 171.8 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.094e-06/10.96, allocations: 1.25 kB / 4.251 GB, free: 171.8 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0006667/10.96, allocations: 127.8 kB / 4.251 GB, free: 171.8 MB / 0.948 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.01365/10.97, allocations: 4.257 MB / 4.256 GB, free: 170.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.435e-05/10.97, allocations: 9.531 kB / 4.256 GB, free: 170.4 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008562/10.98, allocations: 1.248 MB / 4.257 GB, free: 170.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01432/11, allocations: 5.389 MB / 4.262 GB, free: 169.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001936/11, allocations: 122.7 kB / 4.262 GB, free: 169.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001258/11, allocations: 224.4 kB / 4.262 GB, free: 169.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008914/11.01, allocations: 4.351 MB / 4.267 GB, free: 169.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009504/11.02, allocations: 4.518 MB / 4.271 GB, free: 168.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001043/11.02, allocations: 8.781 kB / 4.271 GB, free: 168.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004967/11.02, allocations: 11.19 kB / 4.271 GB, free: 168.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002053/11.02, allocations: 181.4 kB / 4.271 GB, free: 168.9 MB / 0.948 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.03473/11.05, allocations: 18.87 MB / 4.29 GB, free: 162.3 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004837/11.06, allocations: 3.122 MB / 4.293 GB, free: 162.3 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001973/11.06, allocations: 1.604 MB / 4.294 GB, free: 162.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001823/11.06, allocations: 1.864 MB / 4.296 GB, free: 160.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002606/11.06, allocations: 1.778 MB / 4.298 GB, free: 160.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=267): time 4.829e-06/11.06, allocations: 3.594 kB / 4.298 GB, free: 160.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=267): time 0.05954/11.12, allocations: 7.333 MB / 4.305 GB, free: 159.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.824e-05/11.12, allocations: 286.1 kB / 4.305 GB, free: 159.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004931/11.13, allocations: 2.962 MB / 4.308 GB, free: 159.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0005076/11.13, allocations: 29.67 kB / 4.308 GB, free: 159.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002046/11.13, allocations: 1.962 MB / 4.31 GB, free: 158.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001056/11.13, allocations: 0.8737 MB / 4.311 GB, free: 157.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002015/11.13, allocations: 3.156 kB / 4.311 GB, free: 157.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001872/11.13, allocations: 423.5 kB / 4.311 GB, free: 157.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001924/11.13, allocations: 1.286 MB / 4.313 GB, free: 157.6 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002391/11.14, allocations: 1.959 MB / 4.315 GB, free: 156.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1505/11.29, allocations: 13.16 MB / 4.327 GB, free: 156.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.036e-05/11.29, allocations: 10.62 kB / 4.327 GB, free: 156.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=372) (initialization): time 0.1597/11.45, allocations: 15.21 MB / 4.342 GB, free: 155.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001414/11.45, allocations: 7.296 MB / 4.349 GB, free: 148 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.838e-05/11.45, allocations: 15.81 kB / 4.349 GB, free: 148 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006126/11.45, allocations: 114.3 kB / 4.35 GB, free: 148 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00417/11.45, allocations: 0.816 MB / 4.35 GB, free: 148 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001864/11.45, allocations: 2.103 MB / 4.352 GB, free: 146.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005346/11.46, allocations: 434.4 kB / 4.353 GB, free: 146 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006262/11.46, allocations: 145 kB / 4.353 GB, free: 146 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/11.46, allocations: 3.75 kB / 4.353 GB, free: 146 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1544/11.61, allocations: 14.84 MB / 4.367 GB, free: 145 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.203e-05/11.61, allocations: 15.22 kB / 4.367 GB, free: 145 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005408/11.62, allocations: 118.8 kB / 4.368 GB, free: 145 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003819/11.62, allocations: 0.7996 MB / 4.368 GB, free: 145 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001596/11.62, allocations: 1.506 MB / 4.37 GB, free: 143.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005286/11.63, allocations: 393.6 kB / 4.37 GB, free: 143.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006987/11.63, allocations: 144.4 kB / 4.37 GB, free: 143.6 MB / 0.948 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.001064/11.63, allocations: 184.5 kB / 4.371 GB, free: 143.5 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.05888/11.69, allocations: 7.339 MB / 4.378 GB, free: 142.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001567/11.69, allocations: 356 kB / 4.378 GB, free: 142.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05996/11.75, allocations: 8.061 MB / 4.386 GB, free: 142.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-05/11.75, allocations: 29.06 kB / 4.386 GB, free: 142.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/11.75, allocations: 3.609 kB / 4.386 GB, free: 142.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0574/11.81, allocations: 7.27 MB / 4.393 GB, free: 141.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06866/11.87, allocations: 12.28 MB / 4.405 GB, free: 137.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-05/11.87, allocations: 1.875 kB / 4.405 GB, free: 137.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003252/11.88, allocations: 0.6305 MB / 4.406 GB, free: 137.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004958/11.88, allocations: 93.75 kB / 4.406 GB, free: 137.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002356/11.88, allocations: 60.94 kB / 4.406 GB, free: 137.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001659/11.88, allocations: 2.091 MB / 4.408 GB, free: 135.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/11.88, allocations: 3.094 kB / 4.408 GB, free: 135.4 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06081/11.94, allocations: 9.578 MB / 4.417 GB, free: 128.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003209/11.94, allocations: 1.055 MB / 4.418 GB, free: 127.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001236/11.95, allocations: 11.61 kB / 4.418 GB, free: 127.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004146/11.95, allocations: 289.6 kB / 4.419 GB, free: 127.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003344/11.95, allocations: 180.1 kB / 4.419 GB, free: 127.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000345/11.95, allocations: 127.6 kB / 4.419 GB, free: 127.5 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.003484/11.95, allocations: 2.287 MB / 4.421 GB, free: 125.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.81e-07/11.95, allocations: 0 / 4.421 GB, free: 125.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.009826/11.96, allocations: 2.316 MB / 4.423 GB, free: 123.2 MB / 0.948 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.06431/12.03, allocations: 11.84 MB / 4.435 GB, free: 113.3 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.009125/12.04, allocations: 5.358 MB / 4.44 GB, free: 108 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.475e-05/12.04, allocations: 1.109 kB / 4.44 GB, free: 108 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002706/12.04, allocations: 1.681 MB / 4.442 GB, free: 106.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01105/12.05, allocations: 1.755 MB / 4.443 GB, free: 104.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02178/12.07, allocations: 8.762 MB / 4.452 GB, free: 95.96 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002454/12.08, allocations: 3.119 MB / 4.455 GB, free: 92.81 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.01052/12.09, allocations: 2.763 MB / 4.458 GB, free: 90.25 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003666/12.09, allocations: 1.811 MB / 4.46 GB, free: 88.44 MB / 0.948 GB Notification: Performance of SimCode: time 1.112e-06/12.09, allocations: 1.312 kB / 4.46 GB, free: 88.44 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7928/12.88, allocations: 115.9 MB / 4.573 GB, free: 164.2 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001751/12.88, allocations: 166.6 kB / 4.573 GB, free: 164 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.863/18.75, allocations: 0 / 4.573 GB, free: 164 MB / 0.9636 GB (rm -f Buildings_8_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe ; mkfifo Buildings_8_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe >> ../files/Buildings_8_Buildings.Fluid.SolarCollectors.Examples.Tubular.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_SolarCollectors_Examples_Tubular_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_SolarCollectors_Examples_Tubular.fmu > Buildings_8_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe 2>&1)