Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.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.Validation.FlatPlate,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_Validation_FlatPlate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Validation.FlatPlate,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_Validation_FlatPlate",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.81/1.81, allocations: 288.2 MB / 303.2 MB, free: 8.129 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.00114/0.001139, allocations: 185 kB / 371.8 MB, free: 10.26 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.968/1.968, allocations: 205.4 MB / 0.6305 GB, free: 10.02 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009647/0.0009651, allocations: 97.56 kB / 0.7439 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004431/0.0004434, allocations: 15 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2528/0.2533, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.013/6.266, allocations: 2.358 GB / 3.338 GB, free: 331.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002755/6.266, allocations: 97.19 kB / 3.338 GB, free: 331.3 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 7.127/13.39, allocations: 2.101 GB / 5.439 GB, free: 28.71 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.437e-06/13.39, allocations: 0 / 5.439 GB, free: 28.71 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.002423/13.4, allocations: 307.6 kB / 5.439 GB, free: 28.41 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: 2330 * Number of variables: 2330 Notification: Performance of Generate backend data structure: time 0.04521/13.44, allocations: 11.69 MB / 5.451 GB, free: 16.61 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.624e-05/13.44, allocations: 8.031 kB / 5.451 GB, free: 16.61 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008066/13.45, allocations: 1.237 MB / 5.452 GB, free: 15.36 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01656/13.47, allocations: 2.045 MB / 5.454 GB, free: 13.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.6174/14.08, allocations: 14.79 MB / 5.468 GB, free: 118.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001072/14.08, allocations: 0.6461 MB / 5.469 GB, free: 118.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004382/14.09, allocations: 0.8661 MB / 5.47 GB, free: 118.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04288/14.13, allocations: 13.24 MB / 5.483 GB, free: 116.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000433/14.13, allocations: 32.92 kB / 5.483 GB, free: 116.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002606/14.14, allocations: 383 kB / 5.483 GB, free: 116.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005862/14.14, allocations: 456.5 kB / 5.484 GB, free: 116.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03316/14.17, allocations: 11.85 MB / 5.495 GB, free: 116.8 MB / 0.948 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.1092/14.28, allocations: 50.72 MB / 5.545 GB, free: 99.14 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01703/14.3, allocations: 8.233 MB / 5.553 GB, free: 98.92 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001984/14.3, allocations: 1.498 MB / 5.554 GB, free: 97.41 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01039/14.31, allocations: 4.219 MB / 5.558 GB, free: 97.24 MB / 0.948 GB Notification: Performance of pre-optimization done (n=553): time 9.578e-06/14.31, allocations: 0 / 5.558 GB, free: 97.24 MB / 0.948 GB Notification: Performance of matching and sorting (n=553): time 0.02739/14.34, allocations: 10.57 MB / 5.569 GB, free: 96.54 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001692/14.34, allocations: 343.9 kB / 5.569 GB, free: 96.19 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02026/14.36, allocations: 8.996 MB / 5.578 GB, free: 95.71 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.001875/14.36, allocations: 143.9 kB / 5.578 GB, free: 95.68 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.007071/14.36, allocations: 4.94 MB / 5.583 GB, free: 94.48 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.003602/14.37, allocations: 1.92 MB / 5.585 GB, free: 93.51 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001444/14.37, allocations: 135.3 kB / 5.585 GB, free: 93.51 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0007434/14.37, allocations: 0.5757 MB / 5.585 GB, free: 93.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007997/14.38, allocations: 3.572 MB / 5.589 GB, free: 93.18 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009255/14.39, allocations: 5.431 MB / 5.594 GB, free: 91.08 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009521/14.4, allocations: 4.571 MB / 5.599 GB, free: 90.98 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.675e-05/14.4, allocations: 14.38 kB / 5.599 GB, free: 90.98 MB / 0.948 GB Notification: Performance of matching and sorting (n=866) (initialization): time 0.02621/14.42, allocations: 10.12 MB / 5.608 GB, free: 90.34 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.005781/14.43, allocations: 28.51 MB / 5.636 GB, free: 60.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001447/14.43, allocations: 51.75 kB / 5.636 GB, free: 60.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001606/14.43, allocations: 96.41 kB / 5.636 GB, free: 60.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009855/14.44, allocations: 1.836 MB / 5.638 GB, free: 60.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002128/14.44, allocations: 129 kB / 5.638 GB, free: 60.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01286/14.45, allocations: 1.236 MB / 5.64 GB, free: 60.31 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002007/14.45, allocations: 337.7 kB / 5.64 GB, free: 60.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/14.45, allocations: 2.875 kB / 5.64 GB, free: 60.3 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02246/14.48, allocations: 9.34 MB / 5.649 GB, free: 59.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002174/14.48, allocations: 53.47 kB / 5.649 GB, free: 59.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001165/14.48, allocations: 95.41 kB / 5.649 GB, free: 59.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009268/14.49, allocations: 1.837 MB / 5.651 GB, free: 59.75 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001943/14.49, allocations: 122.8 kB / 5.651 GB, free: 59.75 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0115/14.5, allocations: 1.115 MB / 5.652 GB, free: 59.28 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001743/14.5, allocations: 334.2 kB / 5.652 GB, free: 59.23 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 243 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,$PRE.datRea.nextTimeEvent,$whenCondition3,$whenCondition2,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,datRea.nextTimeEvent,$PRE.datRea.nextTimeEventScaled,datRea.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (866): * Single equations (assignments): 866 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01007/14.51, allocations: 3.979 MB / 5.656 GB, free: 57.62 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00398/14.51, allocations: 0.8883 MB / 5.657 GB, free: 57.16 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02315/14.54, allocations: 8.705 MB / 5.666 GB, free: 53.99 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-05/14.54, allocations: 54.28 kB / 5.666 GB, free: 53.99 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.233e-05/14.54, allocations: 0 / 5.666 GB, free: 53.99 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01452/14.55, allocations: 6.825 MB / 5.672 GB, free: 51.58 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05446/14.61, allocations: 20.08 MB / 5.692 GB, free: 43.82 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.036e-05/14.61, allocations: 0 / 5.692 GB, free: 43.82 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007978/14.61, allocations: 1.32 MB / 5.693 GB, free: 43.78 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000114/14.62, allocations: 18.75 kB / 5.693 GB, free: 43.78 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001886/14.62, allocations: 177.7 kB / 5.694 GB, free: 43.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.408e-05/14.62, allocations: 18.09 kB / 5.694 GB, free: 43.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/14.62, allocations: 0 / 5.694 GB, free: 43.7 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03231/14.65, allocations: 12.84 MB / 5.706 GB, free: 38.58 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009737/14.66, allocations: 2.446 MB / 5.708 GB, free: 37.29 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004485/14.66, allocations: 125.7 kB / 5.709 GB, free: 37.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01138/14.68, allocations: 0.7061 MB / 5.709 GB, free: 37.08 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001638/14.68, allocations: 331.6 kB / 5.71 GB, free: 37.04 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002003/14.68, allocations: 288.4 kB / 5.71 GB, free: 36.99 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.01601/14.69, allocations: 7.063 MB / 5.717 GB, free: 34.58 MB / 0.948 GB Notification: Performance of sort global known variables: time 9.42e-07/14.69, allocations: 0 / 5.717 GB, free: 34.58 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.02785/14.72, allocations: 5.612 MB / 5.722 GB, free: 33.48 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 30 (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,solCol.vol[10].dynBal.U,solCol.vol[11].dynBal.U,solCol.vol[12].dynBal.U,solCol.vol[13].dynBal.U,solCol.vol[14].dynBal.U,solCol.vol[15].dynBal.U,solCol.vol[16].dynBal.U,solCol.vol[17].dynBal.U,solCol.vol[18].dynBal.U,solCol.vol[19].dynBal.U,solCol.vol[20].dynBal.U,solCol.vol[21].dynBal.U,solCol.vol[22].dynBal.U,solCol.vol[23].dynBal.U,solCol.vol[24].dynBal.U,solCol.vol[25].dynBal.U,solCol.vol[26].dynBal.U,solCol.vol[27].dynBal.U,solCol.vol[28].dynBal.U,solCol.vol[29].dynBal.U,solCol.vol[30].dynBal.U) * Number of discrete variables: 7 ($whenCondition3,$whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext,datRea.nextTimeEvent,datRea.nextTimeEventScaled) * Number of discrete states: 4 (datRea.nextTimeEvent,datRea.nextTimeEventScaled,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (573): * Single equations (assignments): 567 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03757/14.76, allocations: 14.88 MB / 5.737 GB, free: 27.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.03207/14.79, allocations: 13.2 MB / 5.75 GB, free: 23.48 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.327e-05/14.79, allocations: 9.656 kB / 5.75 GB, free: 23.47 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0093/14.8, allocations: 3.799 MB / 5.753 GB, free: 20.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03049/14.83, allocations: 5.573 MB / 5.759 GB, free: 16.43 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1104/14.94, allocations: 74.34 MB / 5.831 GB, free: 9.699 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0153/14.96, allocations: 7.112 MB / 5.838 GB, free: 4.453 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.02829/14.99, allocations: 6.094 MB / 5.844 GB, free: 272 kB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.5588/15.55, allocations: 5.339 MB / 5.85 GB, free: 165.5 MB / 1.01 GB Notification: Performance of SimCode: time 2.314e-06/15.55, allocations: 1.188 kB / 5.85 GB, free: 165.5 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3977/15.94, allocations: 278.1 MB / 6.121 GB, free: 72.2 MB / 1.01 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002127/15.94, allocations: 236.2 kB / 6.121 GB, free: 71.96 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.82/26.76, allocations: 0 / 6.121 GB, free: 71.96 MB / 1.01 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_Validation_FlatPlate_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_Validation_FlatPlate.fmu > Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.pipe 2>&1)