Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.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.FlatPlate,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_Examples_FlatPlate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Examples.FlatPlate,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_Examples_FlatPlate",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.852/1.852, allocations: 288.2 MB / 303.2 MB, free: 8.254 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.001267/0.001267, allocations: 186 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.748/1.748, allocations: 205.4 MB / 0.6305 GB, free: 10 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.001062/0.001062, allocations: 107.3 kB / 0.7439 GB, free: 5.914 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003966/0.0003966, allocations: 11.97 kB / 0.8668 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2419/0.2423, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Examples.FlatPlate): time 0.0338/0.2761, allocations: 38.32 MB / 1.017 GB, free: 5.18 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.8241/1.1, allocations: 138 MB / 1.152 GB, free: 7.734 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003628/1.104, allocations: 47.22 kB / 1.152 GB, free: 7.715 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002444/1.106, allocations: 497.8 kB / 1.152 GB, free: 7.434 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.01418/1.121, allocations: 3.378 MB / 1.155 GB, free: 5.648 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.01065/1.131, allocations: 2.48 MB / 1.158 GB, free: 3.992 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.01638/1.148, allocations: 7.034 MB / 1.165 GB, free: 15.35 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01197/1.16, allocations: 4.629 MB / 1.169 GB, free: 12.85 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01335/1.173, allocations: 5.326 MB / 1.174 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006601/1.18, allocations: 2.356 MB / 1.177 GB, free: 8.801 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.002132/1.182, allocations: 178.1 kB / 1.177 GB, free: 8.801 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01146/1.194, allocations: 3.451 MB / 1.18 GB, free: 7.477 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.00317/1.197, allocations: 0.9387 MB / 1.181 GB, free: 6.812 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.004616/1.201, allocations: 1.051 MB / 1.182 GB, free: 6.199 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.01427/1.216, allocations: 7.473 MB / 1.19 GB, free: 320 kB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/1.216, allocations: 4 kB / 1.19 GB, free: 316 kB / 0.7136 GB Notification: Performance of FrontEnd: time 3.236e-06/1.216, allocations: 0 / 1.19 GB, free: 316 kB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0004844/1.216, allocations: 0 / 1.19 GB, free: 316 kB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1046 * Number of variables: 1046 Notification: Performance of Generate backend data structure: time 0.01748/1.234, allocations: 5.117 MB / 1.195 GB, free: 11.12 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.317e-05/1.234, allocations: 8.031 kB / 1.195 GB, free: 11.11 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00248/1.236, allocations: 0.5594 MB / 1.195 GB, free: 10.54 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0139/1.25, allocations: 1.777 MB / 1.197 GB, free: 8.754 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01446/1.265, allocations: 4.421 MB / 1.201 GB, free: 4.27 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003915/1.265, allocations: 300 kB / 1.201 GB, free: 3.977 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001624/1.267, allocations: 399.9 kB / 1.202 GB, free: 3.586 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01603/1.283, allocations: 5.879 MB / 1.208 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.54e-05/1.283, allocations: 11.88 kB / 1.208 GB, free: 13.51 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007724/1.284, allocations: 172 kB / 1.208 GB, free: 13.34 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001958/1.284, allocations: 167.7 kB / 1.208 GB, free: 13.18 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01627/1.3, allocations: 5.674 MB / 1.213 GB, free: 7.5 MB / 0.7448 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.04487/1.345, allocations: 20.88 MB / 1.234 GB, free: 1.848 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009194/1.355, allocations: 3.848 MB / 1.238 GB, free: 14 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003193/1.358, allocations: 2.402 MB / 1.24 GB, free: 11.1 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005725/1.364, allocations: 2.142 MB / 1.242 GB, free: 8.91 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=284): time 5.911e-06/1.364, allocations: 0 / 1.242 GB, free: 8.91 MB / 0.7761 GB Notification: Performance of matching and sorting (n=284): time 0.01859/1.382, allocations: 6.87 MB / 1.249 GB, free: 1.754 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001752/1.382, allocations: 251.7 kB / 1.249 GB, free: 1.457 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006675/1.389, allocations: 3.609 MB / 1.252 GB, free: 13.86 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.001175/1.39, allocations: 77.7 kB / 1.253 GB, free: 13.78 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.002391/1.393, allocations: 2.023 MB / 1.255 GB, free: 11.74 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.001963/1.395, allocations: 0.9665 MB / 1.255 GB, free: 10.76 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000204/1.395, allocations: 60 kB / 1.256 GB, free: 10.7 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0002498/1.395, allocations: 424.2 kB / 1.256 GB, free: 10.28 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003896/1.399, allocations: 1.602 MB / 1.258 GB, free: 8.672 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00429/1.403, allocations: 2.231 MB / 1.26 GB, free: 6.207 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00431/1.408, allocations: 1.947 MB / 1.262 GB, free: 4.242 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.395e-05/1.408, allocations: 4 kB / 1.262 GB, free: 4.238 MB / 0.7917 GB Notification: Performance of matching and sorting (n=381) (initialization): time 0.01106/1.419, allocations: 4.484 MB / 1.266 GB, free: 15.71 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.003172/1.422, allocations: 6.653 MB / 1.272 GB, free: 8.508 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.414e-05/1.422, allocations: 19.98 kB / 1.272 GB, free: 8.488 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006927/1.423, allocations: 108.8 kB / 1.273 GB, free: 8.379 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004353/1.427, allocations: 0.7995 MB / 1.273 GB, free: 7.578 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002668/1.43, allocations: 2.165 MB / 1.275 GB, free: 5.25 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005962/1.436, allocations: 0.5159 MB / 1.276 GB, free: 4.73 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006348/1.436, allocations: 159.9 kB / 1.276 GB, free: 4.574 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/1.437, allocations: 4 kB / 1.276 GB, free: 4.57 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01111/1.448, allocations: 4.15 MB / 1.28 GB, free: 392 kB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-05/1.448, allocations: 16 kB / 1.28 GB, free: 376 kB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005876/1.448, allocations: 113.1 kB / 1.28 GB, free: 260 kB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003988/1.452, allocations: 0.7801 MB / 1.281 GB, free: 15.47 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002342/1.455, allocations: 1.583 MB / 1.283 GB, free: 13.75 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00592/1.461, allocations: 491.6 kB / 1.283 GB, free: 13.27 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009069/1.462, allocations: 159.9 kB / 1.283 GB, free: 13.12 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 68 * 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 (379): * Single equations (assignments): 377 * 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.005017/1.467, allocations: 1.551 MB / 1.285 GB, free: 11.55 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001997/1.469, allocations: 395.2 kB / 1.285 GB, free: 11.16 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01657/1.485, allocations: 5.094 MB / 1.29 GB, free: 5.988 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.784e-05/1.485, allocations: 28 kB / 1.29 GB, free: 5.961 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.477e-05/1.485, allocations: 0 / 1.29 GB, free: 5.961 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01126/1.497, allocations: 4.098 MB / 1.294 GB, free: 1.746 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02559/1.522, allocations: 9.692 MB / 1.304 GB, free: 7.91 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.304e-05/1.522, allocations: 0 / 1.304 GB, free: 7.91 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003331/1.526, allocations: 0.6047 MB / 1.304 GB, free: 7.305 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003056/1.529, allocations: 0.6637 MB / 1.305 GB, free: 6.609 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00049/1.529, allocations: 95.92 kB / 1.305 GB, free: 6.516 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006643/1.536, allocations: 7.555 MB / 1.312 GB, free: 14.57 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.961e-06/1.536, allocations: 3.984 kB / 1.312 GB, free: 14.56 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01911/1.555, allocations: 6.86 MB / 1.319 GB, free: 7.578 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004424/1.559, allocations: 1.089 MB / 1.32 GB, free: 6.465 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001918/1.561, allocations: 59.92 kB / 1.32 GB, free: 6.406 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005139/1.567, allocations: 315.3 kB / 1.32 GB, free: 6.098 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007/1.567, allocations: 182.1 kB / 1.321 GB, free: 5.918 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007002/1.568, allocations: 143.9 kB / 1.321 GB, free: 5.777 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.006369/1.574, allocations: 2.546 MB / 1.323 GB, free: 3.25 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8.02e-07/1.574, allocations: 4 kB / 1.323 GB, free: 3.246 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.01275/1.587, allocations: 2.544 MB / 1.326 GB, free: 0.6953 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (272): * Single equations (assignments): 257 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 10 * 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: 10 {1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.02442/1.612, allocations: 8.318 MB / 1.334 GB, free: 8.363 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.01834/1.63, allocations: 6.336 MB / 1.34 GB, free: 1.977 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.689e-05/1.63, allocations: 1.75 kB / 1.34 GB, free: 1.973 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.006378/1.637, allocations: 2.182 MB / 1.342 GB, free: 15.77 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01131/1.648, allocations: 1.89 MB / 1.344 GB, free: 13.91 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04306/1.691, allocations: 25.44 MB / 1.369 GB, free: 3.344 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005404/1.697, allocations: 3.204 MB / 1.372 GB, free: 108 kB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.01162/1.708, allocations: 2.32 MB / 1.374 GB, free: 13.78 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005838/1.714, allocations: 2.018 MB / 1.376 GB, free: 11.76 MB / 0.9167 GB Notification: Performance of SimCode: time 1.573e-06/1.714, allocations: 0 / 1.376 GB, free: 11.76 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7305/2.445, allocations: 120.3 MB / 1.494 GB, free: 318.3 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002356/2.445, allocations: 259.9 kB / 1.494 GB, free: 317.9 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.3/8.745, allocations: 6.938 kB / 1.494 GB, free: 317.9 MB / 0.9636 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_Examples_FlatPlate_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_Examples_FlatPlate.fmu > Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe 2>&1)