Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.Concentrating.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.Concentrating,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_Examples_Concentrating",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Examples.Concentrating,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.43/1.43, 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.001375/0.001375, allocations: 178.6 kB / 326.5 MB, free: 2.238 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.879/1.879, allocations: 205.4 MB / 0.5775 GB, free: 20.28 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.0009411/0.0009412, allocations: 95.44 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003613/0.0003613, allocations: 11.59 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2403/0.2407, allocations: 106.4 MB / 0.9002 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Examples.Concentrating): time 0.02587/0.2666, allocations: 30.85 MB / 0.9303 GB, free: 32.91 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.8177/1.084, allocations: 135.5 MB / 1.063 GB, free: 3.898 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003951/1.088, allocations: 48.75 kB / 1.063 GB, free: 3.898 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.003444/1.092, allocations: 0.518 MB / 1.063 GB, free: 3.898 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.01054/1.102, allocations: 1.676 MB / 1.065 GB, free: 3.879 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.009207/1.112, allocations: 1.731 MB / 1.066 GB, free: 3.855 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.01804/1.13, allocations: 6.804 MB / 1.073 GB, free: 3.836 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0149/1.145, allocations: 4.524 MB / 1.078 GB, free: 19.23 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01166/1.156, allocations: 2.746 MB / 1.08 GB, free: 19.22 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008915/1.165, allocations: 2.288 MB / 1.082 GB, free: 19.21 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.002422/1.168, allocations: 173.6 kB / 1.083 GB, free: 19.21 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008816/1.177, allocations: 0.9821 MB / 1.084 GB, free: 19.21 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.003293/1.18, allocations: 0.8894 MB / 1.084 GB, free: 19.21 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.004832/1.185, allocations: 1.036 MB / 1.085 GB, free: 19.18 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.01616/1.201, allocations: 6.755 MB / 1.092 GB, free: 18.77 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 7.674e-06/1.201, allocations: 0 / 1.092 GB, free: 18.77 MB / 0.7136 GB Notification: Performance of FrontEnd: time 4.409e-06/1.201, allocations: 0 / 1.092 GB, free: 18.77 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0003672/1.202, 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: 1035 * Number of variables: 1035 Notification: Performance of Generate backend data structure: time 0.02329/1.225, allocations: 4.933 MB / 1.097 GB, free: 16.61 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.593e-05/1.225, allocations: 8.219 kB / 1.097 GB, free: 16.61 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003793/1.229, allocations: 0.5469 MB / 1.097 GB, free: 16.55 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01352/1.242, allocations: 1.301 MB / 1.099 GB, free: 16.23 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02094/1.263, allocations: 4.557 MB / 1.103 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006516/1.264, allocations: 301.1 kB / 1.103 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002915/1.267, allocations: 389.2 kB / 1.104 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02499/1.292, allocations: 5.691 MB / 1.109 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001782/1.292, allocations: 10.12 kB / 1.109 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009873/1.293, allocations: 175.3 kB / 1.11 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000229/1.294, allocations: 180.6 kB / 1.11 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01832/1.312, allocations: 5.493 MB / 1.115 GB, free: 12.1 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.04246/1.354, allocations: 20.36 MB / 1.135 GB, free: 1.289 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008328/1.363, allocations: 3.655 MB / 1.139 GB, free: 0.6641 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002758/1.366, allocations: 1.911 MB / 1.14 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004539/1.37, allocations: 1.998 MB / 1.142 GB, free: 13.96 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=266): time 4.819e-06/1.37, allocations: 0 / 1.142 GB, free: 13.96 MB / 0.7292 GB Notification: Performance of matching and sorting (n=266): time 0.01362/1.384, allocations: 5.009 MB / 1.147 GB, free: 12.77 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001729/1.384, allocations: 237.5 kB / 1.147 GB, free: 12.52 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008558/1.393, allocations: 3.715 MB / 1.151 GB, free: 10.42 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.001154/1.394, allocations: 75.58 kB / 1.151 GB, free: 10.38 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.002622/1.397, allocations: 2.021 MB / 1.153 GB, free: 9.145 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.001681/1.398, allocations: 0.9034 MB / 1.154 GB, free: 8.371 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001917/1.398, allocations: 65.06 kB / 1.154 GB, free: 8.355 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002856/1.399, allocations: 426.5 kB / 1.154 GB, free: 7.977 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003565/1.402, allocations: 1.495 MB / 1.156 GB, free: 6.973 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00434/1.407, allocations: 2.174 MB / 1.158 GB, free: 5.105 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004358/1.411, allocations: 1.847 MB / 1.16 GB, free: 3.926 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.668e-05/1.411, allocations: 4 kB / 1.16 GB, free: 3.922 MB / 0.7292 GB Notification: Performance of matching and sorting (n=368) (initialization): time 0.01237/1.423, allocations: 4.263 MB / 1.164 GB, free: 0.8906 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.004992/1.429, allocations: 7.518 MB / 1.171 GB, free: 8.887 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.35e-05/1.429, allocations: 20 kB / 1.171 GB, free: 8.867 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008656/1.43, allocations: 107.3 kB / 1.172 GB, free: 8.766 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005098/1.435, allocations: 0.7973 MB / 1.172 GB, free: 8.035 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002777/1.437, allocations: 2.168 MB / 1.174 GB, free: 5.871 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006077/1.444, allocations: 0.5016 MB / 1.175 GB, free: 5.414 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009983/1.445, allocations: 145.7 kB / 1.175 GB, free: 5.293 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/1.445, allocations: 8 kB / 1.175 GB, free: 5.285 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01087/1.456, allocations: 3.926 MB / 1.179 GB, free: 2.648 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.878e-05/1.456, allocations: 21.22 kB / 1.179 GB, free: 2.629 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006951/1.456, allocations: 116 kB / 1.179 GB, free: 2.523 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004275/1.461, allocations: 0.7722 MB / 1.18 GB, free: 1.812 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002512/1.463, allocations: 1.575 MB / 1.181 GB, free: 264 kB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005702/1.469, allocations: 493.5 kB / 1.182 GB, free: 15.82 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009222/1.47, allocations: 137.8 kB / 1.182 GB, free: 15.71 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 (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.005494/1.475, allocations: 1.537 MB / 1.183 GB, free: 14.73 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002457/1.478, allocations: 383.3 kB / 1.184 GB, free: 14.36 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01467/1.493, allocations: 4.308 MB / 1.188 GB, free: 11.32 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.157e-05/1.493, allocations: 27.62 kB / 1.188 GB, free: 11.3 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.696e-05/1.493, allocations: 4 kB / 1.188 GB, free: 11.29 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009264/1.502, allocations: 3.441 MB / 1.191 GB, free: 8.793 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02867/1.531, allocations: 8.829 MB / 1.2 GB, free: 2.848 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.781e-05/1.531, allocations: 0 / 1.2 GB, free: 2.848 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00394/1.535, allocations: 0.6244 MB / 1.201 GB, free: 2.27 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006131/1.535, allocations: 94.58 kB / 1.201 GB, free: 2.184 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007532/1.536, allocations: 87.05 kB / 1.201 GB, free: 2.137 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002773/1.539, allocations: 2.174 MB / 1.203 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/1.539, allocations: 0 / 1.203 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01919/1.558, allocations: 6.115 MB / 1.209 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005014/1.563, allocations: 1.061 MB / 1.21 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0024/1.566, allocations: 59.86 kB / 1.21 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005833/1.572, allocations: 321 kB / 1.21 GB, free: 10.58 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001097/1.573, allocations: 176 kB / 1.21 GB, free: 10.43 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000887/1.574, allocations: 129.1 kB / 1.211 GB, free: 10.32 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.007078/1.581, allocations: 2.628 MB / 1.213 GB, free: 8.488 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.032e-06/1.581, allocations: 0 / 1.213 GB, free: 8.488 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.01356/1.594, allocations: 2.285 MB / 1.215 GB, free: 6.348 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 (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.02283/1.617, allocations: 7.615 MB / 1.223 GB, free: 0.793 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.02233/1.64, allocations: 5.984 MB / 1.229 GB, free: 12.53 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 2.143e-05/1.64, allocations: 0.5625 kB / 1.229 GB, free: 12.52 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.007509/1.647, allocations: 1.966 MB / 1.231 GB, free: 11.13 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01639/1.664, allocations: 2.017 MB / 1.233 GB, free: 9.453 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1819/1.846, allocations: 44.07 MB / 1.276 GB, free: 0.9258 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003574/1.849, allocations: 3.172 MB / 1.279 GB, free: 14.08 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.009035/1.858, allocations: 2.102 MB / 1.281 GB, free: 11.97 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004182/1.863, allocations: 1.939 MB / 1.283 GB, free: 11.49 MB / 0.8386 GB Notification: Performance of SimCode: time 2.946e-06/1.863, allocations: 0 / 1.283 GB, free: 11.49 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2262/2.089, allocations: 117.7 MB / 1.398 GB, free: 6.535 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003184/2.089, allocations: 267.7 kB / 1.398 GB, free: 6.176 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.194/8.283, allocations: 4 kB / 1.398 GB, free: 6.172 MB / 0.948 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.Concentrating.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.Concentrating.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.Concentrating.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.Concentrating.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_Examples_Concentrating_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_Examples_Concentrating.fmu > Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.Concentrating.pipe 2>&1)