Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.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.FlatPlateTotalArea,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_Examples_FlatPlateTotalArea",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_Examples_FlatPlateTotalArea",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.451/1.451, allocations: 249.5 MB / 257 MB, free: 6.949 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001071/0.001071, allocations: 180.3 kB / 316.3 MB, free: 3.227 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.502/1.502, allocations: 205.3 MB / 0.5671 GB, free: 15.81 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.0007727/0.0007727, allocations: 90.56 kB / 0.6714 GB, free: 4.926 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.896e-05/1.907e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1993/0.1993, allocations: 106.3 MB / 0.8853 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.156/6.355, allocations: 2.475 GB / 3.36 GB, free: 275 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000236/6.355, allocations: 93.41 kB / 3.36 GB, free: 274.9 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 10.09/16.44, allocations: 2.751 GB / 6.112 GB, free: 81.85 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.695e-06/16.44, allocations: 0 / 6.112 GB, free: 81.85 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.002265/16.44, allocations: 379.8 kB / 6.112 GB, free: 81.79 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2944 * Number of variables: 2944 Notification: Performance of Generate backend data structure: time 0.03485/16.48, allocations: 12.02 MB / 6.124 GB, free: 77.38 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/16.48, allocations: 10.5 kB / 6.124 GB, free: 77.38 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01841/16.5, allocations: 3.004 MB / 6.127 GB, free: 76.56 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04292/16.54, allocations: 18.05 MB / 6.144 GB, free: 74.96 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005772/16.54, allocations: 360.7 kB / 6.145 GB, free: 74.96 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0043/16.54, allocations: 0.6459 MB / 6.145 GB, free: 74.96 MB / 0.9167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02673/16.57, allocations: 12.83 MB / 6.158 GB, free: 74.91 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03757/16.61, allocations: 14.21 MB / 6.172 GB, free: 73.27 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004462/16.61, allocations: 48.22 kB / 6.172 GB, free: 73.27 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002841/16.61, allocations: 17.47 kB / 6.172 GB, free: 73.27 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004395/16.61, allocations: 0.5603 MB / 6.172 GB, free: 73.24 MB / 0.9167 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.1152/16.73, allocations: 60.82 MB / 6.232 GB, free: 50.79 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01399/16.74, allocations: 9.24 MB / 6.241 GB, free: 50.54 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007194/16.75, allocations: 4.904 MB / 6.246 GB, free: 50.47 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002466/16.75, allocations: 2.384 MB / 6.248 GB, free: 48.02 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008952/16.76, allocations: 4.939 MB / 6.253 GB, free: 46.32 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=704): time 1.22e-05/16.76, allocations: 0 / 6.253 GB, free: 46.32 MB / 0.9167 GB Notification: Performance of matching and sorting (n=704): time 0.1247/16.89, allocations: 17.52 MB / 6.27 GB, free: 42.16 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001113/16.89, allocations: 356.4 kB / 6.27 GB, free: 41.8 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01789/16.9, allocations: 9.463 MB / 6.28 GB, free: 38.36 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.002116/16.91, allocations: 33.08 kB / 6.28 GB, free: 38.33 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.006842/16.91, allocations: 6.18 MB / 6.286 GB, free: 33.62 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.003917/16.92, allocations: 2.347 MB / 6.288 GB, free: 31.79 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008083/16.92, allocations: 0 / 6.288 GB, free: 31.79 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.000514/16.92, allocations: 0.6543 MB / 6.289 GB, free: 31.33 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00525/16.92, allocations: 3.976 MB / 6.292 GB, free: 29.79 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007095/16.93, allocations: 6.199 MB / 6.298 GB, free: 23.98 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.304/17.23, allocations: 28.63 MB / 6.326 GB, free: 4.156 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.863e-05/17.23, allocations: 20 kB / 6.326 GB, free: 4.137 MB / 0.9167 GB Notification: Performance of matching and sorting (n=1097) (initialization): time 0.9398/18.17, allocations: 35.17 MB / 6.361 GB, free: 95.79 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.007799/18.18, allocations: 35.48 MB / 6.395 GB, free: 58.93 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003326/18.18, allocations: 65.25 kB / 6.395 GB, free: 58.93 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001076/18.18, allocations: 196.3 kB / 6.396 GB, free: 58.92 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01361/18.2, allocations: 2.354 MB / 6.398 GB, free: 58.92 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002218/18.2, allocations: 1.617 MB / 6.4 GB, free: 57.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01633/18.22, allocations: 1.311 MB / 6.401 GB, free: 57.7 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003022/18.22, allocations: 425.4 kB / 6.401 GB, free: 57.7 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/18.22, allocations: 11.36 kB / 6.401 GB, free: 57.7 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.3199/18.54, allocations: 33.59 MB / 6.434 GB, free: 57.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002058/18.54, allocations: 70.19 kB / 6.434 GB, free: 57.2 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006326/18.54, allocations: 196.2 kB / 6.434 GB, free: 57.19 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01148/18.55, allocations: 2.348 MB / 6.437 GB, free: 57.16 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001731/18.55, allocations: 1.609 MB / 6.438 GB, free: 55.95 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01424/18.57, allocations: 1.147 MB / 6.439 GB, free: 55.88 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002591/18.57, allocations: 425.4 kB / 6.44 GB, free: 55.88 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 293 * 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 (1095): * Single equations (assignments): 1094 * 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.003726/18.57, allocations: 339.4 kB / 6.44 GB, free: 55.77 MB / 0.9323 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.1276/18.7, allocations: 17.51 MB / 6.457 GB, free: 54.47 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005343/18.71, allocations: 1.007 MB / 6.458 GB, free: 53.95 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.134/18.84, allocations: 19.03 MB / 6.477 GB, free: 52.88 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.597e-05/18.84, allocations: 76.5 kB / 6.477 GB, free: 52.88 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.503e-05/18.84, allocations: 0 / 6.477 GB, free: 52.88 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1242/18.96, allocations: 16.95 MB / 6.493 GB, free: 51.76 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1577/19.12, allocations: 32.36 MB / 6.525 GB, free: 49.52 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.508e-05/19.12, allocations: 10.88 kB / 6.525 GB, free: 49.52 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01058/19.13, allocations: 1.715 MB / 6.527 GB, free: 49.49 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006343/19.13, allocations: 121 kB / 6.527 GB, free: 49.48 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001799/19.14, allocations: 158.1 kB / 6.527 GB, free: 49.48 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001495/19.14, allocations: 1.528 MB / 6.528 GB, free: 48.25 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.235e-05/19.14, allocations: 15.12 kB / 6.528 GB, free: 48.25 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1331/19.27, allocations: 26.37 MB / 6.554 GB, free: 42.9 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0103/19.28, allocations: 2.888 MB / 6.557 GB, free: 42.27 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005075/19.29, allocations: 54.91 kB / 6.557 GB, free: 42.27 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01471/19.3, allocations: 0.6935 MB / 6.558 GB, free: 42.19 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002254/19.3, allocations: 465.9 kB / 6.558 GB, free: 42.16 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002066/19.31, allocations: 349.2 kB / 6.558 GB, free: 42.16 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.01512/19.32, allocations: 7.241 MB / 6.566 GB, free: 41.88 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.674e-06/19.32, allocations: 0 / 6.566 GB, free: 41.88 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.03344/19.35, allocations: 6.834 MB / 6.572 GB, free: 41.19 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 48 * Number of states: 40 (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,solCol1.vol[1].dynBal.U,solCol1.vol[2].dynBal.U,solCol1.vol[3].dynBal.U,solCol1.vol[4].dynBal.U,solCol1.vol[5].dynBal.U,solCol1.vol[6].dynBal.U,solCol1.vol[7].dynBal.U,solCol1.vol[8].dynBal.U,solCol1.vol[9].dynBal.U,solCol1.vol[10].dynBal.U,solCol1.vol[11].dynBal.U,solCol1.vol[12].dynBal.U,solCol1.vol[13].dynBal.U,solCol1.vol[14].dynBal.U,solCol1.vol[15].dynBal.U,solCol1.vol[16].dynBal.U,solCol1.vol[17].dynBal.U,solCol1.vol[18].dynBal.U,solCol1.vol[19].dynBal.U,solCol1.vol[20].dynBal.U,solCol1.vol[21].dynBal.U,solCol1.vol[22].dynBal.U,solCol1.vol[23].dynBal.U,solCol1.vol[24].dynBal.U,solCol1.vol[25].dynBal.U,solCol1.vol[26].dynBal.U,solCol1.vol[27].dynBal.U,TOut1.T,TIn1.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 (729): * Single equations (assignments): 716 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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.1381/19.49, allocations: 30.08 MB / 6.602 GB, free: 34.02 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.02865/19.52, allocations: 15.45 MB / 6.617 GB, free: 29.93 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.368e-05/19.52, allocations: 14.84 kB / 6.617 GB, free: 29.91 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.007016/19.53, allocations: 4.433 MB / 6.621 GB, free: 27.49 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02918/19.56, allocations: 5.85 MB / 6.627 GB, free: 24.1 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06111/19.62, allocations: 28.33 MB / 6.654 GB, free: 19.79 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01049/19.63, allocations: 8.64 MB / 6.663 GB, free: 14.86 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.03774/19.67, allocations: 9.761 MB / 6.672 GB, free: 8.512 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01215/19.68, allocations: 5.668 MB / 6.678 GB, free: 7.859 MB / 0.948 GB Notification: Performance of SimCode: time 1.092e-06/19.68, allocations: 0 / 6.678 GB, free: 7.859 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.046/20.72, allocations: 323 MB / 6.993 GB, free: 27.64 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000152/20.72, allocations: 194.7 kB / 6.994 GB, free: 27.41 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.55/35.27, allocations: 0 / 6.994 GB, free: 27.41 MB / 0.9636 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_Examples_FlatPlateTotalArea_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_Examples_FlatPlateTotalArea.fmu > Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe 2>&1)