Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.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.FlatPlateShaCoeTrue,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_Examples_FlatPlateShaCoeTrue",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_Examples_FlatPlateShaCoeTrue",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.866/1.866, allocations: 285.6 MB / 293.1 MB, free: 10.23 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.001193/0.001193, allocations: 180.4 kB / 361.4 MB, free: 6.836 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.833/1.833, allocations: 205.2 MB / 0.62 GB, free: 11.66 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009327/0.0009327, allocations: 97.3 kB / 0.733 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.413e-05/2.412e-05, allocations: 8 kB / 0.8518 GB, free: 2.66 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7713/0.7713, allocations: 115.3 MB / 0.9644 GB, free: 78.7 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.268/7.039, allocations: 2.357 GB / 3.321 GB, free: 170.4 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000243/7.04, allocations: 88.55 kB / 3.322 GB, free: 170.3 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.717/10.76, allocations: 0.9212 GB / 4.243 GB, free: 158.5 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.703e-06/10.76, allocations: 0 / 4.243 GB, free: 158.5 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0007509/10.76, allocations: 119.9 kB / 4.243 GB, free: 158.5 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 968 * Number of variables: 968 Notification: Performance of Generate backend data structure: time 0.01977/10.78, allocations: 4.276 MB / 4.247 GB, free: 157.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.036e-05/10.78, allocations: 11.22 kB / 4.247 GB, free: 157.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01034/10.79, allocations: 1.251 MB / 4.248 GB, free: 156.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01838/10.81, allocations: 5.381 MB / 4.254 GB, free: 156.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000362/10.81, allocations: 120.8 kB / 4.254 GB, free: 156.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002159/10.81, allocations: 213.6 kB / 4.254 GB, free: 156.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01261/10.82, allocations: 4.358 MB / 4.258 GB, free: 156.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01772/10.84, allocations: 4.509 MB / 4.262 GB, free: 155.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003962/10.84, allocations: 13.23 kB / 4.262 GB, free: 155.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002365/10.84, allocations: 6.719 kB / 4.263 GB, free: 155.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003587/10.84, allocations: 174.9 kB / 4.263 GB, free: 155.8 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or 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.04539/10.89, allocations: 18.6 MB / 4.281 GB, free: 149.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005692/10.89, allocations: 3.079 MB / 4.284 GB, free: 149.5 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003049/10.9, allocations: 1.59 MB / 4.285 GB, free: 149.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002153/10.9, allocations: 1.865 MB / 4.287 GB, free: 147.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004202/10.9, allocations: 1.766 MB / 4.289 GB, free: 147.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=264): time 1.447e-05/10.9, allocations: 0 / 4.289 GB, free: 147.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=264): time 0.06509/10.97, allocations: 7.312 MB / 4.296 GB, free: 147.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001627/10.97, allocations: 285.4 kB / 4.296 GB, free: 146.8 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008539/10.98, allocations: 2.991 MB / 4.299 GB, free: 146.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0009477/10.98, allocations: 28.2 kB / 4.299 GB, free: 146.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002736/10.98, allocations: 1.975 MB / 4.301 GB, free: 145.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0018/10.98, allocations: 0.8642 MB / 4.302 GB, free: 145.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006708/10.98, allocations: 0 / 4.302 GB, free: 145.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0003867/10.98, allocations: 424.4 kB / 4.302 GB, free: 144.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002471/10.99, allocations: 1.287 MB / 4.304 GB, free: 144.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00314/10.99, allocations: 1.965 MB / 4.306 GB, free: 144.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1589/11.15, allocations: 13.16 MB / 4.319 GB, free: 144.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.429e-05/11.15, allocations: 8.047 kB / 4.319 GB, free: 144.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=373) (initialization): time 0.1621/11.31, allocations: 15.22 MB / 4.333 GB, free: 143.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001794/11.31, allocations: 7.293 MB / 4.341 GB, free: 135.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.837e-05/11.31, allocations: 15.34 kB / 4.341 GB, free: 135.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006869/11.31, allocations: 115.2 kB / 4.341 GB, free: 135.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00425/11.32, allocations: 0.8041 MB / 4.341 GB, free: 135.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001914/11.32, allocations: 1.501 MB / 4.343 GB, free: 134.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005759/11.32, allocations: 453.3 kB / 4.343 GB, free: 134.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009603/11.33, allocations: 148.2 kB / 4.343 GB, free: 134.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/11.33, allocations: 4.875 kB / 4.343 GB, free: 134.2 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.156/11.48, allocations: 14.84 MB / 4.358 GB, free: 133.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.818e-05/11.48, allocations: 19.25 kB / 4.358 GB, free: 133.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000599/11.48, allocations: 118.4 kB / 4.358 GB, free: 133.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004291/11.49, allocations: 0.7991 MB / 4.359 GB, free: 133.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001654/11.49, allocations: 1.509 MB / 4.36 GB, free: 132 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005277/11.49, allocations: 395.8 kB / 4.361 GB, free: 131.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009739/11.49, allocations: 148.5 kB / 4.361 GB, free: 131.9 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 76 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (371): * Single equations (assignments): 370 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 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.001734/11.5, allocations: 180.9 kB / 4.361 GB, free: 131.8 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.06084/11.56, allocations: 7.316 MB / 4.368 GB, free: 131.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001858/11.56, allocations: 358.2 kB / 4.369 GB, free: 131 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06229/11.62, allocations: 8.041 MB / 4.376 GB, free: 130.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.456e-05/11.62, allocations: 32.72 kB / 4.376 GB, free: 130.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.387e-05/11.62, allocations: 0 / 4.376 GB, free: 130.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.06055/11.68, allocations: 7.254 MB / 4.383 GB, free: 129.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07734/11.76, allocations: 12.51 MB / 4.396 GB, free: 128.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.29e-05/11.76, allocations: 3.906 kB / 4.396 GB, free: 128.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006001/11.77, allocations: 0.6339 MB / 4.396 GB, free: 128.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008443/11.77, allocations: 91.61 kB / 4.396 GB, free: 128.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007682/11.77, allocations: 64.73 kB / 4.396 GB, free: 128.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0022/11.77, allocations: 1.501 MB / 4.398 GB, free: 127.3 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.266e-05/11.77, allocations: 11.47 kB / 4.398 GB, free: 127.3 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0641/11.83, allocations: 9.915 MB / 4.408 GB, free: 125.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003685/11.84, allocations: 1.058 MB / 4.409 GB, free: 125.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001893/11.84, allocations: 11.44 kB / 4.409 GB, free: 125.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00518/11.84, allocations: 267.8 kB / 4.409 GB, free: 125.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004191/11.85, allocations: 178.8 kB / 4.409 GB, free: 125.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004301/11.85, allocations: 135.1 kB / 4.409 GB, free: 125.6 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.004742/11.85, allocations: 2.298 MB / 4.411 GB, free: 125.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.11e-07/11.85, allocations: 0 / 4.411 GB, free: 125.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.01071/11.86, allocations: 2.337 MB / 4.414 GB, free: 125 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (283): * Single equations (assignments): 274 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 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.06746/11.93, allocations: 12.92 MB / 4.426 GB, free: 121.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.009838/11.94, allocations: 5.326 MB / 4.432 GB, free: 121.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.554e-05/11.94, allocations: 1.281 kB / 4.432 GB, free: 121.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002848/11.94, allocations: 1.679 MB / 4.433 GB, free: 121.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01033/11.95, allocations: 1.745 MB / 4.435 GB, free: 121.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02637/11.98, allocations: 8.857 MB / 4.444 GB, free: 119.2 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004316/11.98, allocations: 3.127 MB / 4.447 GB, free: 118.4 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.01291/12, allocations: 2.753 MB / 4.449 GB, free: 118.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004457/12, allocations: 1.796 MB / 4.451 GB, free: 117.1 MB / 0.948 GB Notification: Performance of SimCode: time 1.523e-06/12, allocations: 2.344 kB / 4.451 GB, free: 117.1 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1829/12.18, allocations: 115.7 MB / 4.564 GB, free: 19.91 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001474/12.18, allocations: 191.4 kB / 4.564 GB, free: 19.72 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.714/17.9, allocations: 2.812 kB / 4.564 GB, free: 19.72 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_Examples_FlatPlateShaCoeTrue_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_Examples_FlatPlateShaCoeTrue.fmu > Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe 2>&1)