Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.Tubular.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Examples.Tubular,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_Examples_Tubular",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Examples.Tubular,fileNamePrefix="Buildings_maint_8_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 8.0.1-maint.8.0.x/package.mo): time 1.703/1.703, allocations: 288.2 MB / 303.2 MB, free: 8.191 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.001652/0.001652, allocations: 175.9 kB / 371.8 MB, free: 10.28 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.702/1.702, allocations: 205.4 MB / 0.6305 GB, free: 9.996 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001031/0.001031, allocations: 97.16 kB / 0.7439 GB, free: 5.918 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004492/0.0004492, allocations: 12.38 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2714/0.2718, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Examples.Tubular): time 0.02854/0.3004, allocations: 30.9 MB / 1.01 GB, free: 12.63 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.8656/1.166, allocations: 135.6 MB / 1.142 GB, free: 14.73 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004421/1.171, allocations: 50.5 kB / 1.142 GB, free: 14.71 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002898/1.173, allocations: 0.5142 MB / 1.143 GB, free: 14.48 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.009357/1.183, allocations: 1.696 MB / 1.144 GB, free: 13.92 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.009094/1.192, allocations: 1.796 MB / 1.146 GB, free: 13.12 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0176/1.21, allocations: 6.839 MB / 1.153 GB, free: 9.301 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01207/1.222, allocations: 4.553 MB / 1.157 GB, free: 6.844 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009466/1.231, allocations: 2.775 MB / 1.16 GB, free: 5.273 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00715/1.238, allocations: 2.303 MB / 1.162 GB, free: 3.875 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.002372/1.241, allocations: 177.3 kB / 1.162 GB, free: 3.875 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007062/1.248, allocations: 0.9926 MB / 1.163 GB, free: 3.496 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.003056/1.251, allocations: 0.9118 MB / 1.164 GB, free: 2.852 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.00445/1.255, allocations: 1.04 MB / 1.165 GB, free: 2.242 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0136/1.269, allocations: 6.857 MB / 1.172 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/1.269, allocations: 0 / 1.172 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.847e-06/1.269, allocations: 4 kB / 1.172 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0004855/1.27, allocations: 0 / 1.172 GB, free: 13.45 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1037 * Number of variables: 1037 Notification: Performance of Generate backend data structure: time 0.01854/1.288, allocations: 4.948 MB / 1.177 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.949e-05/1.288, allocations: 7.719 kB / 1.177 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002863/1.291, allocations: 0.5555 MB / 1.177 GB, free: 9.688 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009974/1.301, allocations: 1.424 MB / 1.179 GB, free: 9.051 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01522/1.316, allocations: 4.634 MB / 1.183 GB, free: 5.91 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000484/1.317, allocations: 303.5 kB / 1.183 GB, free: 5.773 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002339/1.319, allocations: 402.2 kB / 1.184 GB, free: 5.637 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0213/1.341, allocations: 5.775 MB / 1.189 GB, free: 1.086 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002285/1.341, allocations: 19.84 kB / 1.189 GB, free: 1.066 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001719/1.343, allocations: 164 kB / 1.19 GB, free: 0.9062 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002509/1.343, allocations: 191.6 kB / 1.19 GB, free: 0.7188 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01748/1.36, allocations: 5.564 MB / 1.195 GB, free: 11.15 MB / 0.7292 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.04751/1.408, allocations: 20.5 MB / 1.215 GB, free: 5.91 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009108/1.417, allocations: 3.653 MB / 1.219 GB, free: 2.262 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003466/1.421, allocations: 1.915 MB / 1.221 GB, free: 15.96 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007099/1.428, allocations: 2.075 MB / 1.223 GB, free: 13.83 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=267): time 1.369e-05/1.428, allocations: 4 kB / 1.223 GB, free: 13.83 MB / 0.7605 GB Notification: Performance of matching and sorting (n=267): time 0.01663/1.445, allocations: 5.117 MB / 1.228 GB, free: 8.633 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001709/1.445, allocations: 235.7 kB / 1.228 GB, free: 8.352 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008918/1.454, allocations: 3.738 MB / 1.232 GB, free: 4.629 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0009444/1.455, allocations: 81.7 kB / 1.232 GB, free: 4.543 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.002825/1.458, allocations: 2.026 MB / 1.234 GB, free: 2.496 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.001903/1.459, allocations: 0.9088 MB / 1.235 GB, free: 1.574 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006391/1.46, allocations: 60 kB / 1.235 GB, free: 1.516 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.000402/1.461, allocations: 428 kB / 1.235 GB, free: 1.09 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004557/1.465, allocations: 1.544 MB / 1.237 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005409/1.471, allocations: 2.223 MB / 1.239 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005216/1.476, allocations: 1.887 MB / 1.241 GB, free: 11.15 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.592e-05/1.476, allocations: 15.95 kB / 1.241 GB, free: 11.13 MB / 0.7761 GB Notification: Performance of matching and sorting (n=373) (initialization): time 0.01368/1.49, allocations: 4.364 MB / 1.245 GB, free: 6.719 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.003377/1.493, allocations: 7.516 MB / 1.252 GB, free: 14.57 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.294e-05/1.493, allocations: 23.95 kB / 1.252 GB, free: 14.55 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000695/1.494, allocations: 112.8 kB / 1.252 GB, free: 14.43 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0044/1.498, allocations: 0.8112 MB / 1.253 GB, free: 13.62 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002949/1.501, allocations: 2.167 MB / 1.255 GB, free: 11.29 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006394/1.508, allocations: 0.5197 MB / 1.256 GB, free: 10.77 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00082/1.508, allocations: 143.9 kB / 1.256 GB, free: 10.63 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/1.508, allocations: 4 kB / 1.256 GB, free: 10.62 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01234/1.521, allocations: 4.031 MB / 1.26 GB, free: 6.555 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.666e-05/1.521, allocations: 23.94 kB / 1.26 GB, free: 6.531 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006067/1.521, allocations: 112.8 kB / 1.26 GB, free: 6.418 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004086/1.526, allocations: 0.7995 MB / 1.261 GB, free: 5.617 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002371/1.528, allocations: 1.571 MB / 1.262 GB, free: 3.91 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005484/1.533, allocations: 496.7 kB / 1.263 GB, free: 3.422 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007653/1.534, allocations: 143.9 kB / 1.263 GB, free: 3.281 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 77 * 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 (371): * Single equations (assignments): 369 * 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.004946/1.539, allocations: 1.534 MB / 1.264 GB, free: 1.734 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001929/1.541, allocations: 391.3 kB / 1.265 GB, free: 1.348 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01329/1.554, allocations: 4.381 MB / 1.269 GB, free: 12.91 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.648e-05/1.555, allocations: 32 kB / 1.269 GB, free: 12.88 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.475e-05/1.555, allocations: 3.984 kB / 1.269 GB, free: 12.87 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008744/1.563, allocations: 3.508 MB / 1.272 GB, free: 9.273 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02416/1.588, allocations: 8.961 MB / 1.281 GB, free: 212 kB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.418e-05/1.588, allocations: 0 / 1.281 GB, free: 212 kB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00357/1.591, allocations: 0.6437 MB / 1.282 GB, free: 15.56 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005741/1.592, allocations: 92.77 kB / 1.282 GB, free: 15.47 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005021/1.592, allocations: 91.91 kB / 1.282 GB, free: 15.38 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002344/1.595, allocations: 2.161 MB / 1.284 GB, free: 13.05 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.289e-06/1.595, allocations: 3.953 kB / 1.284 GB, free: 13.05 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01561/1.61, allocations: 6.25 MB / 1.29 GB, free: 6.695 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00397/1.614, allocations: 1.077 MB / 1.291 GB, free: 5.594 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001723/1.616, allocations: 56 kB / 1.291 GB, free: 5.539 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004944/1.621, allocations: 324.3 kB / 1.292 GB, free: 5.223 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005641/1.622, allocations: 178 kB / 1.292 GB, free: 5.047 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005942/1.622, allocations: 131.8 kB / 1.292 GB, free: 4.918 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.006333/1.629, allocations: 2.644 MB / 1.295 GB, free: 2.293 MB / 0.823 GB Notification: Performance of sort global known variables: time 5.51e-07/1.629, allocations: 0 / 1.295 GB, free: 2.293 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.01208/1.641, allocations: 2.306 MB / 1.297 GB, free: 15.98 MB / 0.8386 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.01949/1.66, allocations: 7.744 MB / 1.304 GB, free: 8.254 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.01507/1.675, allocations: 6.147 MB / 1.31 GB, free: 2.055 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.001e-05/1.675, allocations: 5 kB / 1.31 GB, free: 2.051 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.004775/1.68, allocations: 1.996 MB / 1.312 GB, free: 40 kB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01072/1.691, allocations: 2.014 MB / 1.314 GB, free: 14.04 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04612/1.737, allocations: 26.65 MB / 1.34 GB, free: 2.215 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004888/1.742, allocations: 3.176 MB / 1.343 GB, free: 15.01 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0112/1.753, allocations: 2.124 MB / 1.345 GB, free: 12.88 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005808/1.759, allocations: 1.96 MB / 1.347 GB, free: 10.91 MB / 0.8855 GB Notification: Performance of SimCode: time 1.823e-06/1.759, allocations: 0 / 1.347 GB, free: 10.91 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7878/2.547, allocations: 116.8 MB / 1.461 GB, free: 340.7 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002456/2.547, allocations: 255.6 kB / 1.462 GB, free: 340.3 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.492/8.04, allocations: 0 / 1.462 GB, free: 340.3 MB / 0.9636 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.Tubular.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_Examples_Tubular_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_Examples_Tubular.fmu > Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe 2>&1)