Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_SolarCollectors_Examples_FlatPlateShaCoeTrue",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.499/2.499, allocations: 284.9 MB / 292.4 MB, free: 10.57 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.001495/0.001495, allocations: 184.8 kB / 360.6 MB, free: 7.312 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.066/2.066, allocations: 205.3 MB / 0.6191 GB, free: 12.19 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.001136/0.001136, allocations: 91.44 kB / 0.7321 GB, free: 44.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.212e-05/2.209e-05, allocations: 4 kB / 0.8508 GB, free: 3.355 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8312/0.8312, allocations: 115.3 MB / 0.9634 GB, free: 78.62 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.029/7.86, allocations: 2.357 GB / 3.32 GB, free: 125 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003609/7.86, allocations: 95.94 kB / 3.32 GB, free: 125 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.307/13.17, allocations: 0.9212 GB / 4.242 GB, free: 170.9 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.394e-06/13.17, allocations: 0 / 4.242 GB, free: 170.9 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0008387/13.17, allocations: 124.2 kB / 4.242 GB, free: 170.8 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.01855/13.19, allocations: 4.265 MB / 4.246 GB, free: 169.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.402e-05/13.19, allocations: 10.31 kB / 4.246 GB, free: 169.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01357/13.2, allocations: 1.253 MB / 4.247 GB, free: 169.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02219/13.22, allocations: 5.391 MB / 4.252 GB, free: 168.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002442/13.22, allocations: 121.3 kB / 4.252 GB, free: 168.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001435/13.22, allocations: 221.4 kB / 4.253 GB, free: 168.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01343/13.24, allocations: 4.348 MB / 4.257 GB, free: 168.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0169/13.25, allocations: 4.512 MB / 4.261 GB, free: 168 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001602/13.25, allocations: 11.28 kB / 4.261 GB, free: 168 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007681/13.26, allocations: 9.156 kB / 4.261 GB, free: 168 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002791/13.26, allocations: 178.9 kB / 4.261 GB, free: 168 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.04821/13.3, allocations: 18.6 MB / 4.28 GB, free: 161.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007373/13.31, allocations: 3.07 MB / 4.283 GB, free: 161.7 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003972/13.32, allocations: 1.59 MB / 4.284 GB, free: 161.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00293/13.32, allocations: 1.861 MB / 4.286 GB, free: 159.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004879/13.32, allocations: 1.761 MB / 4.288 GB, free: 159.6 MB / 0.948 GB Notification: Performance of pre-optimization done (n=264): time 6.533e-06/13.32, allocations: 2.531 kB / 4.288 GB, free: 159.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=264): time 0.1258/13.45, allocations: 7.316 MB / 4.295 GB, free: 159.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001058/13.45, allocations: 285.7 kB / 4.295 GB, free: 158.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007088/13.46, allocations: 2.992 MB / 4.298 GB, free: 158.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0009376/13.46, allocations: 29.33 kB / 4.298 GB, free: 158.6 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002581/13.46, allocations: 1.971 MB / 4.3 GB, free: 157.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.00167/13.46, allocations: 0.8641 MB / 4.301 GB, free: 157.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003399/13.46, allocations: 3.828 kB / 4.301 GB, free: 157.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0002195/13.46, allocations: 428.8 kB / 4.301 GB, free: 157 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003047/13.47, allocations: 1.289 MB / 4.303 GB, free: 157 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003905/13.47, allocations: 1.966 MB / 4.304 GB, free: 156.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3381/13.81, allocations: 13.17 MB / 4.317 GB, free: 156.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.055e-05/13.81, allocations: 7.812 kB / 4.317 GB, free: 156.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=373) (initialization): time 0.4265/14.23, allocations: 15.21 MB / 4.332 GB, free: 155 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.002053/14.24, allocations: 7.288 MB / 4.339 GB, free: 147.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-05/14.24, allocations: 15.25 kB / 4.339 GB, free: 147.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001105/14.24, allocations: 122.5 kB / 4.339 GB, free: 147.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007876/14.25, allocations: 0.8017 MB / 4.34 GB, free: 147.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002466/14.25, allocations: 1.504 MB / 4.342 GB, free: 146.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008139/14.26, allocations: 447 kB / 4.342 GB, free: 146.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00101/14.26, allocations: 147.1 kB / 4.342 GB, free: 146.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/14.26, allocations: 3.688 kB / 4.342 GB, free: 146.1 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.3427/14.6, allocations: 14.85 MB / 4.357 GB, free: 145.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.597e-05/14.6, allocations: 18.22 kB / 4.357 GB, free: 145.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009504/14.6, allocations: 113.8 kB / 4.357 GB, free: 145.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007798/14.61, allocations: 0.8055 MB / 4.358 GB, free: 145.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002458/14.61, allocations: 1.507 MB / 4.359 GB, free: 143.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007888/14.62, allocations: 401.7 kB / 4.36 GB, free: 143.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001129/14.62, allocations: 148.8 kB / 4.36 GB, free: 143.7 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.00118/14.62, allocations: 177.5 kB / 4.36 GB, free: 143.6 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.1602/14.78, allocations: 7.311 MB / 4.367 GB, free: 143 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002125/14.78, allocations: 362.7 kB / 4.367 GB, free: 142.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1286/14.91, allocations: 8.03 MB / 4.375 GB, free: 142.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.507e-05/14.91, allocations: 35.34 kB / 4.375 GB, free: 142.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/14.91, allocations: 4.969 kB / 4.375 GB, free: 142.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1238/15.04, allocations: 7.25 MB / 4.382 GB, free: 141.6 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1409/15.18, allocations: 12.54 MB / 4.395 GB, free: 140.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.151e-05/15.18, allocations: 3.938 kB / 4.395 GB, free: 140.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006775/15.18, allocations: 0.634 MB / 4.395 GB, free: 140.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009127/15.19, allocations: 95.89 kB / 4.395 GB, free: 140.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006917/15.19, allocations: 64.41 kB / 4.395 GB, free: 140.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002231/15.19, allocations: 1.502 MB / 4.397 GB, free: 139.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.915e-06/15.19, allocations: 7.969 kB / 4.397 GB, free: 139.2 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1299/15.32, allocations: 9.923 MB / 4.406 GB, free: 136.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004077/15.32, allocations: 1.051 MB / 4.407 GB, free: 135.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001264/15.32, allocations: 18.75 kB / 4.408 GB, free: 135.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006678/15.33, allocations: 263.4 kB / 4.408 GB, free: 135.5 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005514/15.33, allocations: 184.3 kB / 4.408 GB, free: 135.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004998/15.33, allocations: 139.5 kB / 4.408 GB, free: 135.5 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.00494/15.34, allocations: 2.3 MB / 4.41 GB, free: 134.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 9.11e-07/15.34, allocations: 0 / 4.41 GB, free: 134.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.01132/15.35, allocations: 2.325 MB / 4.413 GB, free: 133.2 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.1333/15.48, allocations: 12.93 MB / 4.425 GB, free: 122.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01438/15.5, allocations: 5.319 MB / 4.43 GB, free: 117.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.511e-05/15.5, allocations: 4.844 kB / 4.43 GB, free: 117.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.004334/15.5, allocations: 1.67 MB / 4.432 GB, free: 116.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01481/15.51, allocations: 1.746 MB / 4.434 GB, free: 115.1 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02855/15.54, allocations: 8.862 MB / 4.442 GB, free: 107.4 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004125/15.55, allocations: 3.121 MB / 4.445 GB, free: 105 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.01689/15.56, allocations: 2.744 MB / 4.448 GB, free: 103.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004823/15.57, allocations: 1.808 MB / 4.45 GB, free: 101.6 MB / 0.948 GB Notification: Performance of SimCode: time 9.62e-07/15.57, allocations: 0 / 4.45 GB, free: 101.6 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9551/16.52, allocations: 115.6 MB / 4.563 GB, free: 150.4 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002259/16.52, allocations: 183.1 kB / 4.563 GB, free: 150.3 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.942/24.47, allocations: 0 / 4.563 GB, free: 150.3 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_SolarCollectors_Examples_FlatPlateShaCoeTrue_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_SolarCollectors_Examples_FlatPlateShaCoeTrue.fmu > Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe 2>&1)