Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.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.FlatPlateShaCoeTrue,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_Examples_FlatPlateShaCoeTrue",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.504/1.504, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001247/0.001247, allocations: 185.5 kB / 326.5 MB, free: 2.25 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.184/2.184, allocations: 205.4 MB / 0.5775 GB, free: 20.27 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.0008524/0.0008528, allocations: 93.55 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004322/0.0004323, allocations: 15.59 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2572/0.2577, allocations: 106.3 MB / 0.9002 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.03/7.288, allocations: 2.475 GB / 3.375 GB, free: 79.93 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003673/7.289, allocations: 97.45 kB / 3.375 GB, free: 79.83 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 4.311/11.6, allocations: 0.9075 GB / 4.282 GB, free: 183.4 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.943e-06/11.6, allocations: 0 / 4.282 GB, free: 183.4 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0009522/11.6, allocations: 128.4 kB / 4.282 GB, free: 183.4 MB / 0.8855 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.02118/11.62, allocations: 5.089 MB / 4.287 GB, free: 181 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 6.312e-05/11.62, allocations: 10.31 kB / 4.287 GB, free: 181 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003128/11.62, allocations: 0.5126 MB / 4.288 GB, free: 180.7 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009046/11.63, allocations: 1.259 MB / 4.289 GB, free: 180.4 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01725/11.65, allocations: 5.385 MB / 4.294 GB, free: 178.4 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004178/11.65, allocations: 282.2 kB / 4.295 GB, free: 178.3 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002174/11.65, allocations: 377.6 kB / 4.295 GB, free: 178.2 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01909/11.67, allocations: 5.311 MB / 4.3 GB, free: 176 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003035/11.67, allocations: 22.28 kB / 4.3 GB, free: 176 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001849/11.68, allocations: 153.4 kB / 4.3 GB, free: 175.8 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002229/11.68, allocations: 170.5 kB / 4.301 GB, free: 175.8 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01547/11.69, allocations: 5.242 MB / 4.306 GB, free: 173.3 MB / 0.8855 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.04287/11.73, allocations: 19.29 MB / 4.324 GB, free: 158.4 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00915/11.74, allocations: 3.611 MB / 4.328 GB, free: 154.8 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002141/11.75, allocations: 1.86 MB / 4.33 GB, free: 152.6 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0058/11.75, allocations: 2.023 MB / 4.332 GB, free: 150.6 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=264): time 8.366e-06/11.75, allocations: 0 / 4.332 GB, free: 150.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=264): time 0.01572/11.77, allocations: 5.08 MB / 4.337 GB, free: 145.4 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001207/11.77, allocations: 294.5 kB / 4.337 GB, free: 145.1 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008505/11.78, allocations: 3.476 MB / 4.34 GB, free: 141.6 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.00105/11.78, allocations: 73.7 kB / 4.34 GB, free: 141.5 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.002335/11.78, allocations: 1.971 MB / 4.342 GB, free: 139.6 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.001655/11.78, allocations: 0.9046 MB / 4.343 GB, free: 138.7 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002951/11.78, allocations: 60 kB / 4.343 GB, free: 138.6 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0002105/11.78, allocations: 431.9 kB / 4.344 GB, free: 138.2 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003428/11.78, allocations: 1.558 MB / 4.345 GB, free: 136.6 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004335/11.79, allocations: 2.259 MB / 4.347 GB, free: 134.1 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004528/11.79, allocations: 1.898 MB / 4.349 GB, free: 132.2 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.131e-05/11.79, allocations: 4 kB / 4.349 GB, free: 132.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=373) (initialization): time 0.01325/11.81, allocations: 4.393 MB / 4.354 GB, free: 127.8 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.002057/11.81, allocations: 7.404 MB / 4.361 GB, free: 119.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.884e-05/11.81, allocations: 16 kB / 4.361 GB, free: 119.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007207/11.81, allocations: 124.7 kB / 4.361 GB, free: 119.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004674/11.81, allocations: 0.7957 MB / 4.362 GB, free: 118.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002029/11.82, allocations: 1.594 MB / 4.363 GB, free: 117.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006391/11.82, allocations: 0.5275 MB / 4.364 GB, free: 116.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001115/11.82, allocations: 143.9 kB / 4.364 GB, free: 116.5 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/11.82, allocations: 4 kB / 4.364 GB, free: 116.5 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0126/11.84, allocations: 4.054 MB / 4.368 GB, free: 112.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.928e-05/11.84, allocations: 19.17 kB / 4.368 GB, free: 112.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006741/11.84, allocations: 116.8 kB / 4.368 GB, free: 112.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004827/11.84, allocations: 0.7995 MB / 4.369 GB, free: 111.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002123/11.84, allocations: 1.588 MB / 4.37 GB, free: 109.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006199/11.85, allocations: 484.8 kB / 4.371 GB, free: 109.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001112/11.85, allocations: 151.9 kB / 4.371 GB, free: 109.1 MB / 0.8855 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 () * Number of clocked 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.005357/11.86, allocations: 1.509 MB / 4.372 GB, free: 107.6 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002262/11.86, allocations: 383.3 kB / 4.373 GB, free: 107.2 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01442/11.87, allocations: 4.347 MB / 4.377 GB, free: 102.8 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.725e-05/11.87, allocations: 32 kB / 4.377 GB, free: 102.8 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.486e-05/11.87, allocations: 0 / 4.377 GB, free: 102.8 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009041/11.88, allocations: 3.484 MB / 4.381 GB, free: 99.19 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02956/11.91, allocations: 9.247 MB / 4.39 GB, free: 89.81 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.493e-05/11.91, allocations: 4 kB / 4.39 GB, free: 89.81 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003958/11.92, allocations: 0.6363 MB / 4.39 GB, free: 89.17 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006006/11.92, allocations: 92.78 kB / 4.39 GB, free: 89.08 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007382/11.92, allocations: 89.89 kB / 4.39 GB, free: 88.99 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001792/11.92, allocations: 1.598 MB / 4.392 GB, free: 87.27 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.983e-06/11.92, allocations: 4 kB / 4.392 GB, free: 87.26 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01528/11.94, allocations: 6.469 MB / 4.398 GB, free: 80.57 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004281/11.94, allocations: 1.065 MB / 4.399 GB, free: 79.48 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002109/11.94, allocations: 67.94 kB / 4.399 GB, free: 79.41 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005399/11.95, allocations: 311.4 kB / 4.4 GB, free: 79.11 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000752/11.95, allocations: 185.8 kB / 4.4 GB, free: 78.93 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007823/11.95, allocations: 127.9 kB / 4.4 GB, free: 78.8 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.006757/11.96, allocations: 2.744 MB / 4.403 GB, free: 76.07 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.985e-06/11.96, allocations: 0 / 4.403 GB, free: 76.07 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.01525/11.97, allocations: 2.442 MB / 4.405 GB, free: 73.63 MB / 0.8855 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) * Number of clocked states: 0 () * 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.02098/11.99, allocations: 9.44 MB / 4.414 GB, free: 64.39 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.01578/12.01, allocations: 6.119 MB / 4.42 GB, free: 58.21 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.896e-05/12.01, allocations: 4.562 kB / 4.42 GB, free: 58.21 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.004956/12.01, allocations: 1.952 MB / 4.422 GB, free: 56.24 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01078/12.02, allocations: 2.023 MB / 4.424 GB, free: 54.31 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03616/12.06, allocations: 26.13 MB / 4.45 GB, free: 27.13 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004723/12.06, allocations: 3.118 MB / 4.453 GB, free: 23.98 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.01081/12.08, allocations: 2.054 MB / 4.455 GB, free: 21.99 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005164/12.08, allocations: 1.881 MB / 4.457 GB, free: 20.11 MB / 0.8855 GB Notification: Performance of SimCode: time 2.905e-06/12.08, allocations: 0 / 4.457 GB, free: 20.11 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8653/12.95, allocations: 129.1 MB / 4.583 GB, free: 161.6 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002793/12.95, allocations: 275.8 kB / 4.583 GB, free: 161.2 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.628/19.57, allocations: 0 / 4.583 GB, free: 161.2 MB / 0.8855 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_Examples_FlatPlateShaCoeTrue_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_Examples_FlatPlateShaCoeTrue.fmu > Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe 2>&1)