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.521/1.521, allocations: 249.3 MB / 261.8 MB, free: 5.836 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.001505/0.001505, allocations: 178.6 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.602/1.602, allocations: 205.2 MB / 0.572 GB, free: 10.62 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.0008465/0.0008463, allocations: 86.48 kB / 0.6764 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.251e-05/4.253e-05, allocations: 4 kB / 0.788 GB, free: 97 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2172/0.2172, allocations: 106.3 MB / 0.8919 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.116/6.334, allocations: 2.476 GB / 3.368 GB, free: 249.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000294/6.334, allocations: 87.95 kB / 3.368 GB, free: 249.8 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 17.47/23.81, allocations: 4.062 GB / 7.43 GB, free: 100.4 MB / 0.948 GB Notification: Performance of FrontEnd: time 4.399e-06/23.81, allocations: 2.781 kB / 7.43 GB, free: 100.4 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.006612/23.81, allocations: 0.5572 MB / 7.431 GB, free: 100.3 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: 4497 * Number of variables: 4497 Notification: Performance of Generate backend data structure: time 0.07465/23.89, allocations: 18.13 MB / 7.449 GB, free: 93.9 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.652e-05/23.89, allocations: 7.531 kB / 7.449 GB, free: 93.9 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01421/23.9, allocations: 2.329 MB / 7.451 GB, free: 93.75 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03048/23.93, allocations: 3.893 MB / 7.455 GB, free: 92.45 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08532/24.02, allocations: 28.75 MB / 7.483 GB, free: 90 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001823/24.02, allocations: 1.239 MB / 7.484 GB, free: 89.96 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009931/24.03, allocations: 1.674 MB / 7.486 GB, free: 89.94 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07978/24.11, allocations: 24.48 MB / 7.509 GB, free: 87.23 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001245/24.11, allocations: 67.5 kB / 7.509 GB, free: 87.22 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009107/24.12, allocations: 0.7139 MB / 7.51 GB, free: 87.22 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001093/24.12, allocations: 0.8799 MB / 7.511 GB, free: 87.18 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05591/24.18, allocations: 21.06 MB / 7.532 GB, free: 87.02 MB / 0.948 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.1963/24.37, allocations: 98.78 MB / 7.628 GB, free: 49.27 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0259/24.4, allocations: 15.07 MB / 7.643 GB, free: 42.93 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01389/24.41, allocations: 7.916 MB / 7.651 GB, free: 39.92 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003017/24.42, allocations: 2.03 MB / 7.652 GB, free: 37.89 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01646/24.43, allocations: 7.289 MB / 7.66 GB, free: 35.34 MB / 0.948 GB Notification: Performance of pre-optimization done (n=1035): time 1.437e-05/24.43, allocations: 0 / 7.66 GB, free: 35.34 MB / 0.948 GB Notification: Performance of matching and sorting (n=1035): time 0.03624/24.47, allocations: 13.28 MB / 7.673 GB, free: 28.42 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002657/24.47, allocations: 420.4 kB / 7.673 GB, free: 27.94 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.049/24.52, allocations: 17.22 MB / 7.69 GB, free: 13.07 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.004313/24.52, allocations: 225.7 kB / 7.69 GB, free: 12.84 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.01901/24.54, allocations: 9.772 MB / 7.7 GB, free: 3.98 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.008439/24.55, allocations: 3.626 MB / 7.703 GB, free: 0.7031 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003264/24.55, allocations: 256 kB / 7.703 GB, free: 464 kB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.001922/24.56, allocations: 0.8331 MB / 7.704 GB, free: 15.76 MB / 0.9637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01438/24.57, allocations: 6.335 MB / 7.71 GB, free: 10.18 MB / 0.9637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.7652/25.34, allocations: 9.96 MB / 7.72 GB, free: 116 MB / 0.9637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02151/25.36, allocations: 8.329 MB / 7.728 GB, free: 115.8 MB / 0.9637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002101/25.36, allocations: 31.5 kB / 7.728 GB, free: 115.8 MB / 0.9637 GB Notification: Performance of matching and sorting (n=1657) (initialization): time 0.05764/25.42, allocations: 18.37 MB / 7.746 GB, free: 115.5 MB / 0.9637 GB Notification: Performance of prepare postOptimizeDAE: time 0.0292/25.44, allocations: 72.18 MB / 7.817 GB, free: 73.35 MB / 0.9949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005454/25.45, allocations: 106.8 kB / 7.817 GB, free: 73.35 MB / 0.9949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007703/25.45, allocations: 191.5 kB / 7.817 GB, free: 73.35 MB / 0.9949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02123/25.47, allocations: 3.534 MB / 7.82 GB, free: 73.35 MB / 0.9949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007289/25.47, allocations: 242.9 kB / 7.821 GB, free: 73.35 MB / 0.9949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02902/25.5, allocations: 2.399 MB / 7.823 GB, free: 73.35 MB / 0.9949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004784/25.5, allocations: 0.628 MB / 7.824 GB, free: 73.35 MB / 0.9949 GB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/25.5, allocations: 2.438 kB / 7.824 GB, free: 73.35 MB / 0.9949 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04837/25.55, allocations: 16.93 MB / 7.84 GB, free: 73.08 MB / 0.9949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006019/25.55, allocations: 112 kB / 7.84 GB, free: 73.08 MB / 0.9949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005346/25.55, allocations: 188.1 kB / 7.84 GB, free: 73.08 MB / 0.9949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01876/25.57, allocations: 3.531 MB / 7.844 GB, free: 73.08 MB / 0.9949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005123/25.57, allocations: 241.2 kB / 7.844 GB, free: 73.08 MB / 0.9949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02524/25.6, allocations: 2.146 MB / 7.846 GB, free: 72.82 MB / 0.9949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004557/25.6, allocations: 0.6275 MB / 7.847 GB, free: 72.82 MB / 0.9949 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.008818/25.61, allocations: 0.8853 MB / 7.848 GB, free: 72.51 MB / 0.9949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009316/25.62, allocations: 1.67 MB / 7.849 GB, free: 71.65 MB / 0.9949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04956/25.67, allocations: 15.35 MB / 7.864 GB, free: 71.08 MB / 0.9949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000131/25.67, allocations: 100.3 kB / 7.864 GB, free: 71.08 MB / 0.9949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.057e-05/25.67, allocations: 5.281 kB / 7.864 GB, free: 71.08 MB / 0.9949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03141/25.7, allocations: 11.86 MB / 7.876 GB, free: 70.73 MB / 0.9949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1073/25.81, allocations: 37.12 MB / 7.912 GB, free: 68.73 MB / 0.9949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.469e-05/25.81, allocations: 3.875 kB / 7.912 GB, free: 68.73 MB / 0.9949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0149/25.82, allocations: 2.494 MB / 7.915 GB, free: 68.63 MB / 0.9949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001767/25.82, allocations: 37.19 kB / 7.915 GB, free: 68.63 MB / 0.9949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003141/25.83, allocations: 335.5 kB / 7.915 GB, free: 68.63 MB / 0.9949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001218/25.83, allocations: 33.62 kB / 7.915 GB, free: 68.63 MB / 0.9949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/25.83, allocations: 3.875 kB / 7.915 GB, free: 68.63 MB / 0.9949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05179/25.88, allocations: 22.82 MB / 7.937 GB, free: 66.42 MB / 0.9949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01774/25.9, allocations: 4.487 MB / 7.942 GB, free: 65.46 MB / 0.9949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.009585/25.91, allocations: 226.6 kB / 7.942 GB, free: 65.46 MB / 0.9949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02321/25.93, allocations: 1.335 MB / 7.943 GB, free: 65.41 MB / 0.9949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003039/25.93, allocations: 0.5855 MB / 7.944 GB, free: 65.4 MB / 0.9949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003525/25.94, allocations: 497.9 kB / 7.944 GB, free: 65.39 MB / 0.9949 GB Notification: Performance of sorting global known variables: time 0.03207/25.97, allocations: 13.5 MB / 7.957 GB, free: 64.89 MB / 0.9949 GB Notification: Performance of sort global known variables: time 3.71e-07/25.97, allocations: 1.75 kB / 7.957 GB, free: 64.89 MB / 0.9949 GB Notification: Performance of remove unused functions: time 0.05025/26.02, allocations: 10.71 MB / 7.968 GB, free: 63.49 MB / 0.9949 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.06055/26.08, allocations: 25.2 MB / 7.993 GB, free: 71.99 MB / 1.011 GB Notification: Performance of simCode: created initialization part: time 0.04908/26.13, allocations: 24.28 MB / 8.016 GB, free: 62.39 MB / 1.011 GB Notification: Performance of simCode: created event and clocks part: time 2.318e-05/26.13, allocations: 16.2 kB / 8.016 GB, free: 62.37 MB / 1.011 GB Notification: Performance of simCode: created simulation system equations: time 0.0143/26.14, allocations: 6.625 MB / 8.023 GB, free: 56.42 MB / 1.011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05735/26.2, allocations: 10.89 MB / 8.033 GB, free: 49.08 MB / 1.011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.143/26.34, allocations: 45.25 MB / 8.078 GB, free: 10.26 MB / 1.011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03363/26.38, allocations: 13.25 MB / 8.09 GB, free: 0.6367 MB / 1.011 GB Notification: Performance of simCode: alias equations: time 0.8527/27.23, allocations: 19.07 MB / 8.109 GB, free: 141.6 MB / 1.011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02694/27.26, allocations: 8.884 MB / 8.118 GB, free: 141.6 MB / 1.011 GB Notification: Performance of SimCode: time 1.573e-06/27.26, allocations: 0 / 8.118 GB, free: 141.6 MB / 1.011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.654/28.91, allocations: 0.5461 GB / 8.664 GB, free: 141.2 MB / 1.042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001944/28.91, allocations: 224.7 kB / 8.664 GB, free: 141 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 33.21/62.12, allocations: 3.656 kB / 8.664 GB, free: 141 MB / 1.042 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)