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.776/1.776, allocations: 285.4 MB / 298 MB, free: 5.977 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.001044/0.001044, allocations: 172.9 kB / 366.4 MB, free: 2.062 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.676/1.676, allocations: 205.1 MB / 0.6248 GB, free: 7.711 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.0008732/0.000873, allocations: 93.28 kB / 0.738 GB, free: 40.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.82e-05/4.836e-05, allocations: 4 kB / 0.8584 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7865/0.7865, allocations: 115.3 MB / 0.971 GB, free: 77.81 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.133/6.92, allocations: 2.358 GB / 3.329 GB, free: 144.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002373/6.92, allocations: 92.62 kB / 3.329 GB, free: 144 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.961/10.88, allocations: 0.9262 GB / 4.255 GB, free: 167.6 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.553e-06/10.88, allocations: 0 / 4.255 GB, free: 167.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0009096/10.88, allocations: 128.3 kB / 4.255 GB, free: 167.6 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.0188/10.9, allocations: 4.271 MB / 4.259 GB, free: 166.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 7.541e-05/10.9, allocations: 9.406 kB / 4.259 GB, free: 166.2 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002909/10.9, allocations: 0.5116 MB / 4.26 GB, free: 166.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01117/10.91, allocations: 1.251 MB / 4.261 GB, free: 165.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01778/10.93, allocations: 5.383 MB / 4.266 GB, free: 165.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004468/10.93, allocations: 281.8 kB / 4.266 GB, free: 165.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001926/10.93, allocations: 375.9 kB / 4.267 GB, free: 165.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01343/10.95, allocations: 5.032 MB / 4.272 GB, free: 164.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001179/10.95, allocations: 8.156 kB / 4.272 GB, free: 164.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000597/10.95, allocations: 161.2 kB / 4.272 GB, free: 164.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002083/10.95, allocations: 177.5 kB / 4.272 GB, free: 164.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01001/10.96, allocations: 4.629 MB / 4.277 GB, free: 164.6 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.04018/11, allocations: 19.33 MB / 4.295 GB, free: 158.3 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005969/11.01, allocations: 3.219 MB / 4.299 GB, free: 158.2 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00272/11.01, allocations: 1.674 MB / 4.3 GB, free: 158.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001956/11.01, allocations: 1.863 MB / 4.302 GB, free: 156.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00369/11.01, allocations: 1.845 MB / 4.304 GB, free: 156.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=264): time 1.213e-05/11.01, allocations: 0 / 4.304 GB, free: 156.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=264): time 0.009054/11.02, allocations: 3.122 MB / 4.307 GB, free: 155.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001051/11.02, allocations: 288.9 kB / 4.307 GB, free: 155.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00909/11.03, allocations: 3.445 MB / 4.311 GB, free: 155.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.001096/11.03, allocations: 76.86 kB / 4.311 GB, free: 155.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003054/11.04, allocations: 1.973 MB / 4.313 GB, free: 154.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002002/11.04, allocations: 0.9028 MB / 4.313 GB, free: 153.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007732/11.04, allocations: 59.28 kB / 4.313 GB, free: 153.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.000363/11.04, allocations: 427.6 kB / 4.314 GB, free: 153.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003184/11.04, allocations: 1.348 MB / 4.315 GB, free: 153.6 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003735/11.05, allocations: 2.041 MB / 4.317 GB, free: 152.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003622/11.05, allocations: 1.693 MB / 4.319 GB, free: 152.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.527e-05/11.05, allocations: 3.781 kB / 4.319 GB, free: 152.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=373) (initialization): time 0.0105/11.06, allocations: 3.961 MB / 4.323 GB, free: 152.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001623/11.06, allocations: 7.407 MB / 4.33 GB, free: 144.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.706e-05/11.06, allocations: 16.28 kB / 4.33 GB, free: 144.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007089/11.06, allocations: 118.8 kB / 4.33 GB, free: 144.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004138/11.07, allocations: 0.8039 MB / 4.331 GB, free: 144.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001865/11.07, allocations: 1.567 MB / 4.332 GB, free: 143.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005863/11.08, allocations: 0.5306 MB / 4.333 GB, free: 143.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007994/11.08, allocations: 144.6 kB / 4.333 GB, free: 143.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/11.08, allocations: 3.875 kB / 4.333 GB, free: 143.2 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008843/11.08, allocations: 3.625 MB / 4.337 GB, free: 143.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.866e-05/11.08, allocations: 17.69 kB / 4.337 GB, free: 143.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006424/11.09, allocations: 109.2 kB / 4.337 GB, free: 143.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004407/11.09, allocations: 0.8066 MB / 4.337 GB, free: 143.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002157/11.09, allocations: 1.572 MB / 4.339 GB, free: 141.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006307/11.1, allocations: 494.6 kB / 4.339 GB, free: 141.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001109/11.1, allocations: 148.5 kB / 4.34 GB, free: 141.6 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.001808/11.1, allocations: 285.4 kB / 4.34 GB, free: 141.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002178/11.1, allocations: 380.7 kB / 4.34 GB, free: 141.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009735/11.11, allocations: 3.931 MB / 4.344 GB, free: 141.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.819e-05/11.11, allocations: 29.84 kB / 4.344 GB, free: 141.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.979e-06/11.11, allocations: 0 / 4.344 GB, free: 141.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005069/11.12, allocations: 3.066 MB / 4.347 GB, free: 140.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01922/11.14, allocations: 8.866 MB / 4.356 GB, free: 139.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.641e-05/11.14, allocations: 13.08 kB / 4.356 GB, free: 139.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003284/11.14, allocations: 0.6291 MB / 4.356 GB, free: 139.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005386/11.14, allocations: 99.09 kB / 4.357 GB, free: 139.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003499/11.14, allocations: 89.08 kB / 4.357 GB, free: 139.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001606/11.14, allocations: 1.57 MB / 4.358 GB, free: 137.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.332e-06/11.14, allocations: 8.672 kB / 4.358 GB, free: 137.7 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0105/11.15, allocations: 5.835 MB / 4.364 GB, free: 134.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003595/11.16, allocations: 1.083 MB / 4.365 GB, free: 134.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001605/11.16, allocations: 65.5 kB / 4.365 GB, free: 134.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004609/11.16, allocations: 314.8 kB / 4.365 GB, free: 134 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004037/11.16, allocations: 184.2 kB / 4.365 GB, free: 134 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004344/11.17, allocations: 134.8 kB / 4.366 GB, free: 134 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.005323/11.17, allocations: 2.702 MB / 4.368 GB, free: 133 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.11e-07/11.17, allocations: 0 / 4.368 GB, free: 133 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.01177/11.18, allocations: 2.445 MB / 4.371 GB, free: 132.4 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.01475/11.2, allocations: 8.802 MB / 4.379 GB, free: 127.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01011/11.21, allocations: 5.593 MB / 4.385 GB, free: 125.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.756e-05/11.21, allocations: 4.25 kB / 4.385 GB, free: 125.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.003175/11.21, allocations: 1.744 MB / 4.386 GB, free: 125.1 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0132/11.22, allocations: 2.024 MB / 4.388 GB, free: 124.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0276/11.25, allocations: 9.2 MB / 4.397 GB, free: 121.5 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003677/11.26, allocations: 3.123 MB / 4.4 GB, free: 120.4 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.01309/11.27, allocations: 3.02 MB / 4.403 GB, free: 120.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003795/11.27, allocations: 1.804 MB / 4.405 GB, free: 118.7 MB / 0.948 GB Notification: Performance of SimCode: time 1.362e-06/11.27, allocations: 0.75 kB / 4.405 GB, free: 118.7 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.213/11.49, allocations: 138.1 MB / 4.54 GB, free: 17.86 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001577/11.49, allocations: 241.9 kB / 4.54 GB, free: 17.53 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.742/18.23, allocations: 7.453 kB / 4.54 GB, free: 17.53 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)