Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.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.Validation.FlatPlateNPanels,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_Validation_FlatPlateNPanels",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_Validation_FlatPlateNPanels",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.425/1.425, allocations: 249.5 MB / 257 MB, free: 7.035 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.001074/0.001073, allocations: 172.9 kB / 316.3 MB, free: 3.281 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.776/1.776, allocations: 205.3 MB / 0.5671 GB, free: 15.86 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.0009175/0.0009177, allocations: 88.23 kB / 0.6714 GB, free: 4.98 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.992e-05/1.995e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2306/0.2306, allocations: 106.3 MB / 0.8853 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.413/6.643, allocations: 2.476 GB / 3.362 GB, free: 211.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002867/6.644, allocations: 89.86 kB / 3.362 GB, free: 211.3 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 15.39/22.04, allocations: 4.042 GB / 7.404 GB, free: 96.88 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.452e-06/22.04, allocations: 0 / 7.404 GB, free: 96.88 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.004125/22.04, allocations: 0.566 MB / 7.405 GB, free: 96.79 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4497 * Number of variables: 4497 Notification: Performance of Generate backend data structure: time 0.06045/22.1, allocations: 18.13 MB / 7.422 GB, free: 90.13 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/22.1, allocations: 13.5 kB / 7.422 GB, free: 90.12 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02703/22.13, allocations: 3.899 MB / 7.426 GB, free: 88.83 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07525/22.2, allocations: 28.73 MB / 7.454 GB, free: 86.38 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009929/22.2, allocations: 0.5311 MB / 7.455 GB, free: 86.38 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00783/22.21, allocations: 0.9817 MB / 7.456 GB, free: 86.36 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04819/22.26, allocations: 19.56 MB / 7.475 GB, free: 86.29 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07062/22.33, allocations: 22.06 MB / 7.496 GB, free: 83.64 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001087/22.33, allocations: 73.95 kB / 7.496 GB, free: 83.63 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007008/22.34, allocations: 29.19 kB / 7.496 GB, free: 83.63 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007841/22.34, allocations: 0.8889 MB / 7.497 GB, free: 83.59 MB / 0.9323 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.1577/22.5, allocations: 95.37 MB / 7.59 GB, free: 41.18 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02211/22.52, allocations: 14.56 MB / 7.605 GB, free: 34.94 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01209/22.53, allocations: 7.587 MB / 7.612 GB, free: 28.44 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002646/22.53, allocations: 2.029 MB / 7.614 GB, free: 26.18 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01401/22.55, allocations: 6.954 MB / 7.621 GB, free: 20.69 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=1035): time 1.532e-05/22.55, allocations: 0 / 7.621 GB, free: 20.69 MB / 0.9323 GB Notification: Performance of matching and sorting (n=1035): time 0.1341/22.68, allocations: 22.1 MB / 7.642 GB, free: 3.293 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001555/22.68, allocations: 428 kB / 7.643 GB, free: 2.801 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04982/22.73, allocations: 16.04 MB / 7.658 GB, free: 9.203 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.003024/22.73, allocations: 41.53 kB / 7.659 GB, free: 9.16 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.01378/22.75, allocations: 9.567 MB / 7.668 GB, free: 0.4922 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.61/23.36, allocations: 3.482 MB / 7.671 GB, free: 120 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002414/23.36, allocations: 1 kB / 7.671 GB, free: 120 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.00133/23.36, allocations: 0.835 MB / 7.672 GB, free: 119.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01336/23.38, allocations: 6.077 MB / 7.678 GB, free: 119.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01638/23.39, allocations: 9.629 MB / 7.687 GB, free: 115.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3161/23.71, allocations: 31.91 MB / 7.719 GB, free: 115.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002019/23.71, allocations: 27.97 kB / 7.719 GB, free: 115.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=1657) (initialization): time 0.3279/24.04, allocations: 40.87 MB / 7.759 GB, free: 112.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.01637/24.05, allocations: 68.19 MB / 7.825 GB, free: 58.03 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000428/24.05, allocations: 110.9 kB / 7.825 GB, free: 58.02 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002548/24.05, allocations: 187.2 kB / 7.825 GB, free: 58.02 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01808/24.07, allocations: 3.531 MB / 7.829 GB, free: 57.98 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003721/24.07, allocations: 245.1 kB / 7.829 GB, free: 57.98 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02414/24.1, allocations: 1.972 MB / 7.831 GB, free: 57.47 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003843/24.1, allocations: 0.629 MB / 7.832 GB, free: 57.47 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/24.1, allocations: 3.125 kB / 7.832 GB, free: 57.47 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.3137/24.41, allocations: 39.32 MB / 7.87 GB, free: 55.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003065/24.41, allocations: 112.3 kB / 7.87 GB, free: 55.49 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001965/24.41, allocations: 190.5 kB / 7.87 GB, free: 55.49 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0168/24.43, allocations: 3.531 MB / 7.874 GB, free: 55.45 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002961/24.43, allocations: 244.6 kB / 7.874 GB, free: 55.45 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02253/24.45, allocations: 1.719 MB / 7.876 GB, free: 55.04 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00418/24.46, allocations: 0.6247 MB / 7.876 GB, free: 55.04 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 484 * 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 (1657): * Single equations (assignments): 1657 * 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.006514/24.46, allocations: 476.5 kB / 7.877 GB, free: 54.88 MB / 0.9636 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.1308/24.6, allocations: 22.09 MB / 7.898 GB, free: 53.2 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007609/24.6, allocations: 1.517 MB / 7.9 GB, free: 52.41 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1389/24.74, allocations: 23.89 MB / 7.923 GB, free: 51.2 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.579e-05/24.74, allocations: 101.4 kB / 7.923 GB, free: 51.2 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.98e-05/24.74, allocations: 0.5625 kB / 7.923 GB, free: 51.2 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1278/24.87, allocations: 20.82 MB / 7.944 GB, free: 47.18 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1877/25.06, allocations: 43.81 MB / 7.986 GB, free: 41.9 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.741e-05/25.06, allocations: 0 / 7.986 GB, free: 41.9 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01393/25.07, allocations: 2.496 MB / 7.989 GB, free: 39.99 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002079/25.07, allocations: 36 kB / 7.989 GB, free: 39.96 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003262/25.08, allocations: 218.7 kB / 7.989 GB, free: 39.87 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001049/25.08, allocations: 35.62 kB / 7.989 GB, free: 39.84 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.584e-06/25.08, allocations: 4 kB / 7.989 GB, free: 39.84 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.145/25.22, allocations: 31.4 MB / 8.02 GB, free: 20.95 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0144/25.24, allocations: 4.32 MB / 8.024 GB, free: 17.43 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007814/25.24, allocations: 55.11 kB / 8.024 GB, free: 17.38 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01902/25.26, allocations: 1.17 MB / 8.025 GB, free: 16.61 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002763/25.27, allocations: 0.5831 MB / 8.026 GB, free: 16.23 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002829/25.27, allocations: 495.1 kB / 8.026 GB, free: 15.88 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.02705/25.29, allocations: 11.37 MB / 8.037 GB, free: 6.191 MB / 0.9792 GB Notification: Performance of sort global known variables: time 6.71e-07/25.3, allocations: 0 / 8.037 GB, free: 6.191 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.698/25.99, allocations: 10.31 MB / 8.047 GB, free: 142.9 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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: 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 (1059): * Single equations (assignments): 1051 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.1698/26.16, allocations: 33.59 MB / 8.08 GB, free: 141 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.04142/26.2, allocations: 23.13 MB / 8.103 GB, free: 140.7 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.534e-05/26.2, allocations: 10.86 kB / 8.103 GB, free: 140.7 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.01311/26.22, allocations: 6.413 MB / 8.109 GB, free: 140.7 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04905/26.27, allocations: 9.279 MB / 8.118 GB, free: 140.4 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1095/26.38, allocations: 43.82 MB / 8.161 GB, free: 132.8 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02446/26.4, allocations: 13.22 MB / 8.174 GB, free: 131.4 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.06817/26.47, allocations: 15.85 MB / 8.189 GB, free: 128.5 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01961/26.49, allocations: 8.794 MB / 8.198 GB, free: 128.5 MB / 0.9792 GB Notification: Performance of SimCode: time 1.232e-06/26.49, allocations: 2.188 kB / 8.198 GB, free: 128.5 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.845/28.33, allocations: 483.1 MB / 8.67 GB, free: 64.2 MB / 0.9949 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000158/28.33, allocations: 204.7 kB / 8.67 GB, free: 63.93 MB / 0.9949 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.03/53.37, allocations: 4.031 kB / 8.67 GB, free: 63.92 MB / 0.9949 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_Validation_FlatPlateNPanels_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_Validation_FlatPlateNPanels.fmu > Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.pipe 2>&1)