Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels,fileNamePrefix="Buildings_8_Buildings_Fluid_SolarCollectors_Validation_EN12975NPanels",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels,fileNamePrefix="Buildings_8_Buildings_Fluid_SolarCollectors_Validation_EN12975NPanels",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.643/1.643, allocations: 289.9 MB / 297.4 MB, free: 6.367 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.001228/0.001228, allocations: 172.8 kB / 366.7 MB, free: 1.66 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.846/1.846, allocations: 205.2 MB / 0.626 GB, free: 7.176 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.001009/0.001009, allocations: 86.11 kB / 0.74 GB, free: 39.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.11e-05/2.112e-05, allocations: 4 kB / 0.8598 GB, free: 12.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7926/0.7926, allocations: 116.3 MB / 0.9733 GB, free: 76.1 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.193/6.985, allocations: 2.356 GB / 3.33 GB, free: 133.7 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002875/6.986, allocations: 97.06 kB / 3.33 GB, free: 133.6 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 16.06/23.05, allocations: 4.135 GB / 7.465 GB, free: 47.79 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.494e-06/23.05, allocations: 0 / 7.465 GB, free: 47.79 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.004861/23.05, allocations: 0.5617 MB / 7.465 GB, free: 47.23 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4481 * Number of variables: 4481 Notification: Performance of Generate backend data structure: time 0.0709/23.12, allocations: 17.99 MB / 7.483 GB, free: 29.12 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 6.318e-05/23.12, allocations: 12.03 kB / 7.483 GB, free: 29.11 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02842/23.15, allocations: 3.696 MB / 7.486 GB, free: 25.38 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08593/23.24, allocations: 28.75 MB / 7.514 GB, free: 12.69 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001522/23.24, allocations: 0.5234 MB / 7.515 GB, free: 12.16 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01009/23.25, allocations: 0.9763 MB / 7.516 GB, free: 11.19 MB / 1.01 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.8424/24.09, allocations: 19.34 MB / 7.535 GB, free: 95.22 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0637/24.15, allocations: 22.31 MB / 7.557 GB, free: 92.68 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007645/24.15, allocations: 69.98 kB / 7.557 GB, free: 92.68 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005549/24.16, allocations: 36.09 kB / 7.557 GB, free: 92.68 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008106/24.16, allocations: 0.8758 MB / 7.558 GB, free: 92.64 MB / 1.01 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.174/24.34, allocations: 95.47 MB / 7.651 GB, free: 57.81 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02267/24.36, allocations: 14.53 MB / 7.665 GB, free: 57.23 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01224/24.37, allocations: 7.501 MB / 7.672 GB, free: 57.11 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002841/24.37, allocations: 2.023 MB / 7.674 GB, free: 55.14 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0159/24.39, allocations: 7.524 MB / 7.682 GB, free: 54.93 MB / 1.01 GB Notification: Performance of pre-optimization done (n=1020): time 1.825e-05/24.39, allocations: 1.719 kB / 7.682 GB, free: 54.93 MB / 1.01 GB Notification: Performance of matching and sorting (n=1020): time 0.1414/24.53, allocations: 21.98 MB / 7.703 GB, free: 53.93 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001586/24.53, allocations: 418.2 kB / 7.703 GB, free: 53.54 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02937/24.56, allocations: 14.78 MB / 7.718 GB, free: 52.77 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.00393/24.56, allocations: 41.22 kB / 7.718 GB, free: 52.73 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.01266/24.58, allocations: 9.602 MB / 7.727 GB, free: 49.71 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.006902/24.58, allocations: 3.438 MB / 7.731 GB, free: 47.46 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001839/24.59, allocations: 0 / 7.731 GB, free: 47.46 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.001156/24.59, allocations: 0.8317 MB / 7.731 GB, free: 47.13 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01353/24.6, allocations: 6.016 MB / 7.737 GB, free: 47.1 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0159/24.62, allocations: 9.562 MB / 7.747 GB, free: 43.04 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1278/24.74, allocations: 17.48 MB / 7.764 GB, free: 42.32 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001973/24.74, allocations: 36.69 kB / 7.764 GB, free: 42.32 MB / 1.01 GB Notification: Performance of matching and sorting (n=1636) (initialization): time 0.156/24.9, allocations: 26.34 MB / 7.79 GB, free: 35.72 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.02953/24.93, allocations: 67.9 MB / 7.856 GB, free: 44.19 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004214/24.93, allocations: 107.4 kB / 7.856 GB, free: 44.19 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002621/24.93, allocations: 187.4 kB / 7.856 GB, free: 44.19 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01817/24.95, allocations: 3.469 MB / 7.859 GB, free: 44.04 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002759/24.95, allocations: 244.2 kB / 7.86 GB, free: 44.04 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0232/24.97, allocations: 1.936 MB / 7.862 GB, free: 43.2 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003865/24.98, allocations: 0.6147 MB / 7.862 GB, free: 43.1 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/24.98, allocations: 7.656 kB / 7.862 GB, free: 43.1 MB / 1.089 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.159/25.14, allocations: 24.81 MB / 7.886 GB, free: 37.32 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003719/25.14, allocations: 104.2 kB / 7.887 GB, free: 37.32 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002532/25.14, allocations: 186.6 kB / 7.887 GB, free: 37.32 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02031/25.16, allocations: 3.469 MB / 7.89 GB, free: 37.01 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000301/25.16, allocations: 243.8 kB / 7.89 GB, free: 36.96 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02404/25.18, allocations: 1.687 MB / 7.892 GB, free: 36.3 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004629/25.19, allocations: 0.6168 MB / 7.893 GB, free: 36.2 MB / 1.089 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 483 * 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 (1636): * Single equations (assignments): 1636 * 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.006669/25.19, allocations: 461.7 kB / 7.893 GB, free: 35.8 MB / 1.089 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.1449/25.34, allocations: 21.98 MB / 7.915 GB, free: 24.82 MB / 1.089 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007947/25.34, allocations: 1.517 MB / 7.916 GB, free: 23.28 MB / 1.089 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1622/25.51, allocations: 23.75 MB / 7.939 GB, free: 5.27 MB / 1.089 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001083/25.51, allocations: 107.9 kB / 7.939 GB, free: 5.168 MB / 1.089 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.384e-05/25.51, allocations: 0 / 7.939 GB, free: 5.168 MB / 1.089 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.053/26.56, allocations: 23.16 MB / 7.962 GB, free: 165.6 MB / 1.089 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2314/26.79, allocations: 43.9 MB / 8.005 GB, free: 164.2 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.964e-05/26.79, allocations: 14.94 kB / 8.005 GB, free: 164.2 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0187/26.81, allocations: 2.458 MB / 8.007 GB, free: 164.2 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004258/26.81, allocations: 58.31 kB / 8.007 GB, free: 164.2 MB / 1.089 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004316/26.81, allocations: 223.6 kB / 8.007 GB, free: 164.2 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002349/26.82, allocations: 63.72 kB / 8.008 GB, free: 164.2 MB / 1.089 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.984e-05/26.82, allocations: 24.38 kB / 8.008 GB, free: 164.2 MB / 1.089 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.19/27.01, allocations: 36.73 MB / 8.043 GB, free: 156.5 MB / 1.089 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02291/27.03, allocations: 4.415 MB / 8.048 GB, free: 155.8 MB / 1.089 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01209/27.04, allocations: 77.39 kB / 8.048 GB, free: 155.8 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02559/27.07, allocations: 1.005 MB / 8.049 GB, free: 155.7 MB / 1.089 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004617/27.07, allocations: 0.6267 MB / 8.049 GB, free: 155.7 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.005715/27.08, allocations: 0.5481 MB / 8.05 GB, free: 155.7 MB / 1.089 GB Notification: Performance of sorting global known variables: time 0.03769/27.11, allocations: 11.35 MB / 8.061 GB, free: 155.3 MB / 1.089 GB Notification: Performance of sort global known variables: time 6.92e-07/27.11, allocations: 0.9688 kB / 8.061 GB, free: 155.3 MB / 1.089 GB Notification: Performance of remove unused functions: time 0.06728/27.18, allocations: 10.29 MB / 8.071 GB, free: 154.4 MB / 1.089 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 70 * Number of states: 60 (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,solCol1.vol[1].dynBal.U,solCol1.vol[2].dynBal.U,solCol1.vol[3].dynBal.U,solCol1.vol[4].dynBal.U,solCol1.vol[5].dynBal.U,solCol1.vol[6].dynBal.U,solCol1.vol[7].dynBal.U,solCol1.vol[8].dynBal.U,solCol1.vol[9].dynBal.U,solCol1.vol[10].dynBal.U,solCol1.vol[11].dynBal.U,solCol1.vol[12].dynBal.U,solCol1.vol[13].dynBal.U,solCol1.vol[14].dynBal.U,solCol1.vol[15].dynBal.U,solCol1.vol[16].dynBal.U,solCol1.vol[17].dynBal.U,solCol1.vol[18].dynBal.U,solCol1.vol[19].dynBal.U,solCol1.vol[20].dynBal.U,solCol1.vol[21].dynBal.U,solCol1.vol[22].dynBal.U,solCol1.vol[23].dynBal.U,solCol1.vol[24].dynBal.U,solCol1.vol[25].dynBal.U,solCol1.vol[26].dynBal.U,solCol1.vol[27].dynBal.U,solCol1.vol[28].dynBal.U,solCol1.vol[29].dynBal.U,solCol1.vol[30].dynBal.U) * 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 (1040): * Single equations (assignments): 1034 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * 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.1831/27.36, allocations: 39.45 MB / 8.11 GB, free: 144.8 MB / 1.089 GB Notification: Performance of simCode: created initialization part: time 0.05039/27.41, allocations: 22.71 MB / 8.132 GB, free: 144.5 MB / 1.089 GB Notification: Performance of simCode: created event and clocks part: time 5.128e-05/27.42, allocations: 20.52 kB / 8.132 GB, free: 144.5 MB / 1.089 GB Notification: Performance of simCode: created simulation system equations: time 0.01505/27.43, allocations: 6.255 MB / 8.138 GB, free: 144.5 MB / 1.089 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05671/27.49, allocations: 9.301 MB / 8.147 GB, free: 144.1 MB / 1.089 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1325/27.62, allocations: 43.97 MB / 8.19 GB, free: 134.6 MB / 1.089 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02831/27.65, allocations: 13.18 MB / 8.203 GB, free: 133.2 MB / 1.089 GB Notification: Performance of simCode: alias equations: time 0.07347/27.72, allocations: 16.26 MB / 8.219 GB, free: 128.5 MB / 1.089 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.03699/27.76, allocations: 8.693 MB / 8.227 GB, free: 127.6 MB / 1.089 GB Notification: Performance of SimCode: time 1.783e-06/27.76, allocations: 0 / 8.227 GB, free: 127.6 MB / 1.089 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.254/30.01, allocations: 483.2 MB / 8.699 GB, free: 14.48 MB / 1.104 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001917/30.01, allocations: 181.5 kB / 8.699 GB, free: 14.29 MB / 1.104 GB Notification: Performance of buildModelFMU: Generate platform static: time 29.07/59.08, allocations: 0 / 8.699 GB, free: 14.29 MB / 1.104 GB (rm -f Buildings_8_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.pipe ; mkfifo Buildings_8_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.pipe >> ../files/Buildings_8_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_SolarCollectors_Validation_EN12975NPanels_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_SolarCollectors_Validation_EN12975NPanels.fmu > Buildings_8_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.pipe 2>&1)