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.694/1.694, allocations: 251.9 MB / 266.9 MB, free: 11.05 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.001796/0.001796, allocations: 183.4 kB / 326.5 MB, free: 2.234 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.034/2.034, allocations: 205.4 MB / 0.5775 GB, free: 20.24 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.0009393/0.0009392, allocations: 95.66 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003614/0.0003616, allocations: 8.438 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2617/0.2621, allocations: 106.3 MB / 0.9001 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Examples.Tubular): time 0.02623/0.2884, allocations: 30.91 MB / 0.9303 GB, free: 32.88 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.8081/1.097, allocations: 135.6 MB / 1.063 GB, free: 3.898 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003153/1.1, allocations: 48.16 kB / 1.063 GB, free: 3.898 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002709/1.103, allocations: 0.518 MB / 1.063 GB, free: 3.898 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.007757/1.11, allocations: 1.687 MB / 1.065 GB, free: 3.879 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.006757/1.117, allocations: 1.743 MB / 1.067 GB, free: 3.852 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.01202/1.129, allocations: 6.813 MB / 1.073 GB, free: 3.84 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0114/1.141, allocations: 4.54 MB / 1.078 GB, free: 19.23 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01265/1.153, allocations: 2.759 MB / 1.08 GB, free: 19.22 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007731/1.161, allocations: 2.299 MB / 1.083 GB, free: 19.21 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.00169/1.163, allocations: 176 kB / 1.083 GB, free: 19.21 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006928/1.17, allocations: 0.9898 MB / 1.084 GB, free: 19.21 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.002346/1.172, allocations: 0.9014 MB / 1.085 GB, free: 19.21 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.00414/1.176, allocations: 1.038 MB / 1.086 GB, free: 19.18 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.01154/1.188, allocations: 6.794 MB / 1.092 GB, free: 18.77 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/1.188, allocations: 0 / 1.092 GB, free: 18.77 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.595e-06/1.188, allocations: 3.031 kB / 1.092 GB, free: 18.77 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0003656/1.188, allocations: 0 / 1.092 GB, free: 18.77 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.01527/1.204, allocations: 4.934 MB / 1.097 GB, free: 16.6 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.543e-05/1.204, allocations: 12.16 kB / 1.097 GB, free: 16.6 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002945/1.207, allocations: 0.5556 MB / 1.098 GB, free: 16.54 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01005/1.217, allocations: 1.425 MB / 1.099 GB, free: 16.22 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01496/1.232, allocations: 4.612 MB / 1.104 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004393/1.232, allocations: 299.8 kB / 1.104 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002162/1.234, allocations: 400.8 kB / 1.104 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02/1.254, allocations: 5.727 MB / 1.11 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002522/1.255, allocations: 14.19 kB / 1.11 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001828/1.257, allocations: 166.8 kB / 1.11 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002352/1.257, allocations: 188.6 kB / 1.11 GB, free: 13.1 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0187/1.275, allocations: 5.573 MB / 1.116 GB, free: 11.95 MB / 0.7136 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.04781/1.323, allocations: 20.45 MB / 1.136 GB, free: 1.102 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009232/1.333, allocations: 3.658 MB / 1.139 GB, free: 488 kB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002922/1.336, allocations: 1.91 MB / 1.141 GB, free: 14.4 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006325/1.342, allocations: 2.035 MB / 1.143 GB, free: 13.76 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=267): time 1.1e-05/1.342, allocations: 6.906 kB / 1.143 GB, free: 13.76 MB / 0.7292 GB Notification: Performance of matching and sorting (n=267): time 0.01732/1.359, allocations: 5.118 MB / 1.148 GB, free: 12.54 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002301/1.36, allocations: 240.7 kB / 1.148 GB, free: 12.29 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01011/1.37, allocations: 3.74 MB / 1.152 GB, free: 9.844 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0009754/1.371, allocations: 75.83 kB / 1.152 GB, free: 9.801 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.002927/1.374, allocations: 2.028 MB / 1.154 GB, free: 8.566 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.001916/1.376, allocations: 0.9037 MB / 1.155 GB, free: 7.793 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007516/1.377, allocations: 59.06 kB / 1.155 GB, free: 7.781 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0003841/1.377, allocations: 426.5 kB / 1.155 GB, free: 7.402 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004434/1.381, allocations: 1.544 MB / 1.157 GB, free: 6.363 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005048/1.386, allocations: 2.224 MB / 1.159 GB, free: 4.461 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00493/1.391, allocations: 1.88 MB / 1.161 GB, free: 3.262 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.879e-05/1.391, allocations: 4 kB / 1.161 GB, free: 3.258 MB / 0.7292 GB Notification: Performance of matching and sorting (n=373) (initialization): time 0.014/1.405, allocations: 4.376 MB / 1.165 GB, free: 152 kB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.003725/1.409, allocations: 7.516 MB / 1.172 GB, free: 8.145 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-05/1.409, allocations: 16 kB / 1.172 GB, free: 8.129 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000735/1.41, allocations: 117.7 kB / 1.173 GB, free: 8.02 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00484/1.415, allocations: 0.8181 MB / 1.173 GB, free: 7.27 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00282/1.418, allocations: 2.167 MB / 1.175 GB, free: 5.105 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005818/1.424, allocations: 0.5243 MB / 1.176 GB, free: 4.629 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001017/1.425, allocations: 141 kB / 1.176 GB, free: 4.512 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/1.425, allocations: 6.5 kB / 1.176 GB, free: 4.508 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01281/1.438, allocations: 4.032 MB / 1.18 GB, free: 1.801 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.389e-05/1.438, allocations: 16 kB / 1.18 GB, free: 1.785 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006104/1.438, allocations: 113.1 kB / 1.18 GB, free: 1.68 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004193/1.442, allocations: 0.8041 MB / 1.181 GB, free: 0.9414 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002136/1.445, allocations: 1.585 MB / 1.183 GB, free: 15.38 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00624/1.451, allocations: 491.1 kB / 1.183 GB, free: 14.94 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001155/1.452, allocations: 140.8 kB / 1.183 GB, free: 14.83 MB / 0.7605 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.005622/1.458, allocations: 1.539 MB / 1.185 GB, free: 13.85 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00229/1.46, allocations: 383.3 kB / 1.185 GB, free: 13.47 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01446/1.475, allocations: 4.382 MB / 1.189 GB, free: 10.38 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.861e-05/1.475, allocations: 35.23 kB / 1.189 GB, free: 10.35 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.188e-05/1.475, allocations: 1.859 kB / 1.189 GB, free: 10.35 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008755/1.483, allocations: 3.503 MB / 1.193 GB, free: 7.805 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02504/1.508, allocations: 8.934 MB / 1.201 GB, free: 1.789 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.494e-05/1.509, allocations: 4.094 kB / 1.201 GB, free: 1.785 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003748/1.512, allocations: 0.6369 MB / 1.202 GB, free: 1.191 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006225/1.513, allocations: 94.56 kB / 1.202 GB, free: 1.105 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006361/1.514, allocations: 91.92 kB / 1.202 GB, free: 1.055 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002603/1.516, allocations: 2.16 MB / 1.204 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/1.516, allocations: 4.031 kB / 1.204 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01621/1.532, allocations: 6.237 MB / 1.21 GB, free: 10.51 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004116/1.537, allocations: 1.06 MB / 1.212 GB, free: 9.719 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001761/1.538, allocations: 60.83 kB / 1.212 GB, free: 9.699 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005778/1.544, allocations: 329.2 kB / 1.212 GB, free: 9.418 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008209/1.545, allocations: 175.4 kB / 1.212 GB, free: 9.266 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008019/1.546, allocations: 124 kB / 1.212 GB, free: 9.164 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.007944/1.554, allocations: 2.636 MB / 1.215 GB, free: 7.324 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7.82e-07/1.554, allocations: 0 / 1.215 GB, free: 7.324 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.01247/1.566, allocations: 2.307 MB / 1.217 GB, free: 5.168 MB / 0.7761 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.02166/1.588, allocations: 7.748 MB / 1.225 GB, free: 15.52 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.01582/1.604, allocations: 6.14 MB / 1.231 GB, free: 11.15 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.574e-05/1.604, allocations: 0.5625 kB / 1.231 GB, free: 11.14 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.005016/1.609, allocations: 1.996 MB / 1.233 GB, free: 9.73 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01246/1.622, allocations: 2.013 MB / 1.234 GB, free: 8.055 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0464/1.668, allocations: 26.65 MB / 1.261 GB, free: 14.04 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004957/1.673, allocations: 3.176 MB / 1.264 GB, free: 11.19 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.01193/1.685, allocations: 2.127 MB / 1.266 GB, free: 9.055 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007719/1.693, allocations: 1.953 MB / 1.268 GB, free: 8.57 MB / 0.823 GB Notification: Performance of SimCode: time 1.833e-06/1.693, allocations: 0 / 1.268 GB, free: 8.57 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2207/1.914, allocations: 116.2 MB / 1.381 GB, free: 5.078 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002405/1.914, allocations: 253 kB / 1.381 GB, free: 4.727 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.564/7.478, allocations: 0 / 1.381 GB, free: 4.727 MB / 0.9323 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)