Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Validation.FlatPlate,fileNamePrefix="Buildings_9_Buildings_Fluid_SolarCollectors_Validation_FlatPlate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Validation.FlatPlate,fileNamePrefix="Buildings_9_Buildings_Fluid_SolarCollectors_Validation_FlatPlate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.192/2.192, allocations: 387.1 MB / 399.7 MB, free: 9.508 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 188.1 kB / 492.3 MB, free: 0.6133 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.495/1.495, allocations: 221.3 MB / 0.7871 GB, free: 12.88 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008964/0.0008964, allocations: 95.83 kB / 0.9267 GB, free: 13.95 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.2e-05/3.202e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2469/0.2469, allocations: 142.4 MB / 1.212 GB, free: 38.39 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.292/5.539, allocations: 2.201 GB / 3.413 GB, free: 75.23 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002232/5.54, allocations: 91.55 kB / 3.413 GB, free: 75.18 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 8.492/14.03, allocations: 2.14 GB / 5.553 GB, free: 122.6 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.393e-06/14.03, allocations: 0 / 5.553 GB, free: 122.6 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.002368/14.03, allocations: 327.6 kB / 5.554 GB, free: 122.3 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2347 * Number of variables: 2347 Notification: Performance of Generate backend data structure: time 0.03651/14.07, allocations: 9.692 MB / 5.563 GB, free: 112.5 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 6.412e-05/14.07, allocations: 8.031 kB / 5.563 GB, free: 112.5 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008785/14.08, allocations: 1.233 MB / 5.564 GB, free: 111.2 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01524/14.09, allocations: 2.084 MB / 5.566 GB, free: 109.2 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04241/14.14, allocations: 15.2 MB / 5.581 GB, free: 93.87 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008846/14.14, allocations: 0.6501 MB / 5.582 GB, free: 93.22 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004728/14.14, allocations: 0.8748 MB / 5.583 GB, free: 92.34 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03911/14.18, allocations: 12.82 MB / 5.595 GB, free: 79.07 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000666/14.18, allocations: 35.62 kB / 5.595 GB, free: 79.03 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004418/14.19, allocations: 388 kB / 5.596 GB, free: 78.65 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004709/14.19, allocations: 465.1 kB / 5.596 GB, free: 78.2 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02644/14.21, allocations: 11.07 MB / 5.607 GB, free: 67.11 MB / 1.151 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.08817/14.3, allocations: 50.93 MB / 5.657 GB, free: 14.39 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01081/14.31, allocations: 7.647 MB / 5.664 GB, free: 6.766 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005569/14.32, allocations: 4.081 MB / 5.668 GB, free: 2.664 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001652/14.32, allocations: 1.505 MB / 5.67 GB, free: 0.8594 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007614/14.33, allocations: 3.935 MB / 5.673 GB, free: 12.86 MB / 1.167 GB Notification: Performance of pre-optimization done (n=554): time 8.206e-06/14.33, allocations: 0 / 5.673 GB, free: 12.86 MB / 1.167 GB Notification: Performance of matching and sorting (n=554): time 0.01533/14.34, allocations: 7.002 MB / 5.68 GB, free: 5.754 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001916/14.34, allocations: 347 kB / 5.681 GB, free: 5.344 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.897/15.24, allocations: 9.102 MB / 5.69 GB, free: 211.9 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.002318/15.24, allocations: 143.1 kB / 5.69 GB, free: 211.8 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.008828/15.25, allocations: 5.025 MB / 5.695 GB, free: 211.3 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.004222/15.26, allocations: 1.929 MB / 5.696 GB, free: 210.3 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006948/15.26, allocations: 134.5 kB / 5.697 GB, free: 210.3 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0006468/15.26, allocations: 0.5786 MB / 5.697 GB, free: 210 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006327/15.26, allocations: 3.269 MB / 5.7 GB, free: 210 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007994/15.27, allocations: 5.139 MB / 5.705 GB, free: 207.9 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00851/15.28, allocations: 4.289 MB / 5.71 GB, free: 207.8 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.437e-05/15.28, allocations: 16.19 kB / 5.71 GB, free: 207.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=867) (initialization): time 0.02386/15.3, allocations: 9.532 MB / 5.719 GB, free: 207.1 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.007004/15.31, allocations: 28.83 MB / 5.747 GB, free: 177.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001734/15.31, allocations: 53.38 kB / 5.747 GB, free: 177.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000231/15.31, allocations: 96.56 kB / 5.747 GB, free: 177.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01025/15.32, allocations: 1.844 MB / 5.749 GB, free: 177.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002214/15.32, allocations: 127.3 kB / 5.749 GB, free: 177.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01414/15.34, allocations: 1.244 MB / 5.75 GB, free: 177.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002562/15.34, allocations: 335.4 kB / 5.751 GB, free: 177.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.264e-05/15.34, allocations: 6.312 kB / 5.751 GB, free: 177.2 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02402/15.36, allocations: 8.75 MB / 5.759 GB, free: 177.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002425/15.36, allocations: 52.66 kB / 5.759 GB, free: 177.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001643/15.36, allocations: 95.38 kB / 5.759 GB, free: 177.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009681/15.37, allocations: 1.843 MB / 5.761 GB, free: 177.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003482/15.37, allocations: 122.3 kB / 5.761 GB, free: 177.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01399/15.39, allocations: 1.126 MB / 5.762 GB, free: 176.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002588/15.39, allocations: 335.8 kB / 5.763 GB, free: 176.8 MB / 1.167 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (867): * Single equations (assignments): 867 * 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.005154/15.39, allocations: 0.5214 MB / 5.763 GB, free: 176.6 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005303/15.4, allocations: 0.8943 MB / 5.764 GB, free: 176.2 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02475/15.43, allocations: 8.181 MB / 5.772 GB, free: 175.8 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.064e-05/15.43, allocations: 55.38 kB / 5.772 GB, free: 175.8 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.29e-05/15.43, allocations: 3.375 kB / 5.772 GB, free: 175.8 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01354/15.44, allocations: 6.263 MB / 5.778 GB, free: 175.5 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05102/15.49, allocations: 19.6 MB / 5.797 GB, free: 174.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.807e-05/15.49, allocations: 3.781 kB / 5.797 GB, free: 174.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007259/15.5, allocations: 1.324 MB / 5.799 GB, free: 174.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001085/15.5, allocations: 26.08 kB / 5.799 GB, free: 174.3 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001432/15.5, allocations: 181.2 kB / 5.799 GB, free: 174.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.709e-05/15.5, allocations: 22.69 kB / 5.799 GB, free: 174.3 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/15.5, allocations: 0 / 5.799 GB, free: 174.3 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02062/15.52, allocations: 12.02 MB / 5.811 GB, free: 173.2 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008198/15.53, allocations: 2.46 MB / 5.813 GB, free: 172.5 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003839/15.53, allocations: 126.7 kB / 5.813 GB, free: 172.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01319/15.54, allocations: 0.7156 MB / 5.814 GB, free: 172.5 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001716/15.55, allocations: 335 kB / 5.814 GB, free: 172.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001847/15.55, allocations: 288.8 kB / 5.814 GB, free: 172.5 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.01477/15.56, allocations: 7.13 MB / 5.821 GB, free: 172.2 MB / 1.167 GB Notification: Performance of sort global known variables: time 7.62e-07/15.56, allocations: 0 / 5.821 GB, free: 172.2 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.02435/15.59, allocations: 5.651 MB / 5.827 GB, free: 171.4 MB / 1.167 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (575): * Single equations (assignments): 569 * 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.02715/15.61, allocations: 14.04 MB / 5.841 GB, free: 169.7 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0265/15.64, allocations: 12.63 MB / 5.853 GB, free: 169.4 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 2.297e-05/15.64, allocations: 10.97 kB / 5.853 GB, free: 169.4 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.008238/15.65, allocations: 3.515 MB / 5.856 GB, free: 169.4 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0309/15.68, allocations: 5.594 MB / 5.862 GB, free: 168.9 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05592/15.74, allocations: 23.39 MB / 5.885 GB, free: 161.3 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008191/15.74, allocations: 7.198 MB / 5.892 GB, free: 159.1 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.03522/15.78, allocations: 9.631 MB / 5.901 GB, free: 157.5 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009114/15.79, allocations: 4.452 MB / 5.905 GB, free: 154 MB / 1.167 GB Notification: Performance of SimCode: time 1.172e-06/15.79, allocations: 0 / 5.905 GB, free: 154 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.153/16.94, allocations: 295.7 MB / 6.194 GB, free: 198.7 MB / 1.182 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001525/16.94, allocations: 206 kB / 6.194 GB, free: 198.4 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.95/27.89, allocations: 2.531 kB / 6.194 GB, free: 198.4 MB / 1.182 GB (rm -f Buildings_9_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.pipe ; mkfifo Buildings_9_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.pipe >> ../files/Buildings_9_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.SolarCollectors.Validation.FlatPlate_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_SolarCollectors_Validation_FlatPlate_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_SolarCollectors_Validation_FlatPlate.fmu > Buildings_9_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.pipe 2>&1)