Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.Concentrating.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.Concentrating,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_Examples_Concentrating",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Examples.Concentrating,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_Examples_Concentrating",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.855/1.855, allocations: 288.2 MB / 303.2 MB, free: 8.184 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.001269/0.001269, allocations: 189 kB / 371.8 MB, free: 10.27 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.795/1.795, allocations: 205.4 MB / 0.6305 GB, free: 9.961 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.0008769/0.0008769, allocations: 104.2 kB / 0.7439 GB, free: 5.883 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004372/0.0004373, allocations: 11.28 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2225/0.2229, allocations: 115.3 MB / 0.9795 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Examples.Concentrating): time 0.02424/0.2472, allocations: 30.85 MB / 1.01 GB, free: 12.65 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.7233/0.9706, allocations: 135.5 MB / 1.142 GB, free: 14.77 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00346/0.9741, allocations: 48.22 kB / 1.142 GB, free: 14.75 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002738/0.9769, allocations: 0.5208 MB / 1.142 GB, free: 14.52 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.007241/0.9841, allocations: 1.678 MB / 1.144 GB, free: 13.97 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.00691/0.9911, allocations: 1.776 MB / 1.146 GB, free: 13.2 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.01159/1.003, allocations: 6.825 MB / 1.153 GB, free: 9.414 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009059/1.012, allocations: 4.545 MB / 1.157 GB, free: 6.961 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00841/1.02, allocations: 2.768 MB / 1.16 GB, free: 5.391 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007577/1.028, allocations: 2.279 MB / 1.162 GB, free: 4.012 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.002322/1.03, allocations: 175 kB / 1.162 GB, free: 4.012 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008345/1.039, allocations: 0.9898 MB / 1.163 GB, free: 3.633 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.003376/1.042, allocations: 0.907 MB / 1.164 GB, free: 2.992 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.004224/1.046, allocations: 1.034 MB / 1.165 GB, free: 2.387 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.01308/1.059, allocations: 6.815 MB / 1.172 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/1.06, allocations: 2.875 kB / 1.172 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of FrontEnd: time 4.268e-06/1.06, allocations: 0 / 1.172 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0003792/1.06, allocations: 0 / 1.172 GB, free: 13.62 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: 1035 * Number of variables: 1035 Notification: Performance of Generate backend data structure: time 0.01524/1.075, allocations: 4.927 MB / 1.176 GB, free: 10.29 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.64e-05/1.075, allocations: 7.969 kB / 1.176 GB, free: 10.29 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002419/1.078, allocations: 0.5488 MB / 1.177 GB, free: 9.887 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008911/1.087, allocations: 1.303 MB / 1.178 GB, free: 9.293 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01383/1.101, allocations: 4.583 MB / 1.183 GB, free: 6.18 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003787/1.101, allocations: 304.3 kB / 1.183 GB, free: 6.039 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00197/1.103, allocations: 390 kB / 1.183 GB, free: 5.914 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01766/1.121, allocations: 5.739 MB / 1.189 GB, free: 1.523 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001147/1.121, allocations: 11.84 kB / 1.189 GB, free: 1.512 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000662/1.121, allocations: 176 kB / 1.189 GB, free: 1.34 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001918/1.122, allocations: 179.6 kB / 1.189 GB, free: 1.164 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01541/1.137, allocations: 5.502 MB / 1.195 GB, free: 11.66 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.04155/1.179, allocations: 20.42 MB / 1.215 GB, free: 6.492 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008701/1.187, allocations: 3.641 MB / 1.218 GB, free: 2.859 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002443/1.19, allocations: 1.907 MB / 1.22 GB, free: 0.5625 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00528/1.195, allocations: 2.032 MB / 1.222 GB, free: 14.48 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=266): time 6.312e-06/1.195, allocations: 0 / 1.222 GB, free: 14.48 MB / 0.7605 GB Notification: Performance of matching and sorting (n=266): time 0.01507/1.21, allocations: 5.007 MB / 1.227 GB, free: 9.391 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000141/1.211, allocations: 239.7 kB / 1.227 GB, free: 9.105 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007804/1.218, allocations: 3.717 MB / 1.231 GB, free: 5.402 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0009956/1.219, allocations: 77.7 kB / 1.231 GB, free: 5.32 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.003186/1.223, allocations: 2.026 MB / 1.233 GB, free: 3.277 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.001912/1.225, allocations: 0.9049 MB / 1.234 GB, free: 2.359 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005695/1.225, allocations: 56 kB / 1.234 GB, free: 2.305 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0004004/1.226, allocations: 423.9 kB / 1.234 GB, free: 1.883 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004794/1.23, allocations: 1.501 MB / 1.236 GB, free: 388 kB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004913/1.235, allocations: 2.168 MB / 1.238 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004917/1.24, allocations: 1.848 MB / 1.24 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.703e-05/1.24, allocations: 4 kB / 1.24 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of matching and sorting (n=368) (initialization): time 0.01349/1.254, allocations: 4.273 MB / 1.244 GB, free: 7.746 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.003373/1.257, allocations: 7.513 MB / 1.251 GB, free: 15.6 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.474e-05/1.257, allocations: 20 kB / 1.251 GB, free: 15.58 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007762/1.258, allocations: 108.8 kB / 1.251 GB, free: 15.47 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00479/1.263, allocations: 0.7918 MB / 1.252 GB, free: 14.68 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002806/1.266, allocations: 2.168 MB / 1.254 GB, free: 12.35 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005998/1.272, allocations: 0.5003 MB / 1.255 GB, free: 11.85 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001229/1.273, allocations: 147.9 kB / 1.255 GB, free: 11.7 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.353e-05/1.273, allocations: 4 kB / 1.255 GB, free: 11.7 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01276/1.286, allocations: 3.928 MB / 1.259 GB, free: 7.73 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.614e-05/1.286, allocations: 24 kB / 1.259 GB, free: 7.707 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006016/1.287, allocations: 108.8 kB / 1.259 GB, free: 7.598 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00425/1.291, allocations: 0.78 MB / 1.259 GB, free: 6.816 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002287/1.293, allocations: 1.595 MB / 1.261 GB, free: 5.086 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005158/1.299, allocations: 478.3 kB / 1.261 GB, free: 4.617 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008449/1.299, allocations: 139.9 kB / 1.262 GB, free: 4.48 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 (366): * Single equations (assignments): 364 * 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.005014/1.304, allocations: 1.527 MB / 1.263 GB, free: 2.941 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001896/1.306, allocations: 391.2 kB / 1.263 GB, free: 2.555 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.014/1.32, allocations: 4.314 MB / 1.268 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.777e-05/1.32, allocations: 28 kB / 1.268 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.595e-05/1.321, allocations: 0 / 1.268 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009342/1.33, allocations: 3.437 MB / 1.271 GB, free: 10.63 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02822/1.358, allocations: 8.879 MB / 1.28 GB, free: 1.641 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.02e-05/1.358, allocations: 4.094 kB / 1.28 GB, free: 1.637 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004188/1.362, allocations: 0.6163 MB / 1.28 GB, free: 1.02 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006263/1.363, allocations: 92.77 kB / 1.28 GB, free: 0.9258 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007636/1.364, allocations: 87.92 kB / 1.281 GB, free: 0.8398 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002644/1.367, allocations: 2.165 MB / 1.283 GB, free: 14.51 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/1.367, allocations: 0 / 1.283 GB, free: 14.51 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01754/1.384, allocations: 6.128 MB / 1.289 GB, free: 8.277 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003814/1.388, allocations: 1.077 MB / 1.29 GB, free: 7.176 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00171/1.39, allocations: 63.98 kB / 1.29 GB, free: 7.113 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005151/1.395, allocations: 311.6 kB / 1.29 GB, free: 6.809 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007513/1.396, allocations: 181.9 kB / 1.29 GB, free: 6.629 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000766/1.396, allocations: 127.9 kB / 1.29 GB, free: 6.504 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.006468/1.403, allocations: 2.632 MB / 1.293 GB, free: 3.891 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.082e-06/1.403, allocations: 0 / 1.293 GB, free: 3.891 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.01095/1.414, allocations: 2.298 MB / 1.295 GB, free: 1.586 MB / 0.823 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 (285): * Single equations (assignments): 275 * 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.021/1.435, allocations: 7.622 MB / 1.303 GB, free: 9.988 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.01797/1.453, allocations: 5.994 MB / 1.308 GB, free: 3.941 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.007e-05/1.453, allocations: 1 kB / 1.308 GB, free: 3.941 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.00561/1.459, allocations: 1.957 MB / 1.31 GB, free: 1.969 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01129/1.47, allocations: 2.007 MB / 1.312 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1294/1.6, allocations: 44.08 MB / 1.355 GB, free: 1.699 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005155/1.605, allocations: 3.169 MB / 1.358 GB, free: 14.5 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0111/1.616, allocations: 2.12 MB / 1.36 GB, free: 12.37 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005631/1.622, allocations: 1.94 MB / 1.362 GB, free: 10.43 MB / 0.9011 GB Notification: Performance of SimCode: time 9.32e-07/1.622, allocations: 3.938 kB / 1.362 GB, free: 10.43 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7721/2.394, allocations: 118.3 MB / 1.478 GB, free: 339.2 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002263/2.394, allocations: 270.7 kB / 1.478 GB, free: 338.8 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.545/8.939, allocations: 0 / 1.478 GB, free: 338.8 MB / 0.9636 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.Concentrating.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.Concentrating.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.Concentrating.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.Concentrating.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_Examples_Concentrating_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_Examples_Concentrating.fmu > Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.Concentrating.pipe 2>&1)