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.446/1.446, allocations: 249.5 MB / 257 MB, free: 6.91 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.001156/0.001156, allocations: 180.9 kB / 316.3 MB, free: 3.23 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.553/1.553, allocations: 205.3 MB / 0.5671 GB, free: 15.84 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.00107/0.00107, allocations: 95.19 kB / 0.6714 GB, free: 4.945 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.847e-05/1.849e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2079/0.2079, allocations: 106.4 MB / 0.8853 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.504/6.712, allocations: 2.475 GB / 3.36 GB, free: 213 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002363/6.712, allocations: 90.27 kB / 3.36 GB, free: 213 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.453/10.17, allocations: 0.8999 GB / 4.26 GB, free: 122.8 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.436e-06/10.17, allocations: 3.156 kB / 4.26 GB, free: 122.8 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0009709/10.17, allocations: 131 kB / 4.26 GB, free: 122.8 MB / 0.8698 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.0143/10.18, allocations: 4.263 MB / 4.264 GB, free: 121.4 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/10.18, allocations: 13.33 kB / 4.264 GB, free: 121.4 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008693/10.19, allocations: 1.242 MB / 4.266 GB, free: 121.2 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0146/10.2, allocations: 5.371 MB / 4.271 GB, free: 120.5 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002502/10.2, allocations: 118.6 kB / 4.271 GB, free: 120.5 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001435/10.21, allocations: 230.5 kB / 4.271 GB, free: 120.5 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01026/10.22, allocations: 4.347 MB / 4.275 GB, free: 120.5 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01384/10.23, allocations: 4.46 MB / 4.28 GB, free: 120 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001136/10.23, allocations: 8.688 kB / 4.28 GB, free: 120 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005152/10.23, allocations: 13.97 kB / 4.28 GB, free: 120 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002035/10.23, allocations: 167.7 kB / 4.28 GB, free: 120 MB / 0.8698 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.03179/10.26, allocations: 18.57 MB / 4.298 GB, free: 113.8 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004408/10.27, allocations: 3.077 MB / 4.301 GB, free: 113.7 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002017/10.27, allocations: 1.585 MB / 4.303 GB, free: 113.7 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001783/10.27, allocations: 1.869 MB / 4.304 GB, free: 111.7 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002428/10.27, allocations: 1.728 MB / 4.306 GB, free: 111.6 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=264): time 5.54e-06/10.27, allocations: 3.969 kB / 4.306 GB, free: 111.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=264): time 0.05813/10.33, allocations: 7.304 MB / 4.313 GB, free: 111.3 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.334e-05/10.33, allocations: 293.3 kB / 4.314 GB, free: 111 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004786/10.34, allocations: 2.98 MB / 4.316 GB, free: 110.7 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0007856/10.34, allocations: 33.33 kB / 4.316 GB, free: 110.7 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001808/10.34, allocations: 1.966 MB / 4.318 GB, free: 109.9 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.00126/10.34, allocations: 0.8759 MB / 4.319 GB, free: 109.3 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001933/10.34, allocations: 0 / 4.319 GB, free: 109.3 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001795/10.34, allocations: 419.5 kB / 4.32 GB, free: 109 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001848/10.34, allocations: 1.294 MB / 4.321 GB, free: 109 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00212/10.34, allocations: 1.969 MB / 4.323 GB, free: 108.3 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1541/10.5, allocations: 13.16 MB / 4.336 GB, free: 108.2 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.62e-05/10.5, allocations: 11.58 kB / 4.336 GB, free: 108.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=373) (initialization): time 0.1536/10.65, allocations: 15.22 MB / 4.351 GB, free: 107.2 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001187/10.65, allocations: 7.29 MB / 4.358 GB, free: 99.64 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.66e-05/10.65, allocations: 16.53 kB / 4.358 GB, free: 99.64 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006039/10.65, allocations: 116.1 kB / 4.358 GB, free: 99.62 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003703/10.66, allocations: 0.8037 MB / 4.359 GB, free: 99.62 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001505/10.66, allocations: 1.506 MB / 4.36 GB, free: 98.38 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004649/10.66, allocations: 438.8 kB / 4.36 GB, free: 98.21 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005185/10.66, allocations: 144.8 kB / 4.361 GB, free: 98.21 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/10.66, allocations: 8.438 kB / 4.361 GB, free: 98.21 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1504/10.82, allocations: 14.85 MB / 4.375 GB, free: 97.29 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.032e-05/10.82, allocations: 23.03 kB / 4.375 GB, free: 97.29 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000523/10.82, allocations: 115.8 kB / 4.375 GB, free: 97.28 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003715/10.82, allocations: 0.8053 MB / 4.376 GB, free: 97.27 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001455/10.82, allocations: 1.505 MB / 4.377 GB, free: 96.03 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004821/10.83, allocations: 396.4 kB / 4.378 GB, free: 95.89 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005404/10.83, allocations: 146.8 kB / 4.378 GB, free: 95.89 MB / 0.8698 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.0009187/10.83, allocations: 178.5 kB / 4.378 GB, free: 95.77 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.05723/10.88, allocations: 7.311 MB / 4.385 GB, free: 95.17 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001016/10.89, allocations: 355 kB / 4.386 GB, free: 94.99 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05783/10.94, allocations: 8.045 MB / 4.394 GB, free: 94.42 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.773e-05/10.94, allocations: 32.38 kB / 4.394 GB, free: 94.42 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/10.94, allocations: 0 / 4.394 GB, free: 94.42 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.05504/11, allocations: 7.247 MB / 4.401 GB, free: 93.78 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06381/11.06, allocations: 12.49 MB / 4.413 GB, free: 92.61 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.294e-05/11.06, allocations: 3.188 kB / 4.413 GB, free: 92.61 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003/11.07, allocations: 0.633 MB / 4.413 GB, free: 92.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004706/11.07, allocations: 97.31 kB / 4.414 GB, free: 92.59 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000203/11.07, allocations: 61.59 kB / 4.414 GB, free: 92.58 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001345/11.07, allocations: 1.509 MB / 4.415 GB, free: 91.34 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/11.07, allocations: 8.594 kB / 4.415 GB, free: 91.34 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06138/11.13, allocations: 9.919 MB / 4.425 GB, free: 89.93 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003071/11.13, allocations: 1.045 MB / 4.426 GB, free: 89.61 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001176/11.13, allocations: 27.05 kB / 4.426 GB, free: 89.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003863/11.14, allocations: 256.9 kB / 4.426 GB, free: 89.57 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003254/11.14, allocations: 181.1 kB / 4.426 GB, free: 89.56 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003154/11.14, allocations: 132.4 kB / 4.426 GB, free: 89.56 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.003454/11.14, allocations: 2.294 MB / 4.429 GB, free: 89.41 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.2e-07/11.14, allocations: 7.219 kB / 4.429 GB, free: 89.41 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.009228/11.15, allocations: 2.319 MB / 4.431 GB, free: 88.98 MB / 0.8698 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.06348/11.21, allocations: 12.92 MB / 4.443 GB, free: 85.86 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.008294/11.22, allocations: 5.323 MB / 4.449 GB, free: 85.56 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.281e-05/11.22, allocations: 0.5625 kB / 4.449 GB, free: 85.56 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.002346/11.23, allocations: 1.682 MB / 4.45 GB, free: 85.45 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009191/11.23, allocations: 1.74 MB / 4.452 GB, free: 85.34 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01909/11.25, allocations: 8.854 MB / 4.461 GB, free: 80.04 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002453/11.26, allocations: 3.124 MB / 4.464 GB, free: 78 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.009237/11.27, allocations: 2.736 MB / 4.466 GB, free: 76.3 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002746/11.27, allocations: 1.804 MB / 4.468 GB, free: 76.07 MB / 0.8698 GB Notification: Performance of SimCode: time 1.012e-06/11.27, allocations: 0 / 4.468 GB, free: 76.07 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1629/11.43, allocations: 115.1 MB / 4.581 GB, free: 5.969 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001839/11.43, allocations: 195.4 kB / 4.581 GB, free: 5.773 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.312/16.74, allocations: 0 / 4.581 GB, free: 5.773 MB / 0.9011 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)